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.

72 lines
2.9 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. {{> "systems/pf2e/templates/items/partials/ability-activation.hbs"}}
  2. {{#if item.isFeat}}
  3. <div class="form-group">
  4. <label for="{{fieldIdPrefix}}max-takable">{{localize "PF2E.Item.Feat.TakeMultiple.Label"}}</label>
  5. <div class="form-fields">
  6. <select
  7. {{#unless mandatoryTakeOnce}} name="system.maxTakable"{{/unless}}
  8. id="{{fieldIdPrefix}}max-takable"
  9. data-dtype="Number"
  10. {{disabled mandatoryTakeOnce}}
  11. >
  12. {{#select data.maxTakable}}
  13. <option value="1">{{localize "No"}}</option>
  14. <option value="2">{{localize "PF2E.Item.Feat.TakeMultiple.Two"}}</option>
  15. <option value="3">{{localize "PF2E.Item.Feat.TakeMultiple.Three"}}</option>
  16. <option value="4">{{localize "PF2E.Item.Feat.TakeMultiple.Four"}}</option>
  17. <option value="5">{{localize "PF2E.Item.Feat.TakeMultiple.Five"}}</option>
  18. <option value="Infinity">{{localize "PF2E.Item.Feat.TakeMultiple.NoLimit"}}</option>
  19. {{/select}}
  20. </select>
  21. {{#if mandatoryTakeOnce}}<input type="hidden" name="system.maxTakable" value="1" data-dtype="Number" />{{/if}}
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label for="{{fieldIdPrefix}}only-level-1">{{localize "PF2E.Item.Feat.OnlyLevel1"}}</label>
  26. <div class="form-fields">
  27. <input
  28. type="checkbox"
  29. name="system.onlyLevel1"
  30. id="{{fieldIdPrefix}}only-level-1"
  31. {{checked (or data.onlyLevel1 hasLineageTrait)}} {{disabled hasLineageTrait}}
  32. />
  33. </div>
  34. </div>
  35. {{/if}}
  36. <div class="form-group stacked">
  37. <label for="{{fieldIdPrefix}}prerequisites">{{localize "PF2E.FeatPrereqLabel"}}</label>
  38. <div class="form-fields">
  39. <input
  40. class="pf2e-tagify"
  41. type="text"
  42. name="system.prerequisites.value"
  43. id="{{fieldIdPrefix}}prerequisites"
  44. value="{{json item.system.prerequisites.value}}"
  45. data-dtype="JSON"
  46. />
  47. </div>
  48. </div>
  49. {{#unless (eq item.system.actionType.value "passive")}}
  50. {{> "systems/pf2e/templates/items/partials/self-applied-effect.hbs"}}
  51. {{/unless}}
  52. {{#if canHaveKeyOptions}}
  53. <div class="form-group stacked">
  54. <label for="{{fieldIdPrefix}}key-options">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Label"}}</label>
  55. <div class="form-fields">
  56. <input class="pf2e-tagify"
  57. type="text"
  58. name="system.subfeatures.keyOptions"
  59. id="{{fieldIdPrefix}}key-options"
  60. value="{{json item.system.subfeatures.keyOptions}}"
  61. data-dtype="JSON"
  62. />
  63. </div>
  64. <p class="hint">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Hint"}}</p>
  65. </div>
  66. {{/if}}
  67. {{> "systems/pf2e/templates/items/partials/other-tags.hbs"}}