RC-80 | Setup Item Sheet
This commit is contained in:
parent
21ca3e067b
commit
94c89f72e1
6 changed files with 73 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// Applications
|
||||
import { AllItemSheetV1 } from "../Apps/ItemSheets/AllItemSheetV1.mjs";
|
||||
import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs";
|
||||
import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs";
|
||||
|
||||
|
|
@ -34,6 +35,12 @@ Hooks.once(`init`, () => {
|
|||
// #endregion
|
||||
|
||||
// #region Sheets
|
||||
// Unregister core sheets
|
||||
/* eslint-disable no-undef */
|
||||
Items.unregisterSheet(`core`, ItemSheet);
|
||||
Actors.unregisterSheet(`core`, ActorSheet);
|
||||
/* eslint-enabled no-undef */
|
||||
|
||||
// #region Actors
|
||||
Actors.registerSheet(game.system.id, HeroSummaryCardV1, {
|
||||
makeDefault: true,
|
||||
|
|
@ -47,6 +54,14 @@ Hooks.once(`init`, () => {
|
|||
themes: HeroSkillsCardV1.themes,
|
||||
});
|
||||
// #endregion
|
||||
|
||||
// #region Items
|
||||
Items.registerSheet(game.system.id, AllItemSheetV1, {
|
||||
makeDefault: true,
|
||||
label: `RipCrypt.sheet-names.AllItemsSheetV1`,
|
||||
themes: AllItemSheetV1.themes,
|
||||
});
|
||||
// #endregion
|
||||
// #endregion
|
||||
|
||||
// #region Token Attrs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue