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.

47 lines
2.6 KiB

1 year ago
  1. {{#if craftingEntries.alchemical.entries}}
  2. {{> systems/pf2e/templates/actors/crafting-entry-alchemical.hbs alchemicalCraftingEntries=craftingEntries.alchemical}}
  3. {{/if}}
  4. {{#each craftingEntries.other as |entry i|}}
  5. <li class="crafting-entry item-container item" data-container-type="craftingEntry" data-entry-selector="{{entry.selector}}">
  6. <div class="action-header">
  7. <h3 class="item-name hide-container-toggle title">{{entry.name}}</h3>
  8. </div>
  9. <ol class="directory-list item-list formula-list">
  10. {{#each entry.formulas}}
  11. <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}}">
  12. <div class="item-name rollable">
  13. {{#if this}}
  14. <div class="item-image">
  15. <img class="item-icon" src="{{this.img}}" alt="{{this.name}}">
  16. </div>
  17. <h4>{{this.name}}</h4>
  18. {{else}}
  19. <h4>Empty Slot (drag formula here)</h4>
  20. {{/if}}
  21. </div>
  22. <div class="formula-dc"></div>
  23. <div class="formula-cost"></div>
  24. <div class="item-quantity"></div>
  25. {{#if this}}
  26. {{#if @root.options.editable}}
  27. <div class="item-controls">
  28. {{#if entry.isPrepared}}
  29. <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="fas fa-hammer"></i></a>
  30. <a class="item-control toggle-formula-expended" title="{{localize "PF2E.CraftingTab.ExpendFormula"}}"><i class="fas fa-minus-square"></i></a>
  31. {{/if}}
  32. <a class="item-control formula-unprepare" title="{{localize "PF2E.UnprepareItemTitle"}}"><i class="fas fa-trash"></i></a>
  33. </div>
  34. {{/if}}
  35. {{/if}}
  36. </li>
  37. {{/each}}
  38. </ol>
  39. </li>
  40. {{/each}}
  41. {{#if craftingEntries.dailyCrafting}}
  42. <li class="crafting-entry item-container item">
  43. <button type="button" class="daily-crafting">Complete Daily Crafting</button>
  44. </li>
  45. {{/if}}