Files
DeltaGreen/module/sheets/vehicle-sheet.js
T
jalensailin 1a1f66c6d3 set up vehicle sheet:
notes tab, only showing HP, no vehicle-sheet.html
2025-07-23 19:14:06 -04:00

29 lines
741 B
JavaScript

import DGActorSheet from "./base-actor-sheet.js";
/** @extends {DGSheetMixin(ActorSheetV2)} */
export default class DGVehicleSheet extends DGActorSheet {
/** @override */
static TABS = /** @type {const} */ ({
primary: {
initial: "gear",
labelPrefix: "DG.Navigation.Vehicle",
tabs: [
{ id: "notes" },
{ id: "gear" },
{ id: "about", icon: "fas fa-question-circle", label: "" },
],
},
});
/** @override */
static PARTS = /** @type {const} */ ({
header: this.BASE_PARTS.header,
tabs: this.BASE_PARTS.tabs,
notes: {
template: `${this.TEMPLATE_PATH}/partials/notes-partial.html`,
},
gear: this.BASE_PARTS.gear,
about: this.BASE_PARTS.about,
});
}