Add edit/viewability to the item rarity (closes #152)

This commit is contained in:
Oliver-Akins 2024-03-31 15:19:19 -06:00
parent de672642d2
commit ad2da03f1e
6 changed files with 49 additions and 5 deletions

View file

@ -31,7 +31,7 @@ export class CommonItemData extends foundry.abstract.TypeDataModel {
tier: new fields.StringField({
initial: DOTDUNGEON.defaultItemTier,
nullable: false,
choices: DOTDUNGEON.itemTiers,
choices: DOTDUNGEON.itemTiers.map(tier => tier.value),
}),
/*
If this property is set to true, the item will be shown in the combat tab