mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Merge branch 'main' into feature/death-moves
This commit is contained in:
commit
702de3d42a
32 changed files with 310 additions and 116 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<section
|
||||
class="tab {{tabs.domains.cssClass}} {{tabs.domains.id}}"
|
||||
class="tab {{tabs.domains.cssClass}} {{tabs.domains.id}} scrollable"
|
||||
data-tab="{{tabs.domains.id}}"
|
||||
data-group="{{tabs.domains.group}}"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<section
|
||||
class="tab {{tabs.downtime.cssClass}} {{tabs.downtime.id}}"
|
||||
class="tab {{tabs.downtime.cssClass}} {{tabs.downtime.id}} scrollable"
|
||||
data-tab="{{tabs.downtime.id}}"
|
||||
data-group="{{tabs.downtime.group}}"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<section
|
||||
class="tab {{tabs.itemFeatures.cssClass}} {{tabs.itemFeatures.id}}"
|
||||
class="tab {{tabs.itemFeatures.cssClass}} {{tabs.itemFeatures.id}} scrollable"
|
||||
data-tab="{{tabs.itemFeatures.id}}"
|
||||
data-group="{{tabs.itemFeatures.group}}"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<section
|
||||
class="tab {{tabs.settings.cssClass}} {{tabs.settings.id}}"
|
||||
class="tab {{tabs.settings.cssClass}} {{tabs.settings.id}} scrollable"
|
||||
data-tab="{{tabs.settings.id}}"
|
||||
data-group="{{tabs.settings.group}}"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<section
|
||||
class="tab {{tabs.types.cssClass}} {{tabs.types.id}}"
|
||||
class="tab {{tabs.types.cssClass}} {{tabs.types.id}} scrollable"
|
||||
data-tab="{{tabs.types.id}}"
|
||||
data-group="{{tabs.types.group}}"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<fieldset>
|
||||
<legend>{{localize tabs.features.label}}</legend>
|
||||
<ul class="feature-list">
|
||||
{{#each document.system.features as |feature|}}
|
||||
{{#each @root.features as |feature|}}
|
||||
<li class="feature-item" id="{{feature.id}}" draggable="true">
|
||||
<img src="{{feature.img}}" alt="">
|
||||
<div class="label">
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<fieldset>
|
||||
<legend>{{localize tabs.features.label}}</legend>
|
||||
<ul class="feature-list">
|
||||
{{#each document.system.features as |feature|}}
|
||||
{{#each @root.features as |feature|}}
|
||||
<li class="feature-item" id="{{feature.id}}">
|
||||
<img src="{{feature.img}}" alt="">
|
||||
<div class="label">
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
{{> 'daggerheart.inventory-items'
|
||||
title=tabs.features.label
|
||||
type='feature'
|
||||
collection=document.system.features
|
||||
collection=@root.features
|
||||
hideContextMenu=true
|
||||
canCreate=true
|
||||
showActions=true
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
{{> 'daggerheart.inventory-items'
|
||||
title=tabs.features.label
|
||||
type='feature'
|
||||
collection=document.system.features
|
||||
collection=@root.features
|
||||
hideContextMenu=true
|
||||
canCreate=true
|
||||
showActions=true
|
||||
|
|
|
|||
|
|
@ -15,9 +15,22 @@
|
|||
</div>
|
||||
</details>
|
||||
{{#each move.actions as | action index |}}
|
||||
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}" data-move-path="{{../movePath}}" >
|
||||
<span>{{localize action.name}}</span>
|
||||
</button>
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue