a new begining
This commit is contained in:
1 parent
9568be0211
commit
24c81dbcf8
38 files changed
+1313
-424
No files matched your search
@@ -0,0 +1,17 @@
|
||||
function defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
description: new fields.HTMLField({ initial: "" }),
|
||||
quantity: new fields.NumberField({
|
||||
required: true,
|
||||
nullable: false,
|
||||
integer: true,
|
||||
initial: 1,
|
||||
min: 0
|
||||
})
|
||||
};
|
||||
}
|
||||
|
||||
export class ItemData extends foundry.abstract.TypeDataModel {
|
||||
static defineSchema = defineSchema;
|
||||
}
|
||||
Reference in new issue
Block a user