Remove parts of the item schemas that aren't necessary
This commit is contained in:
parent
5b9e808ea9
commit
507c9b0341
5 changed files with 2 additions and 63 deletions
|
|
@ -4,7 +4,7 @@ import { gameTerms } from "../../gameTerms.mjs";
|
|||
const { fields } = foundry.data;
|
||||
|
||||
export class CommonItemData extends foundry.abstract.TypeDataModel {
|
||||
// MARK: Schema
|
||||
// #region Schema
|
||||
static defineSchema() {
|
||||
return {
|
||||
quantity: requiredInteger({ min: 0, initial: 1 }),
|
||||
|
|
@ -21,14 +21,5 @@ export class CommonItemData extends foundry.abstract.TypeDataModel {
|
|||
}),
|
||||
};
|
||||
};
|
||||
|
||||
// MARK: Base Data
|
||||
prepareBaseData() {
|
||||
super.prepareBaseData();
|
||||
};
|
||||
|
||||
// MARK: Derived Data
|
||||
prepareDerivedData() {
|
||||
super.prepareDerivedData();
|
||||
};
|
||||
// #endregion Schema
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue