mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
* Adding the ability to target downtime actions. * No longer using an arbitrary 100 healing. Changing the action's parent
37 lines
No EOL
1.8 KiB
Handlebars
37 lines
No EOL
1.8 KiB
Handlebars
<div class="daggerheart chat downtime">
|
|
<ul class="downtime-moves-list">
|
|
{{#each moves as | move index |}}
|
|
<details class="downtime-move">
|
|
<summary class="downtime-label">
|
|
<img class="downtime-image" src="{{move.img}}" />
|
|
<div class="header-label">
|
|
<h2 class="title">{{move.name}}</h2>
|
|
<span class="label">{{localize 'DAGGERHEART.GENERAL.Bonuses.rest.downtimeAction'}}</span>
|
|
</div>
|
|
<i class="fa-solid fa-chevron-down"></i>
|
|
</summary>
|
|
<div class="description">
|
|
{{{move.description}}}
|
|
</div>
|
|
</details>
|
|
{{#each move.actions as | action index |}}
|
|
<div class="action-use-button-parent">
|
|
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}" data-move-path="{{../movePath}}" >
|
|
<span>{{localize action.name}}</span>
|
|
</button>
|
|
{{#if move.needsTarget}}
|
|
<div class="action-use-target">
|
|
<label>{{localize "DAGGERHEART.GENERAL.Bonuses.rest.target"}}:</label>
|
|
<select>
|
|
<option value="{{../../selfId}}">{{localize "DAGGERHEART.GENERAL.Bonuses.rest.targetSelf"}}</option>
|
|
{{#each ../../characters as | character |}}
|
|
<option value="{{character.uuid}}">{{character.name}}</option>
|
|
{{/each}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
{{/each}}
|
|
{{/each}}
|
|
</ul>
|
|
</div> |