20 lines
374 B
JavaScript
20 lines
374 B
JavaScript
|
import { MournbladeUtility } from "./mournblade-utility.js";
|
||
|
|
||
|
export const defaultItemImg = {
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Extend the basic ItemSheet with some very simple modifications
|
||
|
* @extends {ItemSheet}
|
||
|
*/
|
||
|
export class MournbladeItem extends Item {
|
||
|
|
||
|
constructor(data, context) {
|
||
|
if (!data.img) {
|
||
|
data.img = defaultItemImg[data.type];
|
||
|
}
|
||
|
super(data, context);
|
||
|
}
|
||
|
|
||
|
}
|