Add an item property for if the item is combat relevant
This commit is contained in:
parent
19666a4e05
commit
3d8d041915
1 changed files with 8 additions and 0 deletions
|
|
@ -33,6 +33,14 @@ export class CommonItemData extends foundry.abstract.TypeDataModel {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
choices: DOTDUNGEON.itemTiers,
|
choices: DOTDUNGEON.itemTiers,
|
||||||
}),
|
}),
|
||||||
|
/*
|
||||||
|
If this property is set to true, the item will be shown in the combat tab
|
||||||
|
list of items. This is shown whether or not the item is marked as "equipped".
|
||||||
|
*/
|
||||||
|
combat_relevant: new fields.BooleanField({
|
||||||
|
initial: false,
|
||||||
|
nullable: false,
|
||||||
|
}),
|
||||||
location: new fields.StringField({
|
location: new fields.StringField({
|
||||||
initial: null,
|
initial: null,
|
||||||
nullable: true,
|
nullable: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue