17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
/**
|
|
* Extend the basic Item with some very simple modifications.
|
|
* @extends {Item}
|
|
*/
|
|
export class DS4Item extends Item {
|
|
/**
|
|
* Augment the basic Item data model with additional dynamic data.
|
|
*/
|
|
prepareData() {
|
|
super.prepareData();
|
|
|
|
// Get the Item's data
|
|
const itemData = this.data;
|
|
const actorData = this.actor ? this.actor.data : {};
|
|
const data = itemData.data;
|
|
}
|
|
}
|