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.

49 lines
1.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="pf2e chat-card item-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. <hr />
  24. {{#if item.description}}
  25. <div class="card-content">
  26. {{{item.description}}}
  27. </div>
  28. {{/if}}
  29. <div class="card-buttons">
  30. {{#if (and data.isUsable (not item.isAmmo))}}
  31. {{#if (gt item.system.uses.value 0)}}
  32. <button type="button" data-action="consume">{{localize "PF2E.Item.Consumable.Uses.Use"}}</button>
  33. {{else}}
  34. <button type="button" disabled="disabled">{{localize "PF2E.Item.Consumable.Uses.None"}}</button>
  35. {{/if}}
  36. {{/if}}
  37. </div>
  38. <footer class="card-footer">
  39. {{#if item.isIdentified}}
  40. <span>{{localize "PF2E.Item.Physical.LevelLabel" level=item.level}}</span>
  41. <span>{{localize "PF2E.Item.Physical.PriceLabel" price=(coinLabel item.price)}}</span>
  42. {{/if}}
  43. </footer>
  44. </div>