initial import

This commit is contained in:
Nicolas Delaforge
2021-07-08 10:12:12 +02:00
parent 689b01c11e
commit 9f907c9417
74 changed files with 2908 additions and 0 deletions

18
module/item/item.js Normal file
View File

@ -0,0 +1,18 @@
/**
* Extend the basic Item with some very simple modifications.
* @extends {Item}
*/
export class BoLItem extends Item {
/**
* Augment the basic Item data model with additional dynamic data.
*/
prepareData() {
super.prepareData();
console.debug("Item prepareData");
// Get the Item's data
const itemData = this.data;
console.log(itemData);
const actorData = this.actor ? this.actor.data : {};
const data = itemData.data;
}
}