From d74416c620a92d1632721fb6e257d592bd3408dc Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sun, 25 Feb 2024 19:53:41 -0700 Subject: [PATCH] Rename existing PC sheet to make it more obvious it's the MVP --- module/dotdungeon.mjs | 5 +++-- module/sheets/{PlayerSheet.mjs => MVPPCSheet.mjs} | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename module/sheets/{PlayerSheet.mjs => MVPPCSheet.mjs} (94%) diff --git a/module/dotdungeon.mjs b/module/dotdungeon.mjs index d29492f..75d7ae6 100644 --- a/module/dotdungeon.mjs +++ b/module/dotdungeon.mjs @@ -19,7 +19,8 @@ import { PetSheet } from "./sheets/Items/PetSheet.mjs"; // Actor Sheets 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"; // Utility imports @@ -51,7 +52,7 @@ Hooks.once(`init`, async () => { CONFIG.DOTDUNGEON = DOTDUNGEON; - Actors.registerSheet("dotdungeon", PlayerSheet, { + Actors.registerSheet("dotdungeon", MVPPCSheet, { makeDefault: true, types: ["player"], label: "dotdungeon.sheet-names.PlayerSheet" diff --git a/module/sheets/PlayerSheet.mjs b/module/sheets/MVPPCSheet.mjs similarity index 94% rename from module/sheets/PlayerSheet.mjs rename to module/sheets/MVPPCSheet.mjs index 3cc65ca..7c48f1c 100644 --- a/module/sheets/PlayerSheet.mjs +++ b/module/sheets/MVPPCSheet.mjs @@ -1,7 +1,7 @@ import { ActorHandler } from "../documents/Actor/Handler.mjs"; import { GenericActorSheet } from "./GenericActorSheet.mjs"; -export class PlayerSheet extends GenericActorSheet { +export class MVPPCSheet extends GenericActorSheet { /** @override {ActorHandler} actor */