import MGNEActorSheet from "./base-actor-sheet.mjs" import { SYSTEM } from "../../config/system.mjs" export default class MGNECreatureSheet extends MGNEActorSheet { static DEFAULT_OPTIONS = { classes: ["creature"], position: { width: 760, height: 640, }, } static PARTS = { main: { template: "systems/fvtt-machine-gods-noxian-expanse/templates/creature-main.hbs" }, } async _prepareContext() { const context = await super._prepareContext() context.abilityList = SYSTEM.abilityOrder.map(id => ({ id, ...SYSTEM.abilities[id], value: context.source.system.abilities?.[id]?.value ?? 0, })) return context } }