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.

215 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 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 name="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 name="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 large" title="{{localize "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 type="number"
  136. value="{{item.system.acBonus}}"
  137. {{#if (gt item.acBonus item._source.system.acBonus)}}
  138. class="adjusted-higher"
  139. {{else if (lt item.acBonus item._source.system.acBonus)}}
  140. class="adjusted-lower"
  141. {{/if}}
  142. data-property="system.acBonus"
  143. data-value-base="{{json item._source.system.acBonus}}"
  144. />
  145. </div>
  146. <div class="form-group">
  147. <label>{{localize "PF2E.ArmorSpeedLabel"}}</label>
  148. <input type="number" name="system.speedPenalty" value="{{data.speedPenalty}}" />
  149. </div>
  150. {{#if item.isArmor}}
  151. <div class="form-group">
  152. <label>{{localize "PF2E.ArmorDexLabel"}}</label>
  153. <input type="number" name="system.dexCap" value="{{data.dexCap}}" />
  154. </div>
  155. <div class="form-group">
  156. <label>{{localize "PF2E.ArmorCheckLabel"}}</label>
  157. <input type="number"{{#if (and item.isArmor item.isShoddy)}} class="adjusted-lower"{{/if}} data-property="system.checkPenalty" data-value-base="{{item._source.system.checkPenalty}}" value="{{data.checkPenalty}}" />
  158. </div>
  159. <div class="form-group">
  160. <label>{{localize "PF2E.ArmorStrengthLabel"}}</label>
  161. <input type="number" name="system.strength" value="{{data.strength}}" />
  162. </div>
  163. {{/if}}
  164. <div class="form-group">
  165. <label for="{{item.uuid}}-hp">{{localize "PF2E.HitPointsHeader"}}</label>
  166. <div class="form-fields">
  167. <input id="{{item.uuid}}-hp" type="number" name="system.hp.value" value="{{data.hp.value}}" />
  168. /
  169. <input type="number"
  170. {{#if (gt item.system.hp.max item._source.system.hp.max)}}
  171. class="adjusted-higher"
  172. {{else if (lt item.system.hp.max item._source.system.hp.max)}}
  173. class="adjusted-lower"
  174. {{/if}}
  175. data-property="system.hp.max" data-value-base="{{item._source.system.hp.max}}" value="{{data.hp.max}}" />
  176. </div>
  177. </div>
  178. <div class="form-group">
  179. <label>{{localize "PF2E.ShieldHardnessLabel"}}</label>
  180. <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}}" />
  181. </div>
  182. <div class="form-group-stacked">
  183. <label>
  184. {{localize "PF2E.Item.Physical.OtherTags.Label"}}
  185. <i class="fa-solid fa-info-circle" data-action="hint-tooltip" title="PF2E.Item.Physical.OtherTags.Hint"></i>
  186. {{#if editable}}
  187. <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>
  188. {{/if}}
  189. </label>
  190. <ul class="traits-list tags">
  191. {{#each otherTags as |tag|}}
  192. <li class="tag tag_alt">{{tag.label}}</li>
  193. {{/each}}
  194. </ul>
  195. </div>