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.

45 lines
1.8 KiB

1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="pf2e chat-card weapon-card" data-actor-id="{{actor.id}}" data-item-id="{{item.id}}" {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}}>
  2. <header class="card-header flexrow">
  3. <img src="{{item.img}}" alt="{{item.name}}" />
  4. <h3>{{item.name}}</h3>
  5. </header>
  6. <div class="tags" data-tooltip-class="pf2e">
  7. {{#if (and item.isIdentified (ne item.rarity "common"))}}
  8. <span
  9. class="tag rarity {{item.rarity}}"
  10. data-trait="{{item.rarity}}"
  11. data-tooltip="{{data.rarity.description}}"
  12. >{{localize data.rarity.label}}</span>
  13. {{/if}}
  14. {{#each data.traits as |trait|}}
  15. {{#unless trait.mystified}}
  16. <span class="tag" data-trait="{{trait.name}}" data-tooltip="{{trait.description}}">{{localize trait.label}}</span>
  17. {{/unless}}
  18. {{/each}}
  19. {{#each data.properties as |property|}}
  20. <span class="tag tag_alt">{{localize property}}</span>
  21. {{/each}}
  22. </div>
  23. <div class="card-content">
  24. {{{item.description}}}
  25. </div>
  26. <div class="card-buttons">
  27. {{#if (and data.usesCharges data.isUsable)}}
  28. {{#if data.hasCharges}}
  29. <button type="button" data-action="consume">{{localize "PF2E.ConsumableUseLabel"}} {{item.consumableType}}</button>
  30. {{else}}
  31. <button type="button" disabled="disabled">{{localize "PF2E.ConsumableNoChargesLabel"}}</button>
  32. {{/if}}
  33. {{/if}}
  34. </div>
  35. <footer class="card-footer">
  36. {{#if item.isIdentified}}
  37. <span>{{localize "PF2E.Item.Physical.LevelLabel" level=item.level}}</span>
  38. <span>{{localize "PF2E.Item.Physical.PriceLabel" price=(coinLabel item.price)}}</span>
  39. {{/if}}
  40. </footer>
  41. </div>