Begin working on Aspect items
This commit is contained in:
parent
58facf1490
commit
25e3fa1bb8
14 changed files with 204 additions and 80 deletions
14
module/models/CommonItemData.mjs
Normal file
14
module/models/CommonItemData.mjs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
export class CommonItemData extends foundry.abstract.DataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
name: fields.HTMLField({
|
||||
blank: true,
|
||||
trim: true,
|
||||
}),
|
||||
cost: fields.NumberField({
|
||||
nullable: true,
|
||||
})
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue