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.

89 lines
4.8 KiB

1 year ago
  1. <li class="crafting-entry item-container" data-container-type="craftingEntryGroup">
  2. <div class="action-header">
  3. <h3 class="item-name hide-container-toggle title">{{localize "PF2E.CraftingTab.Alchemical.AdvancedAlchemy"}}</h3>
  4. </div>
  5. <ol class="directory-list item-list formula-list ">
  6. <li class="formula-level-header formula-header">
  7. <div class="level-name reagent-cost">
  8. <h3>{{localize "PF2E.CraftingTab.Alchemical.TotalCost"}}</h3>
  9. <div class="formula-number">{{alchemicalCraftingEntries.totalReagentCost}}</div>
  10. </div>
  11. <div class="level-name reagent-resource">
  12. <h3>{{localize "PF2E.CraftingTab.Alchemical.InfusedReagents"}}</h3>
  13. <input class="formula-number infused-reagents" type="number" data-selector="value" data-resource="infusedReagents" value="{{alchemicalCraftingEntries.infusedReagents.value}}" placeholder="0" data-dtype="Number"/>
  14. <h3>/</h3>
  15. <div class="formula-number">
  16. {{alchemicalCraftingEntries.infusedReagents.max}}
  17. </div>
  18. </div>
  19. </li>
  20. {{#each alchemicalCraftingEntries.entries as |entry eid|}}
  21. <li class="crafting-entry item-container alchemical-entry" data-container-type="craftingEntry" data-entry-selector="{{entry.selector}}">
  22. <div class="action-header alchemical-title">
  23. <h3 class="item-name hide-container-toggle title">
  24. {{entry.name}}
  25. </h3>
  26. </div>
  27. <ol class="directory-list item-list formula-list">
  28. <li class="formula-level-header formula-header">
  29. <div class="level-name reagent-cost">
  30. <h3>{{localize "PF2E.CraftingTab.Alchemical.ReagentCost"}}</h3>
  31. <div class="formula-number">
  32. {{entry.reagentCost}}
  33. </div>
  34. </div>
  35. <div class="level-name aa-level">
  36. <h3>{{localize "PF2E.CraftingTab.Alchemical.AdvancedAlchemyLevel"}}</h3>
  37. <div class="formula-number">
  38. {{entry.maxItemLevel}}
  39. </div>
  40. </div>
  41. </li>
  42. {{#each entry.formulas}}
  43. <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">
  44. <div class="item-name rollable">
  45. <div class="item-image">
  46. <img class="item-icon" src="{{this.img}}" alt="{{this.name}}">
  47. </div>
  48. <h4>{{this.name}}</h4>
  49. </div>
  50. <div class="formula-dc"></div>
  51. <div class="formula-cost"></div>
  52. <div class="formula-quantity">
  53. <a class="formula-quantity-adjust" data-action="decrease-quantity">-</a>
  54. <input type="number" class="formula-number" data-action="enter-quantity" value="{{this.quantity}}" />
  55. <a class="formula-quantity-adjust" data-action="increase-quantity">+</a>
  56. </div>
  57. {{#if @root.options.editable}}
  58. <div class="item-controls">
  59. <a class="item-control toggle-signature-item" title="{{localize "PF2E.CraftingTab.Alchemical.ToggleSignatureItem"}}">
  60. {{#if this.isSignatureItem}}
  61. <i class="fas fa-star"></i>
  62. {{else}}
  63. <i class="far fa-star"></i>
  64. {{/if}}
  65. </a>
  66. <a class="item-control formula-unprepare" title="{{localize "PF2E.UnprepareItemTitle"}}"><i class="fas fa-trash"></i></a>
  67. </div>
  68. {{/if}}
  69. </li>
  70. {{/each}}
  71. {{#unless entry.formulas}}
  72. {{#if @root.owner}}
  73. <li class="formula-header knownFormulas-empty">
  74. <h4>{{localize "PF2E.FormulaListEmpty"}}</h4>
  75. </li>
  76. {{/if}}
  77. {{/unless}}
  78. </ol>
  79. </li>
  80. {{/each}}
  81. </ol>
  82. </li>