21 lines
No EOL
440 B
JavaScript
21 lines
No EOL
440 B
JavaScript
import { GenericItemSheet } from "./GenericItemSheet.mjs";
|
|
|
|
export class CustomItemSheet extends GenericItemSheet {
|
|
static get defaultOptions() {
|
|
let opts = mergeObject(
|
|
super.defaultOptions,
|
|
{
|
|
template: `systems/dotdungeon/templates/items/custom.hbs`,
|
|
width: 280,
|
|
height: 340,
|
|
}
|
|
);
|
|
opts.classes.push(`dotdungeon`);
|
|
return opts;
|
|
};
|
|
|
|
async getData() {
|
|
const ctx = await super.getData();
|
|
return ctx;
|
|
};
|
|
}; |