mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41: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
12
module/data/items/ancestry.mjs
Normal file
12
module/data/items/ancestry.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import featuresSchema from '../interface/featuresSchema.mjs';
|
||||
|
||||
export default class DHAncestry extends foundry.abstract.TypeDataModel {
|
||||
/** @inheritDoc */
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
description: new fields.HTMLField({}),
|
||||
abilities: featuresSchema()
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue