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.

31 lines
1.3 KiB

1 year ago
1 year ago
  1. <div class="form-group">
  2. <label class="short">{{localize "PF2E.RuleEditor.General.Value"}}</label>
  3. <div class="form-fields">
  4. {{{form.resolvableValue "value"}}}
  5. <select name="system.rules.{{index}}.type" class="short">
  6. {{#select rule.type}}
  7. {{#each types as |label key|}}
  8. <option value="{{key}}">{{localize label}}</option>
  9. {{/each}}
  10. {{/select}}
  11. </select>
  12. {{{form.resolvableAddBracket "value"}}}
  13. </div>
  14. </div>
  15. {{{form.resolvableBrackets "value"}}}
  16. {{#if (eq rule.type "regeneration")}}
  17. <div class="form-group">
  18. <label class="short">{{localize "PF2E.RuleEditor.FastHealing.DeactivatedBy"}}</label>
  19. <input type="text" class="pf2e-tagify deactivated-by" name="system.rules.{{index}}.deactivatedBy" value="{{json rule.deactivatedBy}}" data-dtype="JSON"/>
  20. </div>
  21. {{else}}
  22. <div class="form-group">
  23. <label class="short">{{localize "PF2E.DetailsHeading"}}</label>
  24. <input type="text" class="details" name="system.rules.{{index}}.details" value="{{rule.details}}"/>
  25. </div>
  26. {{/if}}
  27. <div class="form-group">
  28. <label class="short">{{localize "PF2E.RuleEditor.General.Predicate"}}</label>
  29. <input type="text" name="system.rules.{{index}}.predicate" value="{{json rule.predicate}}" />
  30. </div>