mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Added support for reload rules
This commit is contained in:
parent
70388dbd73
commit
3817469e35
11 changed files with 99 additions and 3 deletions
|
|
@ -1,5 +1,17 @@
|
|||
<div class="chat-roll">
|
||||
<div class="roll-part-title"><span>{{title}}</span></div>
|
||||
{{#if (and needReload (eq automationSettings.reload 'auto'))}}
|
||||
<p class="roll-reload-container">{{localize "DAGGERHEART.ACTIONS.Reload.reloadRequired"}}</p>
|
||||
{{/if}}
|
||||
{{#if (eq automationSettings.reload 'button')}}
|
||||
<div class="roll-reload-container">
|
||||
{{#if needReload}}
|
||||
<p class=>{{localize "DAGGERHEART.ACTIONS.Reload.reloadRequired"}}</p>
|
||||
{{/if}}
|
||||
<button class="roll-reload-check" {{#if needReload}}disabled{{/if}}>{{localize "DAGGERHEART.ACTIONS.Reload.checkReload"}}</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if actionDescription}}{{> 'systems/daggerheart/templates/ui/chat/parts/description-part.hbs'}}{{/if}}
|
||||
{{#if hasRoll}}
|
||||
<div class="roll-part-header"><span>{{localize "Result"}}</span></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue