Nombreuses corrections sur les fiches settlement/NPC

This commit is contained in:
2026-03-22 21:35:47 +01:00
parent ec291e9c60
commit b46c6d804c
51 changed files with 2892 additions and 227 deletions

View File

@@ -0,0 +1,49 @@
<div class="oh-roll-dialog oh-weapon-dialog">
<div class="weapon-header">
<img src="{{itemImg}}" class="weapon-img-sm" alt="{{itemName}}" />
<div class="weapon-header-info">
<span class="weapon-name-lg">{{itemName}}</span>
<div class="weapon-badges">
{{#if dv}}<span class="roll-color-badge color-badge-white">DV {{dv}}</span>{{/if}}
</div>
</div>
</div>
<fieldset class="attack-options-block">
<legend>{{localize "OATHHAMMER.Dialog.Options"}}</legend>
<div class="roll-option-row">
<label>{{localize "OATHHAMMER.Dialog.DicePool"}}</label>
<select name="dicePool">
{{#each poolOptions}}<option value="{{value}}"{{#if selected}} selected{{/if}}>{{label}}</option>{{/each}}
</select>
</div>
<div class="roll-option-row">
<label>{{localize "OATHHAMMER.Dialog.Modifier"}}</label>
<select name="bonus">
{{#each bonusOptions}}<option value="{{value}}"{{#if selected}} selected{{/if}}>{{label}}</option>{{/each}}
</select>
</div>
{{#if showColor}}
<div class="roll-option-row">
<label>{{localize "OATHHAMMER.Dialog.DiceColor"}}</label>
<select name="colorOverride">
<option value="">— {{localize "OATHHAMMER.Dialog.Default"}} (white) —</option>
{{selectOptions colorChoices selected=""}}
</select>
</div>
{{/if}}
</fieldset>
<fieldset class="roll-visibility-block">
<legend>{{localize "OATHHAMMER.Dialog.Visibility"}}</legend>
<select name="visibility">
{{selectOptions rollModes selected=visibility localize=true}}
</select>
</fieldset>
</div>