From d5680bb2091611d1fb58f598eba88a5c290eb167 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 12 Apr 2025 13:54:07 -0600 Subject: [PATCH] Complete the Geist sheet and data --- module/hooks/init.mjs | 10 ++++++++-- templates/Apps/StatsCardV1/content.hbs | 27 ++++++++++++++++++-------- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/module/hooks/init.mjs b/module/hooks/init.mjs index ee8a9eb..645a5be 100644 --- a/module/hooks/init.mjs +++ b/module/hooks/init.mjs @@ -90,13 +90,19 @@ Hooks.once(`init`, () => { label: `RipCrypt.sheet-names.StatsCardV1`, themes: StatsCardV1.themes, }); + Actors.registerSheet(game.system.id, StatsCardV1, { + makeDefault: true, + types: [`geist`], + label: `RipCrypt.sheet-names.StatsCardV1`, + themes: StatsCardV1.themes, + }); Actors.registerSheet(game.system.id, SkillsCardV1, { - types: [`hero`], + types: [`hero`, `geist`], label: `RipCrypt.sheet-names.SkillsCardV1`, themes: SkillsCardV1.themes, }); Actors.registerSheet(game.system.id, CraftCardV1, { - types: [`hero`], + types: [`hero`, `geist`], label: `RipCrypt.sheet-names.CraftCardV1`, themes: CraftCardV1.themes, }); diff --git a/templates/Apps/StatsCardV1/content.hbs b/templates/Apps/StatsCardV1/content.hbs index 8c563ef..7f6e92c 100644 --- a/templates/Apps/StatsCardV1/content.hbs +++ b/templates/Apps/StatsCardV1/content.hbs @@ -23,14 +23,25 @@ {{ rc-i18n "RipCrypt.common.armour" }}
- + {{#if (eq actor.type "hero")}} + + {{else}} + + {{/if}} {{#each armours as | slot |}}