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.

47 lines
2.2 KiB

1 year ago
1 year ago
  1. {{> "systems/pf2e/templates/items/partials/ability-activation.hbs"}}
  2. {{#if isFeat}}
  3. <div class="form-group">
  4. <label>{{localize "PF2E.Item.Feat.TakeMultiple.Label"}}</label>
  5. <div class="details-container-flex-row">
  6. <select{{#unless mandatoryTakeOnce}} name="system.maxTakable"{{/unless}} data-dtype="Number" {{disabled mandatoryTakeOnce}}>
  7. {{#select data.maxTakable}}
  8. <option value="1">{{localize "No"}}</option>
  9. <option value="2">{{localize "PF2E.Item.Feat.TakeMultiple.Two"}}</option>
  10. <option value="3">{{localize "PF2E.Item.Feat.TakeMultiple.Three"}}</option>
  11. <option value="4">{{localize "PF2E.Item.Feat.TakeMultiple.Four"}}</option>
  12. <option value="5">{{localize "PF2E.Item.Feat.TakeMultiple.Five"}}</option>
  13. <option value="Infinity">{{localize "PF2E.Item.Feat.TakeMultiple.NoLimit"}}</option>
  14. {{/select}}
  15. </select>
  16. {{#if mandatoryTakeOnce}}<input type="hidden" name="system.maxTakable" value="1" data-dtype="Number" />{{/if}}
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label>{{localize "PF2E.Item.Feat.OnlyLevel1"}}</label>
  21. <input type="checkbox" name="system.onlyLevel1" {{checked (or data.onlyLevel1 hasLineageTrait)}} {{disabled hasLineageTrait}} />
  22. </div>
  23. {{/if}}
  24. <div class="form-group-stacked tags">
  25. <label>{{localize "PF2E.FeatPrereqLabel"}}</label>
  26. <input class="pf2e-tagify" type="text" name="system.prerequisites.value" value="{{prerequisites}}" data-dtype="JSON" />
  27. </div>
  28. {{#unless (eq item.system.actionType.value "passive")}}
  29. {{> "systems/pf2e/templates/items/partials/self-applied-effect.hbs"}}
  30. {{/unless}}
  31. {{#if canHaveKeyOptions}}
  32. <div class="form-group">
  33. <label>{{localize "PF2E.Item.Feat.KeyAbilityOptions.Label"}}</label>
  34. <div class="form-fields">
  35. <input class="pf2e-tagify"
  36. type="text"
  37. name="system.subfeatures.keyOptions"
  38. value="{{json item.system.subfeatures.keyOptions}}"
  39. data-dtype="JSON"
  40. />
  41. </div>
  42. <p class="hint">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Hint"}}</p>
  43. </div>
  44. {{/if}}