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,14 +23,25 @@
{{ rc-i18n "RipCrypt.common.armour" }} {{ rc-i18n "RipCrypt.common.armour" }}
</div> </div>
<div class="person"> <div class="person">
<rc-svg {{#if (eq actor.type "hero")}}
var:fill="var(--section-header-background)" <rc-svg
var:stroke="var(--base-background)" var:fill="var(--section-header-background)"
var:stroke-width="2" var:stroke="var(--base-background)"
var:stroke-linejoin="rounded" var:stroke-width="2"
class="silhouette" var:stroke-linejoin="rounded"
name="hero-silhouette" class="silhouette"
></rc-svg> name="hero-silhouette"
></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">