From e284529a451dc13228fb63b892235782be0df887 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sun, 4 Feb 2024 20:04:26 -0700 Subject: [PATCH] Update location of sheets to keep them more organized --- module/dotdungeon.mjs | 10 ++++++---- module/sheets/{ => Items}/AspectSheet.mjs | 0 module/sheets/{ => Items}/GenericItemSheet.mjs | 2 +- module/sheets/{ => Items}/PetSheet.mjs | 0 module/sheets/{ => Items}/SpellSheet.mjs | 0 5 files changed, 7 insertions(+), 5 deletions(-) rename module/sheets/{ => Items}/AspectSheet.mjs (100%) rename module/sheets/{ => Items}/GenericItemSheet.mjs (95%) rename module/sheets/{ => Items}/PetSheet.mjs (100%) rename module/sheets/{ => Items}/SpellSheet.mjs (100%) diff --git a/module/dotdungeon.mjs b/module/dotdungeon.mjs index 4784205..b184528 100644 --- a/module/dotdungeon.mjs +++ b/module/dotdungeon.mjs @@ -10,13 +10,15 @@ import { MobData } from "./models/Actor/Mob.mjs"; import { ActorHandler } from "./documents/Actor/Handler.mjs"; import { ItemHandler } from "./documents/Item/Handler.mjs"; -// Character Sheets -import { SpellSheet } from "./sheets/SpellSheet.mjs"; -import { AspectSheet } from "./sheets/AspectSheet.mjs"; +// Item Sheets +import { SpellSheet } from "./sheets/Items/SpellSheet.mjs"; +import { AspectSheet } from "./sheets/Items/AspectSheet.mjs"; +import { PetSheet } from "./sheets/Items/PetSheet.mjs"; + +// Actor Sheets import { PlayerSheet } from "./sheets/PlayerSheet.mjs"; import { BasicSyncSheet } from "./sheets/SyncVariations/BasicSyncSheet.mjs"; import { MobSheet } from "./sheets/MobSheet.mjs"; -import { PetSheet } from "./sheets/PetSheet.mjs"; // Utility imports import * as hbs from "./handlebars.mjs"; diff --git a/module/sheets/AspectSheet.mjs b/module/sheets/Items/AspectSheet.mjs similarity index 100% rename from module/sheets/AspectSheet.mjs rename to module/sheets/Items/AspectSheet.mjs diff --git a/module/sheets/GenericItemSheet.mjs b/module/sheets/Items/GenericItemSheet.mjs similarity index 95% rename from module/sheets/GenericItemSheet.mjs rename to module/sheets/Items/GenericItemSheet.mjs index 098cc5b..4023748 100644 --- a/module/sheets/GenericItemSheet.mjs +++ b/module/sheets/Items/GenericItemSheet.mjs @@ -1,4 +1,4 @@ -import DOTDUNGEON from "../config.mjs"; +import DOTDUNGEON from "../../config.mjs"; export class GenericItemSheet extends ItemSheet { _expanded = new Set(); diff --git a/module/sheets/PetSheet.mjs b/module/sheets/Items/PetSheet.mjs similarity index 100% rename from module/sheets/PetSheet.mjs rename to module/sheets/Items/PetSheet.mjs diff --git a/module/sheets/SpellSheet.mjs b/module/sheets/Items/SpellSheet.mjs similarity index 100% rename from module/sheets/SpellSheet.mjs rename to module/sheets/Items/SpellSheet.mjs