mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Merge branch 'main' into 419-feature-add-createtagsmethods-for-documents-and-actions
This commit is contained in:
commit
faa412bfc1
264 changed files with 13626 additions and 896 deletions
|
|
@ -61,9 +61,9 @@
|
|||
canCreate=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='TYPES.Item.miscellaneous'
|
||||
type='miscellaneous'
|
||||
collection=document.itemTypes.miscellaneous
|
||||
title='TYPES.Item.loot'
|
||||
type='loot'
|
||||
collection=document.itemTypes.loot
|
||||
isGlassy=true
|
||||
canCreate=true
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Parameters:
|
|||
- showActions {boolean} : If true show feature's actions.
|
||||
--}}
|
||||
|
||||
<fieldset class="{{#if isGlassy}}glassy{{/if}}">
|
||||
<fieldset class="{{#if isGlassy}}glassy{{/if}} drop-section">
|
||||
<legend>
|
||||
{{localize title}}
|
||||
{{#if canCreate}}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Parameters:
|
|||
- showActions {boolean} : If true show feature's actions.
|
||||
--}}
|
||||
|
||||
<li class="inventory-item" {{#if (or (eq type 'action' ) (eq type 'attack' ))}}data-action-id="{{item.id}}" {{/if}}
|
||||
<li class="inventory-item" data-item-id="{{item.id}}" {{#if (or (eq type 'action' ) (eq type 'attack'))}} data-action-id="{{item.id}}" {{/if}}
|
||||
data-item-uuid="{{item.uuid}}" data-type="{{type}}" draggable="true">
|
||||
<div class="inventory-item-header" {{#unless noExtensible}}data-action="toggleExtended" {{/unless}}>
|
||||
{{!-- Image --}}
|
||||
|
|
@ -133,8 +133,8 @@ Parameters:
|
|||
{{localize 'DAGGERHEART.EFFECTS.Duration.passive'}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#each item.statuses as |status|}}
|
||||
<div class="tag">{{localize (concat 'DAGGERHEART.CONFIG.Condition.' status '.name')}}</div>
|
||||
{{#each item.localizedStatuses as |status|}}
|
||||
<div class="tag">{{status.name}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{else if (not hideLabels)}}
|
||||
|
|
@ -233,4 +233,4 @@ Parameters:
|
|||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<line-div></line-div>
|
||||
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
||||
<div class='item-description'>
|
||||
<h3>{{localize 'TYPES.Item.miscellaneous'}}</h3>
|
||||
<h3>{{localize 'TYPES.Item.loot'}}</h3>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue