Update the ArmourSheets to allow for the equipped toggle to be present and work

This commit is contained in:
Oliver-Akins 2025-07-23 23:52:07 -06:00
parent b72c9d9739
commit 3c582c77bb
4 changed files with 45 additions and 6 deletions

View file

@ -12,7 +12,17 @@
<select name="system.weight" id="">
{{ rc-options system.weight weights localize=true }}
</select>
{{!-- TODO: Add equipped boolean control --}}
{{#if meta.embedded}}
<label for="{{meta.idp}}-equipped">
Equipped?
</label>
<input
type="checkbox"
id="{{meta.idp}}-equipped"
name="system.equipped"
{{ checked system.equipped }}
>
{{/if}}
<rc-border
var:border-color="var(--accent-1)"
>

View file

@ -57,6 +57,10 @@
border-radius: 4px;
padding: 2px 4px;
}
input[type="checkbox"] {
justify-self: end;
padding: 0;
}
.value {
border: 2px solid var(--accent-2);
}