Files
slazero2/templates/item/modifiers-partial.hbs
T
tevansandClaude Fable 5 1bcd6e9689 SLA Zero Two v2.0.0 — fork of Zero Engine v1.7.6 as standalone slazero2 system
Full identifier rename (id, paths, flags, packs), KickStart drugs moved into
drugs.json source, legacy Blade Runner files removed, fresh history.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 14:50:07 +01:00

44 lines
1.8 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="item-modifiers-list">
{{#each system.modifiers as | modifier |}}
<select name="system.modifiers.{{@key}}.name">
{{#select modifier.name}}
<optgroup label="{{localize "FLBR.Attributes"}}">
{{#each @root.config.attributes}}
<option value="attribute.{{.}}">{{localize (concat "FLBR.ATTRIBUTE." (toUpperCase .))}}</option>
{{/each}}
</optgroup>
<optgroup label="{{localize "FLBR.Skills"}}">
{{#each @root.config.skills}}
<option value="skill.{{.}}">{{localize (concat "FLBR.SKILL." (capitalize .))}}</option>
{{/each}}
</optgroup>
<optgroup label="{{localize "FLBR.Capacities"}}">
{{#each @root.config.capacitiesMap as | v cap |}}
<option value="capacity.{{cap}}">{{localize (concat "FLBR.HEADER." (capitalize cap))}}</option>
{{/each}}
</optgroup>
<optgroup label="{{localize "FLBR.COMBAT.Combat"}}">
<option value="combat.drawSize">{{localize "FLBR.COMBAT.DrawSize"}}</option>
</optgroup>
{{/select}}
</select>
<select name="system.modifiers.{{@key}}.value" value="{{modifier.value}}">
{{#select modifier.value}}
<option value="0">{{localize "FLBR.NO_VALUE"}}</option>
{{#if (or (eq modifier.name "capacity.health") (eq modifier.name "capacity.resolve") (eq modifier.name "combat.drawSize"))}}
<option value="+1">+1</option>
<option value="-1">−1</option>
{{else}}
<option value="+1">{{localize "FLBR.Advantage"}}</option>
<option value="-1">{{localize "FLBR.Disadvantage"}}</option>
{{/if}}
{{/select}}
</select>
<a class="button delete-modifier" data-modifier-id="{{@key}}" data-tooltip="{{localize 'FLBR.ItemDeleteModifier'}}">
{{{@root.config.Icons.buttons.delete}}}
</a>
{{else}}
<div class="item-modifier empty">{{localize "FLBR.ItemNoModifier"}}</div>
{{/each}}
</div>