Complete the Geist sheet and data

This commit is contained in:
Oliver-Akins 2025-04-12 13:54:07 -06:00
parent 647f1a9aac
commit d5680bb209
2 changed files with 27 additions and 10 deletions

View file

@ -90,13 +90,19 @@ Hooks.once(`init`, () => {
label: `RipCrypt.sheet-names.StatsCardV1`, label: `RipCrypt.sheet-names.StatsCardV1`,
themes: StatsCardV1.themes, 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, { Actors.registerSheet(game.system.id, SkillsCardV1, {
types: [`hero`], types: [`hero`, `geist`],
label: `RipCrypt.sheet-names.SkillsCardV1`, label: `RipCrypt.sheet-names.SkillsCardV1`,
themes: SkillsCardV1.themes, themes: SkillsCardV1.themes,
}); });
Actors.registerSheet(game.system.id, CraftCardV1, { Actors.registerSheet(game.system.id, CraftCardV1, {
types: [`hero`], types: [`hero`, `geist`],
label: `RipCrypt.sheet-names.CraftCardV1`, label: `RipCrypt.sheet-names.CraftCardV1`,
themes: CraftCardV1.themes, themes: CraftCardV1.themes,
}); });

View file

@ -23,6 +23,7 @@
{{ rc-i18n "RipCrypt.common.armour" }} {{ rc-i18n "RipCrypt.common.armour" }}
</div> </div>
<div class="person"> <div class="person">
{{#if (eq actor.type "hero")}}
<rc-svg <rc-svg
var:fill="var(--section-header-background)" var:fill="var(--section-header-background)"
var:stroke="var(--base-background)" var:stroke="var(--base-background)"
@ -31,6 +32,16 @@
class="silhouette" class="silhouette"
name="hero-silhouette" name="hero-silhouette"
></rc-svg> ></rc-svg>
{{else}}
<rc-svg
var:fill="var(--section-header-background)"
var:stroke="var(--base-background)"
var:stroke-width="2"
var:stroke-linejoin="rounded"
class="silhouette"
name="geist-silhouette.v2"
></rc-svg>
{{/if}}
{{#each armours as | slot |}} {{#each armours as | slot |}}
<div class="{{@key}}"> <div class="{{@key}}">
<div class="compass small"> <div class="compass small">