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.

37 lines
1.6 KiB

  1. <div class="form-group">
  2. <label for="{{fieldIdPrefix}}value" class="short">{{localize fields.value.label}}</label>
  3. {{{form.resolvableValue "value" fileInput=true}}}
  4. {{{form.resolvableAddBracket "value"}}}
  5. </div>
  6. {{{form.resolvableBrackets "value"}}}
  7. <div class="form-group">
  8. <label for="{{fieldIdPrefix}}tint" class="short">{{localize fields.tint.label}}</label>
  9. <div class="form-fields">
  10. {{colorPicker name=(concat "system.rules." index ".tint") id=(concat fieldIdPrefix "tint") value=object.tint}}
  11. </div>
  12. </div>
  13. <div class="form-group scale">
  14. <label for="{{fieldIdPrefix}}scale" class="short">
  15. {{localize fields.scale.label}} <span class="units">({{localize "Ratio"}})</span>
  16. </label>
  17. <div class="form-fields">
  18. <input type="checkbox" data-action="toggle-scale" {{checked scaleEnabled}} />
  19. {{rangePicker name=(concat "system.rules." index ".scale") value=object.scale id=(concat fieldIdPrefix "scale") min="0.2" max="3.0" step="0.1"}}
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label for="{{fieldIdPrefix}}alpha" class="short">{{localize fields.alpha.label}}</label>
  24. <div class="form-fields">
  25. {{rangePicker name=(concat "system.rules." index ".alpha") value=object.alpha min="0" max="1" step="0.05"}}
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label for="{{fieldIdPrefix}}predicate" class="short">{{localize fields.predicate.label}}</label>
  30. <input type="text" name="system.rules.{{index}}.predicate" id="{{fieldIdPrefix}}predicate" value="{{json rule.predicate}}" placeholder="[ ]" />
  31. </div>