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.

198 lines
7.7 KiB

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 name="preciousMaterial">
  38. {{#select preciousMaterials.value}}
  39. <option value=""></option>
  40. {{#each preciousMaterials.materials as |material materialKey|}}
  41. <optgroup label="{{material.label}}">
  42. {{#each material.grades as |grade gradeKey|}}
  43. <option value="{{materialKey}}|{{gradeKey}}">
  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. <option value="0"></option>
  58. {{#each armorPotencyRunes as |name type|}}
  59. <option value="{{type}}">{{localize name}}</option>
  60. {{/each}}
  61. {{/select}}
  62. </select>
  63. </div>
  64. <div class="form-group">
  65. <label>{{localize "PF2E.ResiliencyRuneLabel"}}</label>
  66. <select name="system.resiliencyRune.value">
  67. {{#select data.resiliencyRune.value}}
  68. <option value=""></option>
  69. {{#each armorResiliencyRunes as |name type|}}
  70. <option value="{{type}}">{{localize name}}</option>
  71. {{/each}}
  72. {{/select}}
  73. </select>
  74. </div>
  75. {{#if propertyRuneSlots1}}
  76. <div class="form-group">
  77. <label>{{localize "PF2E.PropertyRuneLabel1"}}</label>
  78. <select name="system.propertyRune1.value">
  79. {{#select data.propertyRune1.value}}
  80. <option value=""></option>
  81. {{#each armorPropertyRunes as |name type|}}
  82. <option value="{{type}}">{{localize name}}</option>
  83. {{/each}}
  84. {{/select}}
  85. </select>
  86. </div>
  87. {{/if}}
  88. {{#if propertyRuneSlots2}}
  89. <div class="form-group">
  90. <label>{{localize "PF2E.PropertyRuneLabel2"}}</label>
  91. <select name="system.propertyRune2.value">
  92. {{#select data.propertyRune2.value}}
  93. <option value=""></option>
  94. {{#each armorPropertyRunes as |name type|}}
  95. <option value="{{type}}">{{localize name}}</option>
  96. {{/each}}
  97. {{/select}}
  98. </select>
  99. </div>
  100. {{/if}}
  101. {{#if propertyRuneSlots3}}
  102. <div class="form-group">
  103. <label>{{localize "PF2E.PropertyRuneLabel3"}}</label>
  104. <select name="system.propertyRune3.value">
  105. {{#select data.propertyRune3.value}}
  106. <option value=""></option>
  107. {{#each armorPropertyRunes as |name type|}}
  108. <option value="{{type}}">{{localize name}}</option>
  109. {{/each}}
  110. {{/select}}
  111. </select>
  112. </div>
  113. {{/if}}
  114. {{#if propertyRuneSlots4}}
  115. <div class="form-group">
  116. <label>{{localize "PF2E.PropertyRuneLabel4"}}</label>
  117. <select name="system.propertyRune4.value">
  118. {{#select data.propertyRune4.value}}
  119. <option value=""></option>
  120. {{#each armorPropertyRunes as |name type|}}
  121. <option value="{{type}}">{{localize name}}</option>
  122. {{/each}}
  123. {{/select}}
  124. </select>
  125. </div>
  126. {{/if}}
  127. {{/if}}
  128. <div class="form-group">
  129. <label>{{localize "PF2E.ArmorArmorLabel"}}</label>
  130. <input type="number" name="system.armor.value" value="{{data.armor.value}}" />
  131. </div>
  132. <div class="form-group">
  133. <label>{{localize "PF2E.ArmorSpeedLabel"}}</label>
  134. <input type="number" name="system.speed.value" value="{{data.speed.value}}" />
  135. </div>
  136. {{#if item.isArmor}}
  137. <div class="form-group">
  138. <label>{{localize "PF2E.ArmorDexLabel"}}</label>
  139. <input type="number" name="system.dex.value" value="{{data.dex.value}}" />
  140. </div>
  141. <div class="form-group">
  142. <label>{{localize "PF2E.ArmorCheckLabel"}}</label>
  143. <input type="number"{{#if (and item.isArmor item.isShoddy)}} class="adjusted-lower"{{/if}} data-property="system.check.value" data-value-base="{{item._source.system.check.value}}" value="{{data.check.value}}" />
  144. </div>
  145. <div class="form-group">
  146. <label>{{localize "PF2E.ArmorStrengthLabel"}}</label>
  147. <input type="number" name="system.strength.value" value="{{data.strength.value}}" />
  148. </div>
  149. {{/if}}
  150. <div class="form-group">
  151. <label>{{localize "PF2E.MaxHitPointsHeader"}}</label>
  152. <input type="number"{{#if item.isShoddy}} class="adjusted-lower"{{/if}} data-property="system.hp.max" data-value-base="{{item._source.system.hp.max}}" value="{{data.hp.max}}" />
  153. </div>
  154. <div class="form-group">
  155. <label>{{localize "PF2E.HitPointsHeader"}}</label>
  156. <input type="number" name="system.hp.value" value="{{data.hp.value}}" />
  157. </div>
  158. <div class="form-group">
  159. <label>{{localize "PF2E.ShieldBrokenThresholdLabel"}}</label>
  160. <input type="number"{{#if item.isShoddy}} class="adjusted-lower"{{/if}} data-property="system.hp.brokenThreshold" data-value-base="{{item._source.system.hp.brokenThreshold}}" value="{{item.hitPoints.brokenThreshold}}" />
  161. </div>
  162. <div class="form-group">
  163. <label>{{localize "PF2E.ShieldHardnessLabel"}}</label>
  164. <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}}" />
  165. </div>
  166. <div class="form-group-stacked">
  167. <label>
  168. {{localize "PF2E.Item.Physical.OtherTags.Label"}}
  169. <i class="fas fa-info-circle other-tags-hint" title="PF2E.Item.Physical.OtherTags.Hint"></i>
  170. {{#if editable}}
  171. <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="fas fa-edit"></i></a>
  172. {{/if}}
  173. </label>
  174. <ul class="traits-list tags">
  175. {{#each otherTags as |tag|}}
  176. <li class="tag tag_alt">{{tag.label}}</li>
  177. {{/each}}
  178. </ul>
  179. </div>