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.5 KiB

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