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

{{> "systems/pf2e/templates/items/partials/ability-activation.hbs"}}
{{#if isFeat}}
<div class="form-group">
<label>{{localize "PF2E.Item.Feat.TakeMultiple.Label"}}</label>
<div class="details-container-flex-row">
<select{{#unless mandatoryTakeOnce}} name="system.maxTakable"{{/unless}} data-dtype="Number" {{disabled mandatoryTakeOnce}}>
{{#select data.maxTakable}}
<option value="1">{{localize "No"}}</option>
<option value="2">{{localize "PF2E.Item.Feat.TakeMultiple.Two"}}</option>
<option value="3">{{localize "PF2E.Item.Feat.TakeMultiple.Three"}}</option>
<option value="4">{{localize "PF2E.Item.Feat.TakeMultiple.Four"}}</option>
<option value="5">{{localize "PF2E.Item.Feat.TakeMultiple.Five"}}</option>
<option value="Infinity">{{localize "PF2E.Item.Feat.TakeMultiple.NoLimit"}}</option>
{{/select}}
</select>
{{#if mandatoryTakeOnce}}<input type="hidden" name="system.maxTakable" value="1" data-dtype="Number" />{{/if}}
</div>
</div>
<div class="form-group">
<label>{{localize "PF2E.Item.Feat.OnlyLevel1"}}</label>
<input type="checkbox" name="system.onlyLevel1" {{checked (or data.onlyLevel1 hasLineageTrait)}} {{disabled hasLineageTrait}} />
</div>
{{/if}}
<div class="form-group-stacked tags">
<label>{{localize "PF2E.FeatPrereqLabel"}}</label>
<input class="pf2e-tagify" type="text" name="system.prerequisites.value" value="{{prerequisites}}" data-dtype="JSON" />
</div>
{{#if canHaveKeyOptions}}
<div class="form-group">
<label>{{localize "PF2E.Item.Feat.KeyAbilityOptions.Label"}}</label>
<div class="form-fields">
<input class="pf2e-tagify"
type="text"
name="system.subfeatures.keyOptions"
value="{{json item.system.subfeatures.keyOptions}}"
data-dtype="JSON"
/>
</div>
<p class="hint">{{localize "PF2E.Item.Feat.KeyAbilityOptions.Hint"}}</p>
</div>
{{/if}}