some renaming
This commit is contained in:
@@ -3,12 +3,12 @@ import { ItemSheetL5r5e } from "./item-sheet.js";
|
||||
/**
|
||||
* @extends {ItemSheet}
|
||||
*/
|
||||
export class FeatSheetL5r5e extends ItemSheetL5r5e {
|
||||
export class TechniqueSheetL5r5e extends ItemSheetL5r5e {
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
return mergeObject(super.defaultOptions, {
|
||||
classes: ["l5r5e", "sheet", "feat"],
|
||||
template: CONFIG.L5r5e.paths.templates + "item/feat-sheet.html",
|
||||
classes: ["l5r5e", "sheet", "technique"],
|
||||
template: CONFIG.L5r5e.paths.templates + "item/technique-sheet.html",
|
||||
width: 520,
|
||||
height: 480,
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }],
|
||||
@@ -20,8 +20,8 @@ export class FeatSheetL5r5e extends ItemSheetL5r5e {
|
||||
const sheetData = super.getData();
|
||||
sheetData.data.dtypes = ["String", "Number", "Boolean"];
|
||||
|
||||
sheetData.data.isFeat = true;
|
||||
sheetData.data.isEquipment = false;
|
||||
sheetData.data.isTechnique = true;
|
||||
// sheetData.data.isEquipment = false;
|
||||
|
||||
return sheetData;
|
||||
}
|
||||
Reference in New Issue
Block a user