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

1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="form-group">
  2. <label for="{{fieldIdPrefix}}action-type">{{localize "PF2E.ActionActionsLabel"}}</label>
  3. <div class="form-fields">
  4. <select name="system.actionType.value" id="{{fieldIdPrefix}}action-type">
  5. {{#select data.actionType.value}}
  6. {{#each actionTypes as |name type|}}
  7. <option value="{{type}}">{{localize name}}</option>
  8. {{/each}}
  9. {{/select}}
  10. </select>
  11. {{#if (eq data.actionType.value "action")}}
  12. <select name="system.actions.value" data-dtype="Number">
  13. {{#select data.actions.value}}
  14. {{#each actionsNumber as |name type|}}
  15. <option value="{{type}}">{{localize name}}</option>
  16. {{/each}}
  17. {{/select}}
  18. </select>
  19. {{else}}
  20. <input type="hidden" name="system.actions.value" value="" />
  21. {{/if}}
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label for="{{fieldIdPrefix}}frequency">{{localize "PF2E.Frequency.Label"}}</label>
  26. <div class="form-fields">
  27. {{#if data.frequency}}
  28. <div class="frequency">
  29. <input type="number" name="system.frequency.max" id="{{fieldIdPrefix}}frequency" min="1" max="99" value="{{data.frequency.max}}" />
  30. <span>{{localize "PF2E.Frequency.per"}}</span>
  31. <select name="system.frequency.per">
  32. {{#select data.frequency.per}}
  33. {{#each @root.frequencies as |name type|}}
  34. <option value="{{type}}">{{localize name}}</option>
  35. {{/each}}
  36. {{/select}}
  37. </select>
  38. <a data-action="frequency-delete"><i class="fa-solid fa-fw fa-times"></i></a>
  39. </div>
  40. {{else}}
  41. <span class="frequency empty">
  42. {{localize "PF2E.Frequency.AtWill"}}
  43. <a data-action="frequency-add">({{localize "PF2E.AddShortLabel"}})</a>
  44. </span>
  45. {{/if}}
  46. </div>
  47. </div>