Rename existing PC sheet to make it more obvious it's the MVP

This commit is contained in:
Oliver-Akins 2024-02-25 19:53:41 -07:00
parent b123bea62c
commit d74416c620
2 changed files with 4 additions and 3 deletions

View file

@ -19,7 +19,8 @@ import { PetSheet } from "./sheets/Items/PetSheet.mjs";
// Actor Sheets // Actor Sheets
import { BasicSyncSheet } from "./sheets/SyncVariations/BasicSyncSheet.mjs"; import { BasicSyncSheet } from "./sheets/SyncVariations/BasicSyncSheet.mjs";
import { PlayerSheet } from "./sheets/PlayerSheet.mjs"; import { PlayerSheet } from "./sheets/MVPPCSheet.mjs";
import { MVPPCSheet } from "./sheets/MVPPCSheet.mjs";
import { MobSheet } from "./sheets/MobSheet.mjs"; import { MobSheet } from "./sheets/MobSheet.mjs";
// Utility imports // Utility imports
@ -51,7 +52,7 @@ Hooks.once(`init`, async () => {
CONFIG.DOTDUNGEON = DOTDUNGEON; CONFIG.DOTDUNGEON = DOTDUNGEON;
Actors.registerSheet("dotdungeon", PlayerSheet, { Actors.registerSheet("dotdungeon", MVPPCSheet, {
makeDefault: true, makeDefault: true,
types: ["player"], types: ["player"],
label: "dotdungeon.sheet-names.PlayerSheet" label: "dotdungeon.sheet-names.PlayerSheet"

View file

@ -1,7 +1,7 @@
import { ActorHandler } from "../documents/Actor/Handler.mjs"; import { ActorHandler } from "../documents/Actor/Handler.mjs";
import { GenericActorSheet } from "./GenericActorSheet.mjs"; import { GenericActorSheet } from "./GenericActorSheet.mjs";
export class PlayerSheet extends GenericActorSheet { export class MVPPCSheet extends GenericActorSheet {
/** @override {ActorHandler} actor */ /** @override {ActorHandler} actor */