mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 05:01:08 +01:00
Merge branch 'main' into feature/140-Subclasses-Actions-Effects
This commit is contained in:
commit
b969b8c84b
23 changed files with 870 additions and 218 deletions
|
|
@ -13,7 +13,7 @@
|
|||
<li class="item inventory-item">
|
||||
<div class="inventory-row" data-item-id="{{item.uuid}}">
|
||||
<div class="inventory-item-title-container">
|
||||
<div data-action="useItem" data-value="{{item.uuid}}" class="inventory-item-title">
|
||||
<div data-action="viewObject" data-value="{{item.uuid}}" class="inventory-item-title">
|
||||
<img src="{{item.img}}" />
|
||||
{{item.name}}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
data-group='{{tabs.actions.group}}'
|
||||
>
|
||||
<fieldset class="one-column">
|
||||
<legend>{{localize "Actions"}} <a><i class="fa-solid fa-plus icon-button" data-action="addAction"></i></a></legend>
|
||||
<legend>{{localize "DAGGERHEART.Sheets.Global.Actions"}} <a><i class="fa-solid fa-plus icon-button" data-action="addAction"></i></a></legend>
|
||||
<div class="actions-list">
|
||||
{{#each document.system.actions as |action index|}}
|
||||
<div class="action-item">
|
||||
|
|
|
|||
21
templates/sheets/global/tabs/tab-effects.hbs
Normal file
21
templates/sheets/global/tabs/tab-effects.hbs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<section
|
||||
class='tab {{tabs.effects.cssClass}} {{tabs.effects.id}}'
|
||||
data-tab='{{tabs.effects.id}}'
|
||||
data-group='{{tabs.effects.group}}'
|
||||
>
|
||||
<fieldset class="one-column">
|
||||
<legend>{{localize "DAGGERHEART.Sheets.Global.Effects"}} <a><i class="fa-solid fa-plus icon-button" data-action="addEffect"></i></a></legend>
|
||||
<div class="effects-list">
|
||||
{{#each document.effects as |effect|}}
|
||||
<div class="effect-item">
|
||||
<img class="image" src="{{effect.img}}" />
|
||||
<span>{{effect.name}}</span>
|
||||
<div class="controls">
|
||||
<a data-action="editEffect" data-effect="{{effect.id}}"><i class="fa-solid fa-pen-to-square"></i></a>
|
||||
<a data-action="removeEffect" data-effect="{{effect.id}}"><i class="fa-solid fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
|
@ -6,11 +6,13 @@
|
|||
|
||||
<fieldset class="two-columns">
|
||||
<legend>{{localize tabs.settings.label}}</legend>
|
||||
<span>{{localize "DAGGERHEART.Tiers.singular"}}</span>
|
||||
{{formField systemFields.tier value=source.system.tier}}
|
||||
<span>{{localize "DAGGERHEART.Sheets.Armor.baseScore"}}</span>
|
||||
{{formField systemFields.baseScore value=source.system.baseScore}}
|
||||
|
||||
<span>{{localize "DAGGERHEART.Sheets.Armor.feature"}}</span>
|
||||
{{formField systemFields.feature value=source.system.feature localize=true blank=""}}
|
||||
<input type="text" class="features-input" value="{{features}}" />
|
||||
|
||||
<span>{{localize "DAGGERHEART.Sheets.Armor.baseThresholds.base"}}</span>
|
||||
<div class="nest-inputs">
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
>
|
||||
<fieldset class="two-columns">
|
||||
<legend>{{localize tabs.settings.label}}</legend>
|
||||
<span>{{localize "DAGGERHEART.Tiers.singular"}}</span>
|
||||
{{formField systemFields.tier value=source.system.tier}}
|
||||
<span>{{localize "DAGGERHEART.Sheets.Weapon.SecondaryWeapon"}}</span>
|
||||
{{formField systemFields.secondary value=source.system.secondary}}
|
||||
<span>{{localize "DAGGERHEART.Sheets.Weapon.Trait"}}</span>
|
||||
|
|
@ -25,6 +27,6 @@
|
|||
<fieldset class="two-columns">
|
||||
<legend>{{localize "DAGGERHEART.Sheets.Weapon.Feature"}}</legend>
|
||||
<span>{{localize "DAGGERHEART.Sheets.Weapon.Feature"}}</span>
|
||||
{{formField systemFields.feature value=source.system.feature localize=true}}
|
||||
<input type="text" class="features-input" value="{{features}}" />
|
||||
</fieldset>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue