Initial release for FoundryVTT
This commit is contained in:
11
modules/models/trait.mjs
Normal file
11
modules/models/trait.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import BaseItemDataModel from "./base-item.mjs";
|
||||
|
||||
export default class TraitDataModel extends BaseItemDataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
...super.defineSchema(),
|
||||
etiquette: new fields.StringField({ initial: "" })
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user