fvtt-mournblade/modules/mournblade-item.js

20 lines
374 B
JavaScript
Raw Normal View History

2022-02-23 22:31:53 +01:00
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);
}
}