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.

43 lines
2.1 KiB

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. {{#if canHaveKeyOptions}}
  29. <div class="form-group">
  30. <label>{{localize "PF2E.Item.Feat.KeyAbilityOptions.Label"}}</label>
  31. <div class="form-fields">
  32. <input class="pf2e-tagify"
  33. type="text"
  34. name="system.subfeatures.keyOptions"
  35. value="{{json item.system.subfeatures.keyOptions}}"
  36. data-dtype="JSON"
  37. />
  38. </div>
  39. <p class="hint">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Hint"}}</p>
  40. </div>
  41. {{/if}}