fvtt-mournblade/modules/mournblade-item.js
2022-02-23 22:31:53 +01:00

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);
}
}