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.

218 lines
11 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 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="image-container">
  2. <img
  3. class="profile-img"
  4. src="{{actor.img}}"
  5. {{#if editable}}data-edit="img"{{/if}}
  6. alt="{{actor.name}}"
  7. />
  8. <a class="hover-icon" data-action="show-image"><i class="fa-solid fa-image fa-fw"></i></a>
  9. </div>
  10. <div class="side-bar-section armor-section">
  11. {{#with data.attributes.ac as |ac|}}
  12. <div class="side-bar-section-header" title="{{ac.breakdown}}">
  13. <div class="side-bar-label armor-label">
  14. <i class="fa-solid fa-fw fa-shield-alt"></i>
  15. <h4>{{localize "PF2E.ArmorClassShortLabel"}}</h4>
  16. </div>
  17. <div class="armor-base labelled-field">
  18. <input type="number"
  19. class="armor-value adjustable{{#if ac.adjustedHigher}} adjusted-higher{{else if ac.adjustedLower}} adjusted-lower{{/if}}"
  20. data-property="system.attributes.ac.value"
  21. value="{{ac.value}}"
  22. placeholder="0" />
  23. </div>
  24. </div>
  25. <div class="side-bar-section-content">
  26. <input type="text" name="system.attributes.ac.details" value="{{ac.details}}" class="armor-details" placeholder="{{localize "PF2E.NPC.ArmorExtraInfoLabelPlaceholder"}}" />
  27. </div>
  28. {{/with}}
  29. <div class="side-bar-section-content">
  30. {{#if hasHardness}}
  31. <div class="armor-base labelled-field">
  32. <label>{{localize "PF2E.HardnessLabel"}}</label>
  33. <input type="number" data-property="system.attributes.hardness.value" value="{{data.attributes.hardness.value}}" placeholder="0" />
  34. </div>
  35. {{/if}}
  36. </div>
  37. </div>
  38. {{#if hasShield}}
  39. <div class="side-bar-section shield-section{{#if data.attributes.shield.broken}} broken" title="{{localize "PF2E.Item.Physical.Broken"}}{{/if}}">
  40. <div class="side-bar-section-header">
  41. <div class="side-bar-label shield-label">
  42. <i class="fa-solid fa-fw fa-user-shield{{#if data.attributes.shield.broken}} broken{{/if}}"></i>
  43. <h4>{{localize "PF2E.ShieldLabel"}}</h4>
  44. <div class="hit-points">
  45. <input type="number" name="system.attributes.shield.hp.value" value="{{data.attributes.shield.hp.value}}" class="current" placeholder="0" />
  46. <span class="slash">/</span>
  47. <label class="max" title="{{localize "PF2E.ShieldMaxTitle"}}">{{data.attributes.shield.hp.max}}</label>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="side-bar-section-content">
  52. <div class="shield-details">
  53. <label class="label" title="{{localize "PF2E.Actor.Creature.Shield.ACBonus"}}">{{localize "PF2E.ArmorClassShortLabel"}}</label>
  54. <label class="value">{{data.attributes.shield.ac}}</label>
  55. <label class="label" title="{{localize "PF2E.Actor.Creature.Shield.Hardness.Hint"}}">{{localize "PF2E.Actor.Creature.Shield.Hardness.Label"}}</label>
  56. <label class="value">{{data.attributes.shield.hardness}}</label>
  57. <label class="label" title="{{localize "PF2E.Actor.Creature.Shield.BrokenThreshold"}}">{{localize "PF2E.Item.Physical.BrokenThreshold.ShortLabel"}}</label>
  58. <label class="value">{{data.attributes.shield.brokenThreshold}}</label>
  59. </div>
  60. </div>
  61. </div>
  62. {{/if}}
  63. <div class="health-section side-bar-section">
  64. <div class="side-bar-section-header" title="{{data.attributes.hp.breakdown}}">
  65. <div class="side-bar-label">
  66. <i class="fa-solid fa-fw fa-heart"></i>
  67. <h4>{{localize "PF2E.HitPointsShortLabel"}}</h4>
  68. <div class="hit-points">
  69. {{#with data.attributes.hp as |hp|}}
  70. <input type="number" name="system.attributes.hp.value" value="{{hp.value}}" class="current" placeholder="0" />
  71. <span class="slash">/</span>
  72. <input type="text" class="max adjustable{{#if (lt hp.max 10)}} lt10{{else if (lt hp.max 100)}} lt100{{else}} lt1000{{/if}}{{#if hp.adjustedHigher}} adjusted-higher{{else if hp.adjustedLower}} adjusted-lower{{/if}}" data-property="system.attributes.hp.max" value="{{hp.max}}" data-dtype="Number" placeholder="0"/>
  73. {{/with}}
  74. </div>
  75. </div>
  76. </div>
  77. <div class="side-bar-section-content">
  78. <div class="hp-temp labelled-field">
  79. <label>{{localize "PF2E.RuleElement.TempHPShortLabel"}}</label>
  80. <input class="hp-temp-value" type="number" name="system.attributes.hp.temp" value="{{data.attributes.hp.temp}}" data-dtype="Number" placeholder="0"/>
  81. </div>
  82. </div>
  83. <div class="side-bar-section-content">
  84. <input class="hp-details" type="text" name="system.attributes.hp.details" value="{{data.attributes.hp.details}}" title="{{data.attributes.hp.details}}" data-dtype="String" placeholder="{{localize "PF2E.NPC.HPExtraInfoLabelPlaceholder"}}"/>
  85. </div>
  86. </div>
  87. <!-- INITIATIVE -->
  88. <div class="initiative side-bar-section">
  89. <div class="side-bar-section-header">
  90. <div class="side-bar-label">
  91. <i class="fa-solid fa-swords fa-fw"></i>
  92. <h4>{{localize "PF2E.InitiativeLabel"}}</h4>
  93. <a class="roll-icon roll-init{{#unless editable}} disabled{{/unless}}" data-action="roll-initiative">
  94. <i class="fa-solid fa-dice-d20"></i>
  95. <div>{{numberFormat data.attributes.initiative.totalModifier decimals=0 sign=true}}</div>
  96. </a>
  97. </div>
  98. </div>
  99. <div class="side-bar-section-content">
  100. <select name="system.attributes.initiative.statistic">
  101. {{#select data.attributes.initiative.statistic}}
  102. <option value="perception">{{localize "PF2E.PerceptionLabel"}}</option>
  103. {{#each data.sortedSkills as |skill|}}
  104. <option value="{{skill.slug}}">{{skill.label}}</option>
  105. {{/each}}
  106. {{/select}}
  107. </select>
  108. </div>
  109. </div>
  110. <!-- IMMUNITIES, WEAKNESSES, AND RESISTANCES -->
  111. <div class="immunities side-bar-section">
  112. <div class="side-bar-section-header">
  113. <div class="side-bar-label{{#unless data.attributes.immunities}} empty{{/unless}}">
  114. <i class="fa-solid fa-fw fa-ankh"></i>
  115. <h4>{{localize "PF2E.ImmunitiesLabel"}}</h4>
  116. </div>
  117. {{#if editable}}
  118. <div class="immunities-controls controls">
  119. <a data-action="edit-immunities" title="{{localize "PF2E.NPC.EditImmunities"}}"><i class="fa-solid fa-edit"></i></a>
  120. </div>
  121. {{/if}}
  122. </div>
  123. <div class="side-bar-section-content">
  124. {{#each data.attributes.immunities as |immunity|}}
  125. <div class="tag-legacy immunity" data-immunity="{{immunity.type}}">{{immunity.label}}</div>
  126. {{/each}}
  127. </div>
  128. </div>
  129. <div class="weaknesses side-bar-section">
  130. <div class="side-bar-section-header">
  131. <div class="side-bar-label{{#unless data.attributes.weaknesses}} empty{{/unless}}">
  132. <i class="fa-solid fa-fw fa-heart-broken"></i>
  133. <h4>{{localize "PF2E.WeaknessesLabel"}}</h4>
  134. </div>
  135. {{#if editable}}
  136. <div class="weaknesses-controls controls">
  137. <a data-action="edit-weaknesses" title="{{localize "PF2E.NPC.EditWeaknesses"}}"><i class="fa-solid fa-edit"></i></a>
  138. </div>
  139. {{/if}}
  140. </div>
  141. <div class="side-bar-section-content">
  142. {{#each data.attributes.weaknesses as |weakness|}}
  143. <div class="tag-legacy weakness" data-weakness="{{weakness.type}}">{{weakness.label}}</div>
  144. {{/each}}
  145. </div>
  146. </div>
  147. <div class="resistances side-bar-section">
  148. <div class="side-bar-section-header">
  149. <div class="side-bar-label{{#unless data.attributes.resistances}} empty{{/unless}}">
  150. <i class="fa-solid fa-fw fa-shield-virus"></i>
  151. <h4>{{localize "PF2E.ResistancesLabel"}}</h4>
  152. </div>
  153. {{#if editable}}
  154. <div class="resistances-controls controls">
  155. <a data-action="edit-resistances" title="{{localize "PF2E.NPC.EditResistances"}}"><i class="fa-solid fa-edit"></i></a>
  156. </div>
  157. {{/if}}
  158. </div>
  159. <div class="side-bar-section-content">
  160. {{#each data.attributes.resistances as |resistance|}}
  161. <div class="tag-legacy resistance" data-resistance="{{resistance.type}}">{{resistance.label}}</div>
  162. {{/each}}
  163. </div>
  164. </div>
  165. <div class="saves">
  166. {{#each data.saves as |save saveType|}}
  167. <div class="container" data-save="{{saveType}}">
  168. <a class="attribute-label rollable" title="{{save.breakdown}}">{{localize save.labelShort}}</a>
  169. <input type="text" value="{{numberFormat save.value decimals=0 sign=true}}" class="modifier adjustable{{#if save.adjustedHigher}} adjusted-higher{{else if save.adjustedLower}} adjusted-lower{{/if}}" data-property="system.saves.{{saveType}}.value" data-dtype="Number" placeholder="0" />
  170. </div>
  171. {{/each}}
  172. </div>
  173. <div class="save-details side-bar-section">
  174. <div class="side-bar-section-content">
  175. <input type="text" name="system.attributes.allSaves.value" value="{{data.attributes.allSaves.value}}" title="{{data.attributes.allSaves.value}}" placeholder="{{localize "PF2E.NPC.SavesExtraInfoLabelPlaceholder"}}" />
  176. </div>
  177. </div>
  178. <!-- MOVEMENT -->
  179. <div class="speed-section side-bar-section">
  180. <div class="side-bar-section-header">
  181. <div class="side-bar-label">
  182. <i class="fa-solid fa-fw fa-shoe-prints"></i>
  183. <h4>{{localize "PF2E.NPC.SpeedLabel"}}</h4>
  184. </div>
  185. {{#if editable}}
  186. <div class="speed-controls controls">
  187. <a class="tag-selector edit" data-tag-selector="speed-types" data-options="speedTypes" data-has-values="true" title="{{localize 'PF2E.NPC.EditSpeed'}}"><i class="fa-solid fa-edit"></i></a>
  188. </div>
  189. {{/if}}
  190. </div>
  191. <div class="side-bar-section-content">
  192. <div class="land-speed flexrow">
  193. <input type="number"
  194. class="land-speed-value adjustable{{#if speeds.land.adjustedHigher}} adjusted-higher{{else if speeds.land.adjustedLower}} adjusted-lower{{/if}}"
  195. data-property="system.attributes.speed.value"
  196. value="{{speeds.land.value}}"
  197. placeholder="0" />
  198. <input type="text" class="speed-details" name="system.attributes.speed.details" value="{{speeds.land.details}}" placeholder="{{localize "PF2E.NPC.SpeedExtraInfoLabelPlaceholder"}}" />
  199. </div>
  200. <div class="other-speeds">
  201. {{#each speeds as |speed type|}}
  202. {{#if (and speed (not (eq type "land")))}}
  203. <div class="tag-legacy speed" data-speed="{{type}}">
  204. {{localize speed.label}}
  205. <span class="adjustable{{#if speed.adjustedHigher}} adjusted-higher{{else if speed.adjustedLower}} adjusted-lower{{/if}}">
  206. {{speed.value}}
  207. </span>
  208. </div>
  209. {{/if}}
  210. {{/each}}
  211. </div>
  212. </div>
  213. </div>