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.

26 lines
1.4 KiB

1 year ago
  1. <div class="pf2e chat-card" data-crafting-result="{{craftingData}}" data-item-uuid="{{item.uuid}}" data-crafting-quantity="{{quantity}}">
  2. <div class="card-content">
  3. <div style="display: flex; align-items: center; margin-bottom: 3px;">
  4. <img src="{{item.img}}" style="height:32px; width:32px; margin-right: 3px;">
  5. <span>{{quantity}} x {{{strings.itemLink}}}</span>
  6. </div>
  7. <hr>
  8. {{#if (and success (not free))}}
  9. <p><strong>{{localize "PF2E.Actions.Craft.Details.Discount"}}</strong> {{strings.reductionPerDay}}</p>
  10. <p><strong>{{localize "PF2E.Actions.Craft.Details.DaysForNoCost"}}</strong> {{daysForZeroCost}}</p>
  11. {{/if}}
  12. </div>
  13. <hr>
  14. <div class="card-buttons">
  15. {{#if (not free)}}
  16. {{#if success}}
  17. <button type="button" data-action="pay-crafting-costs" class="materials">{{strings.materialCost}}</button>
  18. <button type="button" data-action="pay-crafting-costs" class="full">{{strings.itemCost}}</button>
  19. {{else if criticalFailure}}
  20. <button type="button" data-action="lose-materials">{{strings.lostMaterials}}</button>
  21. {{/if}}
  22. {{else}}
  23. <button type="button" data-action="receieve-crafting-item">{{localize "PF2E.Actions.Craft.Details.ReceiveItem"}}</button>
  24. {{/if}}
  25. </div>
  26. </div>