mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
- Move all DataModel item files to a new 'items' subfolder for better organization
- Add _module.mjs file to simplify imports - Update all import paths - Rename class for use the new acronym DH
This commit is contained in:
parent
e57db2fdc8
commit
d6eef9da47
13 changed files with 79 additions and 49 deletions
|
|
@ -1,10 +0,0 @@
|
|||
export default class DhpConsumable extends foundry.abstract.TypeDataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
description: new fields.HTMLField({}),
|
||||
quantity: new fields.NumberField({ initial: 1, integer: true }),
|
||||
consumeOnUse: new fields.BooleanField({ initial: false })
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue