mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 00:13:39 +02:00
Remove from comment
This commit is contained in:
parent
626fb458b8
commit
dc3390711f
1 changed files with 0 additions and 5 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
* @property {string} label - A localizable label used on application.
|
* @property {string} label - A localizable label used on application.
|
||||||
* @property {string} type - The system type that this data model represents.
|
* @property {string} type - The system type that this data model represents.
|
||||||
* @property {boolean} hasDescription - Indicates whether items of this type have description field
|
* @property {boolean} hasDescription - Indicates whether items of this type have description field
|
||||||
* @property {boolean} isQuantifiable - Indicates whether items of this type have quantity field
|
|
||||||
* @property {boolean} isInventoryItem- Indicates whether items of this type is a Inventory Item
|
* @property {boolean} isInventoryItem- Indicates whether items of this type is a Inventory Item
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -24,7 +23,6 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
||||||
type: 'base',
|
type: 'base',
|
||||||
hasDescription: false,
|
hasDescription: false,
|
||||||
hasResource: false,
|
hasResource: false,
|
||||||
isQuantifiable: false,
|
|
||||||
isInventoryItem: false,
|
isInventoryItem: false,
|
||||||
hasActions: false,
|
hasActions: false,
|
||||||
hasAttribution: true
|
hasAttribution: true
|
||||||
|
|
@ -83,9 +81,6 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.metadata.isQuantifiable)
|
|
||||||
schema.quantity = new fields.NumberField({ integer: true, initial: 1, min: 0, required: true });
|
|
||||||
|
|
||||||
if (this.metadata.hasActions) schema.actions = new ActionsField();
|
if (this.metadata.hasActions) schema.actions = new ActionsField();
|
||||||
|
|
||||||
return schema;
|
return schema;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue