Move the Aspect data model into it's appropriate location
This commit is contained in:
parent
cb888bebad
commit
21327ba60f
2 changed files with 2 additions and 2 deletions
11
module/models/Item/Aspect.mjs
Normal file
11
module/models/Item/Aspect.mjs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export class AspectItemData extends foundry.abstract.TypeDataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
used: new fields.BooleanField({ initial: false }),
|
||||
/** The number of seconds that the effect of the aspect stays */
|
||||
deactivateAfter: new fields.NumberField({ nullable: true }),
|
||||
info: new fields.HTMLField({ nullable: true, blank: false, trim: true }),
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue