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.

83 lines
3.2 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. {{#if identified}}
  2. {{#if item.system.traits}}
  3. <div class="tags item-properties" data-tooltip-class="pf2e">
  4. {{#if rarityLabel}}
  5. <span class="tag rarity {{item.system.traits.rarity}}">{{localize rarityLabel}}</span>
  6. {{/if}}
  7. {{#each chatData.traits as |trait|}}
  8. <span class="tag" data-tooltip="{{trait.description}}">{{localize trait.label}}</span>
  9. {{/each}}
  10. {{#each chatData.properties as |property|}}
  11. <span class="tag tag_secondary">{{localize property}}</span>
  12. {{/each}}
  13. </div>
  14. {{/if}}
  15. {{#if item.price}}
  16. <section>
  17. <div>{{localize "PF2E.LevelN" level=item.level}}</div>
  18. <div>{{localize "PF2E.Item.Physical.PriceLabel" price=item.price.value}}</div>
  19. </section>
  20. {{/if}}
  21. {{/if}}
  22. <div class="item-description">
  23. {{{description}}}
  24. {{#if selfEffect}}<p>{{{selfEffect}}}</p>{{/if}}
  25. </div>
  26. {{#if (and identified isCreature)}}
  27. <div class="item-buttons">
  28. {{#if chatData.save}}
  29. <span>{{{chatData.save.label}}}</span>
  30. {{/if}}
  31. {{#unless item.hasVariants}}
  32. {{#if chatData.isAttack}}
  33. <button type="button" class="spell_attack" data-action="spellAttack">{{localize "PF2E.AttackLabel"}}</button>
  34. {{/if}}
  35. {{#if chatData.hasDamage}}
  36. <button type="button" class="spell_damage" data-action="spellDamage">{{localize chatData.damageLabel}}: {{chatData.formula}}</button>
  37. {{/if}}
  38. {{#if chatData.area}}
  39. <button type="button" data-action="spellTemplate" data-visibility="owner">
  40. {{localize "PF2E.Item.Spell.MeasuredTemplate.Place" area=chatData.area.label}}
  41. </button>
  42. {{/if}}
  43. {{/unless}}
  44. {{#if (and (eq item.type "consumable") item.uses.max)}}
  45. <span><button type="button" class="consume" data-action="consume">{{localize "PF2E.ConsumableUseLabel"}} {{item.name}}</button></span>
  46. {{/if}}
  47. </div>
  48. {{/if}}
  49. {{#if (and (eq item.type "condition") item.references)}}
  50. <div class="condition-references">
  51. {{#if item.parents.length}}
  52. <div class="condition-parents">
  53. <p>
  54. Applied From:
  55. {{#each item.parents as |parent|}}
  56. <span data-item-id="{{parent.id}}">{{{parent.enrichedText}}}</span>
  57. {{/each}}
  58. </p>
  59. </div>
  60. {{/if}}
  61. {{#if item.children.length}}
  62. <div class="condition-children">
  63. <p>Also Applied:{{#each item.children as |child|}} {{{child.enrichedText}}}{{/each}}</p>
  64. </div>
  65. {{/if}}
  66. {{#if item.overrides.length}}
  67. <div class="condition-overriding">
  68. <p>Overriding:{{#each item.overrides as |o|}} {{{o.enrichedText}}}{{/each}}</p>
  69. </div>
  70. {{/if}}
  71. {{#if item.overriddenBy.length}}
  72. <div class="condition-overridden">
  73. <p>Overridden by:{{#each item.overriddenBy as |o|}} {{{o.enrichedText}}}{{/each}}</p>
  74. </div>
  75. {{/if}}
  76. </div>
  77. {{/if}}