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.

38 lines
1.4 KiB

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. <footer class="card-footer">
  30. {{#if item.isIdentified}}
  31. <span>{{localize "PF2E.Item.Physical.LevelLabel" level=item.level}}</span>
  32. <span>{{localize "PF2E.Item.Physical.PriceLabel" price=(coinLabel item.price)}}</span>
  33. {{/if}}
  34. </footer>
  35. </div>