mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Feature/132 weapon armor features (#136)
* Added effects for Weapon and Armor traits * Fixed so @ strings can be parsed as active effect values * Added actions
This commit is contained in:
parent
6adbb4e49b
commit
5b94675db1
13 changed files with 598 additions and 48 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>
|
||||
|
|
|
|||
|
|
@ -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