All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
2.3 KiB

{{#each conditions as |item ii|}}
{{#if (or item.isIdentified @root.user.isGM)}}
<li class="item effects expandable{{#unless item.isIdentified}} unidentified{{/unless}}" data-item-type="{{item.type}}" data-item-id="{{item.id}}">
<div class="item-name rollable">
<div class="item-image framed">
<img class="item-icon" src="{{item.img}}" alt="{{item.name}}">
<i class="fa-solid fa-message"></i>
</div>
<h4 class="action-name">
{{item.name}}
{{#if (and (eq item.type "effect") (eq item.badge.type "counter"))}}
({{coalesce item.badge.label item.badge.value}})
{{/if}}
{{#if (eq item.type "condition")}}{{#unless item.active}}<span> (Inactive)</span>{{/unless}}{{/if}}
</h4>
</div>
<div class="item-controls">
{{#if (and @root.options.editable (not item.temporary))}}
{{#if (eq item.badge.type "counter")}}
<a class="item-control increment" title="{{localize "PF2E.IncrementEffectTitle"}}"><i class="fa-solid fa-fw fa-plus"></i></a>
<a class="item-control decrement" title="{{localize "PF2E.DecrementEffectTitle"}}"><i class="fa-solid fa-fw fa-minus"></i></a>
{{/if}}
{{#if (and (eq item.type "effect") @root.user.isGM)}}
<a class="item-control" data-action="effect-toggle-unidentified" title="{{localize "PF2E.ToggleEffectUnidentified"}}"><i class="fa-solid fa-fw fa-eye"></i></a>
{{/if}}
{{#if (eq item.type "effect")}}
<a class="item-control item-edit" title="{{localize "PF2E.EditItemTitle"}}"><i class="fa-solid fa-fw fa-edit"></i></a>
{{/if}}
<a class="item-control item-delete" title="{{localize "PF2E.DeleteItemTitle"}}"><i class="fa-solid fa-fw fa-trash"></i></a>
{{else if (and item.temporary item.breakdown)}}
<a class="item-control info-only" title="{{item.breakdown}}"><i class="fa-solid fa-fw fa-info-circle"></i></a>
{{/if}}
</div>
</li>
{{/if}}
{{/each}}