Add HUD actions

This commit is contained in:
2022-03-21 23:21:05 +01:00
parent fff6b2a733
commit a5ba6d5215
9 changed files with 357 additions and 196 deletions

View File

@ -0,0 +1,10 @@
<div class="control-icon bol-action ">
<img class="bol-hud-togglebutton" src="icons/svg/sword.svg" width="36" height="36" title="Action" />
<div class="bol-hud-list tokenhudext right">
{{#each actionsList as |action key|}}
<div class="control-icon tokenhudicon bol-hud-menu" data-action-index="{{key}}" title="{{action.name}}">
<label>{{action.name}}</label>
</div>
{{/each}}
</div>
</div>

View File

@ -0,0 +1,10 @@
<div class="control-icon bol-roll ">
<img class="bol-hud-togglebutton" src="icons/svg/dice-target.svg" width="36" height="36" title="Jets" />
<div class="bol-hud-list tokenhudext left">
{{#each rollsList as |roll key|}}
<div class="control-icon tokenhudicon bol-hud-menu" data-roll-index="{{key}}" title="{{localize roll.name}}">
<label>{{ localize roll.name}}</label>
</div>
{{/each}}
</div>
</div>