mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 23:49:02 +01:00
Feature(Item) now has subtype instead of primary as a field
This commit is contained in:
parent
e9967a27ca
commit
e2ca4506cd
5 changed files with 28 additions and 10 deletions
|
|
@ -17,10 +17,10 @@ export default class DHFeature extends BaseDataItem {
|
|||
return {
|
||||
...super.defineSchema(),
|
||||
type: new fields.StringField({ choices: CONFIG.DH.ITEM.featureTypes, nullable: true, initial: null }),
|
||||
subType: new fields.StringField({ choices: CONFIG.DH.ITEM.featureSubTypes, nullable: true, initial: null }),
|
||||
originId: new fields.StringField({ nullable: true, initial: null }),
|
||||
identifier: new fields.StringField(),
|
||||
actions: new fields.ArrayField(new ActionField()),
|
||||
primary: new fields.BooleanField({ nullable: true, initial: null })
|
||||
actions: new fields.ArrayField(new ActionField())
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue