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.

34 lines
1.4 KiB

  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. {{#if (and item.isIdentified data.material)}}<span class="tag tag_material">{{data.material}}</span>{{/if}}
  20. </div>
  21. <hr />
  22. <div class="card-content">
  23. {{{item.description}}}
  24. </div>
  25. <footer class="card-footer">
  26. {{#if item.isIdentified}}
  27. <span>{{localize "PF2E.Item.Physical.LevelLabel" level=item.level}}</span>
  28. <span>{{localize "PF2E.Item.Physical.PriceLabel" price=(coinLabel item.price)}}</span>
  29. {{/if}}
  30. </footer>
  31. </div>