{{#if craftingEntries.alchemical.entries}}
|
|
{{> systems/pf2e/templates/actors/crafting-entry-alchemical.hbs alchemicalCraftingEntries=craftingEntries.alchemical}}
|
|
{{/if}}
|
|
{{#each craftingEntries.other as |entry i|}}
|
|
<li class="crafting-entry item-container item" data-container-type="craftingEntry" data-entry-selector="{{entry.selector}}">
|
|
<div class="action-header">
|
|
<h3 class="item-name hide-container-toggle title">{{entry.name}}</h3>
|
|
</div>
|
|
<ol class="directory-list item-list formula-list">
|
|
{{#each entry.formulas}}
|
|
<li class="item formula-item" data-item-id="{{this.uuid}}" data-is-formula="true" data-item-type="formula" data-expended-state="{{this.expended}}" data-item-index={{@key}} data-entry-selector="{{entry.selector}}">
|
|
<div class="item-name rollable">
|
|
{{#if this}}
|
|
<div class="item-image">
|
|
<img class="item-icon" src="{{this.img}}" alt="{{this.name}}">
|
|
</div>
|
|
<h4>{{this.name}}</h4>
|
|
{{else}}
|
|
<h4>Empty Slot (drag formula here)</h4>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="formula-dc"></div>
|
|
<div class="formula-cost"></div>
|
|
<div class="item-quantity"></div>
|
|
|
|
{{#if this}}
|
|
{{#if @root.options.editable}}
|
|
<div class="item-controls">
|
|
{{#if entry.isPrepared}}
|
|
<a class="item-control" title="{{localize "PF2E.CraftItemTitle"}}" data-action="craft-item" data-item-uuid="{{this.uuid}}" data-free="true" data-prepared="true"><i class="fa-solid fa-hammer"></i></a>
|
|
<a class="item-control toggle-formula-expended" title="{{localize "PF2E.CraftingTab.ExpendFormula"}}"><i class="fa-solid fa-minus-square"></i></a>
|
|
{{/if}}
|
|
<a class="item-control formula-unprepare" title="{{localize "PF2E.UnprepareItemTitle"}}"><i class="fa-solid fa-trash"></i></a>
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</li>
|
|
{{/each}}
|
|
{{#if craftingEntries.dailyCrafting}}
|
|
<li class="crafting-entry item-container item">
|
|
<button type="button" class="daily-crafting">Complete Daily Crafting</button>
|
|
</li>
|
|
{{/if}}
|