<li class="crafting-entry item-container" data-container-type="craftingEntryGroup">
|
|
<div class="action-header">
|
|
<h3 class="item-name hide-container-toggle title">{{localize "PF2E.CraftingTab.Alchemical.AdvancedAlchemy"}}</h3>
|
|
</div>
|
|
<ol class="directory-list item-list formula-list">
|
|
<li class="formula-level-header formula-header">
|
|
<div class="level-name reagent-cost">
|
|
<h3>{{localize "PF2E.CraftingTab.Alchemical.TotalCost"}}</h3>
|
|
<div class="formula-number">{{alchemicalCraftingEntries.totalReagentCost}}</div>
|
|
</div>
|
|
|
|
<div class="level-name reagent-resource">
|
|
<h3>{{localize "PF2E.CraftingTab.Alchemical.InfusedReagents"}}</h3>
|
|
<input class="formula-number infused-reagents" type="number" data-selector="value" data-resource="infusedReagents" value="{{alchemicalCraftingEntries.infusedReagents.value}}" placeholder="0" data-dtype="Number"/>
|
|
<h3>/</h3>
|
|
<div class="formula-number">
|
|
{{alchemicalCraftingEntries.infusedReagents.max}}
|
|
</div>
|
|
</div>
|
|
</li>
|
|
{{#each alchemicalCraftingEntries.entries as |entry eid|}}
|
|
<li class="crafting-entry item-container alchemical-entry" data-container-type="craftingEntry" data-entry-selector="{{entry.selector}}">
|
|
<div class="action-header alchemical-title">
|
|
<h3 class="item-name hide-container-toggle title">
|
|
{{entry.name}}
|
|
</h3>
|
|
</div>
|
|
|
|
<ol class="directory-list item-list formula-list">
|
|
<li class="formula-level-header formula-header">
|
|
<div class="level-name reagent-cost">
|
|
<h3>{{localize "PF2E.CraftingTab.Alchemical.ReagentCost"}}</h3>
|
|
<div class="formula-number">
|
|
{{entry.reagentCost}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="level-name aa-level">
|
|
<h3>{{localize "PF2E.CraftingTab.Alchemical.AdvancedAlchemyLevel"}}</h3>
|
|
<div class="formula-number">
|
|
{{entry.maxItemLevel}}
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
{{#each entry.formulas}}
|
|
<li class="item formula-item" data-item-id="{{this.uuid}}" data-item-type="formula" data-item-index={{@key}} data-entry-selector="{{entry.selector}}" data-is-formula="true">
|
|
<div class="item-name rollable">
|
|
<div class="item-image">
|
|
<img class="item-icon" src="{{this.img}}" alt="{{this.name}}">
|
|
</div>
|
|
<h4>{{this.name}}</h4>
|
|
</div>
|
|
<div class="dc"></div>
|
|
<div class="cost"></div>
|
|
<div class="quantity">
|
|
<a class="adjust decrease" data-action="decrease-quantity">–</a>
|
|
<input type="number" class="formula-number" data-action="enter-quantity" value="{{this.quantity}}" />
|
|
<a class="adjust increase" data-action="increase-quantity">+</a>
|
|
</div>
|
|
|
|
{{#if @root.options.editable}}
|
|
<div class="item-controls">
|
|
<a class="item-control toggle-signature-item" title="{{localize "PF2E.CraftingTab.Alchemical.ToggleSignatureItem"}}">
|
|
{{#if this.isSignatureItem}}
|
|
<i class="fa-solid fa-star"></i>
|
|
{{else}}
|
|
<i class="fa-regular fa-star"></i>
|
|
{{/if}}
|
|
</a>
|
|
<a class="item-control formula-unprepare" title="{{localize "PF2E.UnprepareItemTitle"}}"><i class="fa-solid fa-trash"></i></a>
|
|
</div>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
{{#unless entry.formulas}}
|
|
{{#if @root.owner}}
|
|
<li class="formula-header knownFormulas-empty">
|
|
<h4>{{localize "PF2E.FormulaListEmpty"}}</h4>
|
|
</li>
|
|
{{/if}}
|
|
{{/unless}}
|
|
</ol>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</li>
|