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.

165 lines
8.3 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 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <section class="tab main" data-group="primary" data-tab="main">
  2. <!-- TOGGLES -->
  3. <div class="toggles section-container headerless">
  4. {{#if toggles}}{{> "systems/pf2e/templates/actors/partials/toggles.hbs" toggles=toggles}}{{/if}}
  5. </div>
  6. <div class="recall-knowledge section-container">
  7. <div class="section-header">
  8. <h4>{{localize "PF2E.RecallKnowledge.Label"}}</h4>
  9. <button type="button" class="breakdown">{{localize "PF2E.RecallKnowledge.Breakdown"}}</button>
  10. </div>
  11. <div class="section-body" data-tooltip-class="pf2e">
  12. {{#if identificationDCs.standard}}
  13. <div class="tag-legacy identification-skills" data-tooltip="PF2E.Actor.NPC.Identification.Skills.Tooltip">
  14. {{identificationDCs.standard}}
  15. </div>
  16. {{/if}}
  17. <div class="tag-legacy identification-skills" data-tooltip="PF2E.Actor.NPC.Identification.Lore.Tooltip">
  18. {{identificationDCs.lore}}
  19. </div>
  20. </div>
  21. </div>
  22. <div class="top-sections">
  23. <div class="ability-scores section-container">
  24. <div class="section-header">
  25. <h4>{{localize "PF2E.Actor.Creature.AttributeModifiers"}}</h4>
  26. </div>
  27. <!-- ATTRIBUTE MODIFIERS -->
  28. <div class="section-body">
  29. <div class="list">
  30. {{#each data.abilities as |ability id|}}
  31. <div class="labelled-field" data-attribute="{{id}}">
  32. <a class="rollable">{{ability.localizedCode}}</a>
  33. <input class="modifier" type="text" data-property="system.abilities.{{id}}.mod" value="{{numberFormat ability.mod decimals=0 sign=true}}" data-dtype="Number" placeholder="0"/>
  34. </div>
  35. {{/each}}
  36. </div>
  37. </div>
  38. </div>
  39. <!-- SENSES -->
  40. <div class="senses section-container">
  41. <div class="section-header">
  42. <h4>{{localize "PF2E.NPC.SensesLabel"}}</h4>
  43. </div>
  44. <div class="section-body">
  45. <div class="perception labelled-field" data-attribute="perception">
  46. <a class="attribute-label rollable">{{localize "PF2E.PerceptionLabel"}}</a>
  47. {{#with data.attributes.perception as |perception|}}
  48. <input
  49. type="text"
  50. value="{{numberFormat perception.value decimals=0 sign=true}}"
  51. class="modifier adjustable{{#if perception.adjustedHigher}} adjusted-higher{{/if}}{{#if perception.adjustedLower}}adjusted-lower{{/if}}"
  52. data-property="system.attributes.perception.value"
  53. data-dtype="Number"
  54. placeholder="0"
  55. />
  56. {{/with}}
  57. </div>
  58. {{# if options.editable}}
  59. <input name="system.traits.senses.value" type="text" value="{{data.traits.senses.value}}" title="{{data.traits.senses.value}}" placeholder="{{localize "PF2E.SpecialSensesLabel"}}" />
  60. {{else}}
  61. <span>{{data.traits.senses.value}}</span>
  62. {{/if}}
  63. </div>
  64. </div>
  65. </div>
  66. <!-- LANGUAGES -->
  67. <div class="languages section-container">
  68. <div class="section-header" data-attribute="languages" for="data.traits.languages">
  69. <h4>{{localize "PF2E.Languages"}}</h4>
  70. {{# if options.editable}}
  71. <div class="languages-controls controls">
  72. <a class="tag-selector edit" data-tag-selector="basic" data-title="PF2E.Languages" data-config-types="languages" data-property="system.traits.languages" title="{{localize "PF2E.NPC.EditLanguages"}}"><i class="fas fa-edit"></i></a>
  73. </div>
  74. {{/if}}
  75. </div>
  76. <div class="section-body">
  77. {{#each languages as |language slug|}}
  78. <div class="tag-legacy language" data-slug="{{slug}}">{{localize language.label}}</div>
  79. {{/each}}
  80. {{#if languageDetails}}<div class="tag-legacy language">{{localize languageDetails}}</div>{{/if}}
  81. </div>
  82. </div>
  83. <!-- SKILLS -->
  84. <div class="skills section-container">
  85. <div class="section-header">
  86. <h4>{{localize "PF2E.SkillsLabel"}}</h4>
  87. {{#if options.editable}}
  88. <div class="skills-controls controls" for="data.skills">
  89. <a class="skills-edit edit" data-options="skill" title="{{localize "PF2E.NPC.EditSkills"}}"><i class="fas fa-edit"></i></a>
  90. </div>
  91. {{/if}}
  92. </div>
  93. <div class="section-body">
  94. <div class="list">
  95. {{#each data.sortedSkills as |skill id|}}
  96. {{#if skill.visible}}
  97. <div class="skill-entry tag-legacy" data-skill="{{id}}">
  98. <a class="rollable">{{skill.label}} <span class="adjustable{{#if skill.adjustedHigher}} adjusted-higher{{else if skill.adjustedLower}} adjusted-lower{{/if}}">{{numberFormat skill.value decimals=0 sign=true}}</span></a>
  99. {{#if skill.variants}}
  100. {{#each skill.variants as |variant variantId|}}
  101. <a class="rollable variant" data-skill="{{id}}" data-options="{{variant.options}}">({{variant.label}})</a>
  102. {{/each}}
  103. {{/if}}
  104. </div>
  105. {{/if}}
  106. {{/each}}
  107. </div>
  108. </div>
  109. </div>
  110. <!-- ATTACKS -->
  111. <div class="attacks section-container">
  112. <div class="section-header">
  113. <h4>{{localize "PF2E.NPC.Attacks"}}</h4>
  114. {{#if options.editable}}
  115. <div class="attacks-controls controls">
  116. <a class="attack-add item-create" data-type="melee" data-action-type="melee"><i class="fas fa-plus"></i> {{localize "PF2E.NPCAttackMelee"}}</a>
  117. <a class="attack-add item-create" data-type="melee" data-action-type="ranged"><i class="fas fa-plus"></i> {{localize "PF2E.NPCAttackRanged"}}</a>
  118. </div>
  119. {{/if}}
  120. </div>
  121. <div class="section-body">
  122. <ol class="attacks-list strikes-list item-list">
  123. {{#each data.actions as |attack index|}}
  124. {{> "systems/pf2e/templates/actors/npc/partials/attack.hbs" action=attack index=index isEditable=@root.options.editable}}
  125. {{/each}}
  126. </ol>
  127. </div>
  128. </div>
  129. <!-- ACTIONS -->
  130. <div class="actions section-container">
  131. <div class="section-header">
  132. <h4>{{localize "PF2E.ActionActionsLabel"}}</h4>
  133. {{#if options.editable}}
  134. <div class="actions-controls controls">
  135. <a class="action-add item-create" title="{{localize "PF2E.NPC.AddAction"}}" data-type="action" data-action-type="action"><i class="fas fa-plus"></i></a>
  136. </div>
  137. {{/if}}
  138. </div>
  139. <div class="section-body">
  140. <ol class="actions-list item-list">
  141. {{#each actions.active.actions as |action actionId|}}
  142. {{> "systems/pf2e/templates/actors/npc/partials/action.hbs" action=action isEditable=@root.options.editable}}
  143. {{/each}}
  144. </ol>
  145. </div>
  146. </div>
  147. <!-- PASSIVES -->
  148. <div class="passives section-container">
  149. <div class="section-header">
  150. <h4>{{localize "PF2E.NPC.PassivesLabel"}}</h4>
  151. {{#if options.editable}}
  152. <div class="actions-controls controls">
  153. <a class="action-add item-create" title="{{localize "PF2E.NPC.AddPassive"}}" data-type="action" data-action-type="passive"><i class="fas fa-plus"></i></a>
  154. </div>
  155. {{/if}}
  156. </div>
  157. <div class="section-body">
  158. <ol class="actions-list item-list">
  159. {{#each actions.passive.actions as |action actionId|}}
  160. {{> "systems/pf2e/templates/actors/npc/partials/action.hbs" action=action isEditable=@root.options.editable}}
  161. {{/each}}
  162. </ol>
  163. </div>
  164. </div>
  165. </section>