Created Starship size as "class"

This will be used to automatically upgrade Tier and Dice.  Need to build in logic still
This commit is contained in:
supervj 2021-05-02 00:53:46 -04:00
parent 6ecf1e7b96
commit d0eae64241
4 changed files with 144 additions and 3 deletions

View file

@ -136,7 +136,7 @@ Hooks.once("init", function() {
});
Items.unregisterSheet("core", ItemSheet);
Items.registerSheet("sw5e", ItemSheet5e, {
types: ['weapon', 'equipment', 'consumable', 'tool', 'loot', 'class', 'power', 'feat', 'species', 'backpack', 'archetype', 'classfeature', 'background', 'fightingmastery', 'fightingstyle', 'lightsaberform', 'deployment', 'deploymentfeature', 'starshipfeature', 'starshipmod', 'venture'],
types: ['weapon', 'equipment', 'consumable', 'tool', 'loot', 'class', 'power', 'feat', 'species', 'backpack', 'archetype', 'classfeature', 'background', 'fightingmastery', 'fightingstyle', 'lightsaberform', 'deployment', 'deploymentfeature', 'starship', 'starshipfeature', 'starshipmod', 'venture'],
makeDefault: true,
label: "SW5E.SheetClassItem"
});