bol/module/item/item.js
Nicolas Delaforge 9f907c9417 initial import
2021-07-08 10:14:44 +02:00

19 lines
469 B
JavaScript

/**
* 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;
}
}