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.

256 lines
9.6 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 year ago
1 year ago
1 year ago
  1. <div class="form-group">
  2. <label>{{localize "PF2E.ArmorArmorTypeLabel"}}</label>
  3. <select data-property="system.category" data-value-base="{{item._source.system.category}}">
  4. {{#select data.category}}
  5. {{#each categories as |name type|}}
  6. <option value="{{type}}">{{localize name}}</option>
  7. {{/each}}
  8. {{/select}}
  9. </select>
  10. </div>
  11. {{#if (and item.isArmor (not item.isBarding))}}
  12. <div class="form-group">
  13. <label>{{localize "PF2E.ArmorGroupLabel"}}</label>
  14. <select data-property="system.group" data-value-base="{{item._source.system.group}}">
  15. {{#select item.group}}
  16. <option value=""></option>
  17. {{#each groups as |name type|}}
  18. <option value="{{type}}">{{localize name}}</option>
  19. {{/each}}
  20. {{/select}}
  21. </select>
  22. </div>
  23. <div class="form-group">
  24. <label>{{localize "PF2E.ArmorBaseLabel"}}</label>
  25. <select name="system.baseItem">
  26. {{#select item.baseType}}
  27. <option value=""></option>
  28. {{#each baseTypes as |name slug|}}
  29. <option value="{{slug}}">{{localize name}}</option>
  30. {{/each}}
  31. {{/select}}
  32. </select>
  33. </div>
  34. {{/if}}
  35. <div class="form-group">
  36. <label>{{localize "PF2E.PreciousMaterialLabel"}}</label>
  37. <select data-property="system.material" data-value-base="{{json item._source.system.material}}" data-dtype="JSON">
  38. {{#select preciousMaterials.value}}
  39. <option value="{&quot;type&quot;:null,&quot;grade&quot;:null}"></option>
  40. {{#each preciousMaterials.materials as |material|}}
  41. <optgroup label="{{material.label}}">
  42. {{#each material.grades as |grade|}}
  43. <option value="{{grade.value}}">
  44. {{localize "PF2E.Item.Weapon.MaterialAndRunes.MaterialOption" type=material.label grade=grade.label}}
  45. </option>
  46. {{/each}}
  47. </optgroup>
  48. {{/each}}
  49. {{/select}}
  50. </select>
  51. </div>
  52. {{#if (and item.isArmor (not item.isBarding))}}
  53. <div class="form-group">
  54. <label>{{localize "PF2E.PotencyRuneLabel"}}</label>
  55. <select name="system.potencyRune.value" data-dtype="Number">
  56. {{#select data.potencyRune.value}}
  57. {{#each fundamentalRunes.potency as |rune|}}
  58. <option value="{{rune.value}}">{{localize rune.name}}</option>
  59. {{/each}}
  60. {{/select}}
  61. </select>
  62. </div>
  63. <div class="form-group">
  64. <label>{{localize "PF2E.ResiliencyRuneLabel"}}</label>
  65. <select name="system.resiliencyRune.value">
  66. {{#select data.resiliencyRune.value}}
  67. {{#each fundamentalRunes.resilient as |rune|}}
  68. <option value="{{rune.slug}}">{{localize rune.name}}</option>
  69. {{/each}}
  70. {{/select}}
  71. </select>
  72. </div>
  73. {{#if propertyRuneSlots1}}
  74. <div class="form-group">
  75. <label>{{localize "PF2E.PropertyRuneLabel1"}}</label>
  76. <select name="system.propertyRune1.value">
  77. {{#select data.propertyRune1.value}}
  78. <option value=""></option>
  79. {{#each propertyRunes as |rune|}}
  80. <option value="{{rune.slug}}">{{localize rune.name}}</option>
  81. {{/each}}
  82. {{/select}}
  83. </select>
  84. </div>
  85. {{/if}}
  86. {{#if propertyRuneSlots2}}
  87. <div class="form-group">
  88. <label>{{localize "PF2E.PropertyRuneLabel2"}}</label>
  89. <select name="system.propertyRune2.value">
  90. {{#select data.propertyRune2.value}}
  91. <option value=""></option>
  92. {{#each propertyRunes as |rune|}}
  93. <option value="{{rune.slug}}">{{localize rune.name}}</option>
  94. {{/each}}
  95. {{/select}}
  96. </select>
  97. </div>
  98. {{/if}}
  99. {{#if propertyRuneSlots3}}
  100. <div class="form-group">
  101. <label>{{localize "PF2E.PropertyRuneLabel3"}}</label>
  102. <select name="system.propertyRune3.value">
  103. {{#select data.propertyRune3.value}}
  104. <option value=""></option>
  105. {{#each propertyRunes as |rune|}}
  106. <option value="{{rune.slug}}">{{localize rune.name}}</option>
  107. {{/each}}
  108. {{/select}}
  109. </select>
  110. </div>
  111. {{/if}}
  112. {{#if propertyRuneSlots4}}
  113. <div class="form-group">
  114. <label>{{localize "PF2E.PropertyRuneLabel4"}}</label>
  115. <select name="system.propertyRune4.value">
  116. {{#select data.propertyRune4.value}}
  117. <option value=""></option>
  118. {{#each propertyRunes as |rune|}}
  119. <option value="{{rune.slug}}">{{localize rune.name}}</option>
  120. {{/each}}
  121. {{/select}}
  122. </select>
  123. </div>
  124. {{/if}}
  125. <div class="form-group">
  126. <label class="large">
  127. {{localize "PF2E.Item.Armor.Specific.Label"}}
  128. <i class="fa-solid fa-info-circle" data-tooltip="PF2E.Item.Armor.Specific.Hint"></i>
  129. </label>
  130. <input type="checkbox" name="system.specific.value" {{checked data.specific.value}} />
  131. </div>
  132. {{/if}}
  133. <div class="form-group">
  134. <label>{{localize "PF2E.ArmorArmorLabel"}}</label>
  135. <input
  136. type="number"
  137. value="{{item.system.acBonus}}"
  138. data-property="system.acBonus"
  139. data-value-base="{{item._source.system.acBonus}}"
  140. {{#if (gt item.acBonus item._source.system.acBonus)}}
  141. class="adjusted-higher"
  142. {{else if (lt item.acBonus item._source.system.acBonus)}}
  143. class="adjusted-lower"
  144. {{/if}}
  145. />
  146. </div>
  147. <div class="form-group">
  148. <label>{{localize "PF2E.ArmorSpeedLabel"}}</label>
  149. <input
  150. type="number"
  151. value="{{data.speedPenalty}}"
  152. data-property="system.speedPenalty"
  153. data-value-base="{{item._source.system.speedPenalty}}"
  154. {{#if (gt item.speedPenalty item._source.system.speedPenalty)}}
  155. class="adjusted-higher"
  156. {{else if (lt item.speedPenalty item._source.system.speedPenalty)}}
  157. class="adjusted-lower"
  158. {{/if}}
  159. />
  160. </div>
  161. {{#if item.isArmor}}
  162. <div class="form-group">
  163. <label>{{localize "PF2E.ArmorDexLabel"}}</label>
  164. <input
  165. type="number"
  166. value="{{data.dexCap}}"
  167. data-property="system.dexCap"
  168. data-value-base="{{item._source.system.dexCap}}"
  169. {{#if (gt item.dexCap item._source.system.dexCap)}}
  170. class="adjusted-higher"
  171. {{else if (lt item.dexCap item._source.system.dexCap)}}
  172. class="adjusted-lower"
  173. {{/if}}
  174. />
  175. </div>
  176. <div class="form-group">
  177. <label>{{localize "PF2E.ArmorCheckLabel"}}</label>
  178. <input
  179. type="number"
  180. value="{{data.checkPenalty}}"
  181. data-property="system.checkPenalty"
  182. data-value-base="{{item._source.system.checkPenalty}}"
  183. {{#if (gt item.checkPenalty item._source.system.checkPenalty)}}
  184. class="adjusted-higher"
  185. {{else if (lt item.checkPenalty item._source.system.checkPenalty)}}
  186. class="adjusted-lower"
  187. {{/if}}
  188. />
  189. </div>
  190. <div class="form-group">
  191. <label>{{localize "PF2E.ArmorStrengthLabel"}}</label>
  192. <input
  193. type="number"
  194. value="{{data.strength}}"
  195. data-property="system.strength"
  196. data-value-base="{{item._source.system.strength}}"
  197. {{#if (gt item.strength item._source.system.strength)}}
  198. class="adjusted-lower"
  199. {{else if (lt item.strength item._source.system.strength)}}
  200. class="adjusted-higher"
  201. {{/if}}
  202. />
  203. </div>
  204. {{/if}}
  205. <div class="form-group">
  206. <label for="{{item.uuid}}-hp">{{localize "PF2E.HitPointsHeader"}}</label>
  207. <div class="form-fields">
  208. <input id="{{item.uuid}}-hp" type="number" name="system.hp.value" value="{{data.hp.value}}" />
  209. /
  210. <input type="number"
  211. {{#if (gt item.system.hp.max item._source.system.hp.max)}}
  212. class="adjusted-higher"
  213. {{else if (lt item.system.hp.max item._source.system.hp.max)}}
  214. class="adjusted-lower"
  215. {{/if}}
  216. data-property="system.hp.max" data-value-base="{{item._source.system.hp.max}}" value="{{data.hp.max}}" />
  217. </div>
  218. </div>
  219. <div class="form-group">
  220. <label>{{localize "PF2E.ShieldHardnessLabel"}}</label>
  221. <input type="number"{{#if (gt item.hardness item._source.system.hardness)}} class="adjusted-higher"{{else if (lt item.hardness item._source.system.hardness)}} class="adjusted-lower"{{/if}} data-property="system.hardness" data-value-base="{{item._source.system.hardness}}" value="{{item.hardness}}" />
  222. </div>
  223. <div class="form-group stacked">
  224. <label>
  225. {{localize "PF2E.Item.Physical.OtherTags.Label"}}
  226. <i class="fa-solid fa-info-circle" data-tooltip="PF2E.Item.Physical.OtherTags.Hint"></i>
  227. {{#if editable}}
  228. <a class="tag-selector" data-tag-selector="basic" data-config-types="otherArmorTags" data-title="PF2E.Item.Physical.OtherTags.Label" data-property="system.traits.otherTags"><i class="fa-solid fa-edit"></i></a>
  229. {{/if}}
  230. </label>
  231. <ul class="traits-list tags">
  232. {{#each otherTags as |tag|}}
  233. <li class="tag tag_alt">{{tag.label}}</li>
  234. {{/each}}
  235. </ul>
  236. </div>