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.

75 lines
3.0 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. {{#if (eq item.level 1)}}
  25. <div class="form-group">
  26. <label for="{{fieldIdPrefix}}only-level-1">{{localize "PF2E.Item.Feat.OnlyLevel1"}}</label>
  27. <div class="form-fields">
  28. <input
  29. type="checkbox"
  30. name="system.onlyLevel1"
  31. id="{{fieldIdPrefix}}only-level-1"
  32. {{checked (or data.onlyLevel1 hasLineageTrait)}} {{disabled hasLineageTrait}}
  33. />
  34. </div>
  35. </div>
  36. {{/if}}
  37. {{/if}}
  38. <div class="form-group stacked">
  39. <label for="{{fieldIdPrefix}}prerequisites">{{localize "PF2E.FeatPrereqLabel"}}</label>
  40. <div class="form-fields">
  41. <input
  42. class="pf2e-tagify"
  43. type="text"
  44. name="system.prerequisites.value"
  45. id="{{fieldIdPrefix}}prerequisites"
  46. value="{{json item.system.prerequisites.value}}"
  47. data-dtype="JSON"
  48. />
  49. </div>
  50. </div>
  51. {{#unless (eq item.system.actionType.value "passive")}}
  52. {{> "systems/pf2e/templates/items/partials/self-applied-effect.hbs"}}
  53. {{/unless}}
  54. {{#if canHaveKeyOptions}}
  55. <div class="form-group stacked">
  56. <label for="{{fieldIdPrefix}}key-options">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Label"}}</label>
  57. <div class="form-fields">
  58. <input class="pf2e-tagify"
  59. type="text"
  60. name="system.subfeatures.keyOptions"
  61. id="{{fieldIdPrefix}}key-options"
  62. value="{{json item.system.subfeatures.keyOptions}}"
  63. data-dtype="JSON"
  64. />
  65. </div>
  66. <p class="hint">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Hint"}}</p>
  67. </div>
  68. {{/if}}
  69. {{> "systems/pf2e/templates/items/partials/other-tags.hbs"}}