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.
 
 
 

50 lines
2.1 KiB

<div class="form-group">
<label for="{{fieldIdPrefix}}-action-type">{{localize "PF2E.ActionActionsLabel"}}</label>
<div class="form-fields">
<select name="system.actionType.value" id="{{fieldIdPrefix}}-action-type">
{{#select data.actionType.value}}
{{#each actionTypes as |name type|}}
<option value="{{type}}">{{localize name}}</option>
{{/each}}
{{/select}}
</select>
{{#if (eq data.actionType.value "action")}}
<select name="system.actions.value" data-dtype="Number">
{{#select data.actions.value}}
{{#each actionsNumber as |name type|}}
<option value="{{type}}">{{localize name}}</option>
{{/each}}
{{/select}}
</select>
{{else}}
<input type="hidden" name="system.actions.value" value="" />
{{/if}}
</div>
</div>
<div class="form-group">
<label for="{{fieldIdPrefix}}-frequency">{{localize "PF2E.Frequency.Label"}}</label>
<div class="form-fields">
{{#if data.frequency}}
<div class="frequency">
<input type="number" name="system.frequency.max" id="{{fieldIdPrefix}}-frequency" min="1" max="99" value="{{data.frequency.max}}" />
<span>{{localize "PF2E.Frequency.per"}}</span>
<select name="system.frequency.per">
{{#select data.frequency.per}}
{{#each @root.frequencies as |name type|}}
<option value="{{type}}">{{localize name}}</option>
{{/each}}
{{/select}}
</select>
<a data-action="frequency-delete"><i class="fa-solid fa-fw fa-times"></i></a>
</div>
{{else}}
<span class="frequency empty">
{{localize "PF2E.Frequency.AtWill"}}
<a data-action="frequency-add">({{localize "PF2E.AddShortLabel"}})</a>
</span>
{{/if}}
</div>
</div>