All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.

24 lines
1.1 KiB

1 year ago
  1. <div class="spaced-fields details-container-flex-row">
  2. <select name="system.rules.{{index}}.type">
  3. {{#select rule.type}}
  4. {{#each types as |label key|}}
  5. <option value="{{key}}">{{localize label}}</option>
  6. {{/each}}
  7. {{/select}}
  8. </select>
  9. <input type="text" class="value" name="system.rules.{{index}}.value" value="{{rule.value}}" placeholder="0" />
  10. {{#if (eq rule.type "regeneration")}}
  11. <label>{{localize "PF2E.RuleEditor.FastHealing.DeactivatedBy"}}</label>
  12. <input type="text" class="pf2e-tagify deactivated-by" name="system.rules.{{index}}.deactivatedBy" value="{{json rule.deactivatedBy}}" data-dtype="JSON"/>
  13. {{else}}
  14. <label>{{localize "PF2E.DetailsHeading"}}</label>
  15. <input type="text" class="details" name="system.rules.{{index}}.details" value="{{rule.details}}"/>
  16. {{/if}}
  17. </div>
  18. <div class="spaced-fields">
  19. <label>{{localize "PF2E.RuleEditor.General.Predicate"}}</label>
  20. <input type="text" name="system.rules.{{index}}.predicate" value="{{json rule.predicate}}" />
  21. </div>