- 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:
Joaquin Pereyra 2025-05-30 16:56:00 -03:00
parent e57db2fdc8
commit d6eef9da47
13 changed files with 79 additions and 49 deletions

View 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()
};
}
}