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.

86 lines
3.7 KiB

  1. <form>
  2. <h2>{{localize "token-variants.common.randomize"}}</h2>
  3. <div class="form-group">
  4. <label>On Token Create</label>
  5. <input type="checkbox" name="randomizer.tokenCreate" data-dtype="Boolean" {{#if randomizer.tokenCreate}}checked{{/if}}>
  6. </div>
  7. <div class="form-group">
  8. <label>On Token Copy+Paste</label>
  9. <input type="checkbox" name="randomizer.tokenCopyPaste" data-dtype="Boolean" {{#if randomizer.tokenCopyPaste}}checked{{/if}}>
  10. </div>
  11. <div class="form-group">
  12. <label>&nbsp;&nbsp;&nbsp;&nbsp; {{localize "token-variants.settings.randomizer.window.token-to-portrait"}}</label>
  13. <input type="checkbox" name="randomizer.tokenToPortrait" data-dtype="Boolean" {{#if randomizer.tokenToPortrait}}checked{{/if}}>
  14. </div>
  15. <hr />
  16. <div class="form-group">
  17. <label>{{localize "token-variants.settings.randomizer.window.different-images"}}</label>
  18. <input type="checkbox" name="randomizer.diffImages" data-dtype="Boolean" {{#if randomizer.diffImages}}checked{{/if}}>
  19. </div>
  20. <div class="form-group">
  21. <label>&nbsp;&nbsp;&nbsp;&nbsp; {{localize "token-variants.settings.randomizer.window.sync-images"}}</label>
  22. <input type="checkbox" name="randomizer.syncImages" data-dtype="Boolean" {{#if randomizer.syncImages}}checked{{/if}}>
  23. </div>
  24. <hr />
  25. <div class="form-group">
  26. <label>Prevent image repeats</label>
  27. <input type="checkbox" name="randomizer.nonRepeat" data-dtype="Boolean" {{#if randomizer.nonRepeat}}checked{{/if}}>
  28. <p class="notes">Tokens on the active scene will be checked to make sure there are no repeating images.</p>
  29. </div>
  30. <h2>Searches to include in image Randomization</h2>
  31. <div class="form-group">
  32. <label>Token Name</label>
  33. <input type="checkbox" name="randomizer.tokenName" data-dtype="Boolean" {{#if randomizer.tokenName}}checked{{/if}}>
  34. </div>
  35. <div class="form-group">
  36. <label>Actor Name</label>
  37. <input type="checkbox" name="randomizer.actorName" data-dtype="Boolean" {{#if randomizer.actorName}}checked{{/if}}>
  38. </div>
  39. <div class="form-group">
  40. <label>{{localize "token-variants.common.keywords"}}</label>
  41. <input type="checkbox" name="randomizer.keywords" data-dtype="Boolean" {{#if randomizer.keywords}}checked{{/if}}>
  42. </div>
  43. <div class="form-group">
  44. <label>{{localize "token-variants.common.shared"}} <i class="fas fa-share"></i></label>
  45. <input type="checkbox" name="randomizer.shared" data-dtype="Boolean" {{#if randomizer.shared}}checked{{/if}}>
  46. </div>
  47. <div class="form-group">
  48. <label>Wildcard *</label>
  49. <input type="checkbox" name="randomizer.wildcard" data-dtype="Boolean" {{#if randomizer.wildcard}}checked{{/if}}>
  50. </div>
  51. {{#if nameForgeActive}}
  52. <h2>Module: Name Forge</h2>
  53. <div class="form-group">
  54. <label>Randomize Token Name</label>
  55. <input type="checkbox" name="randomizer.nameForge.randomize" data-dtype="Boolean" {{#if randomizer.nameForge.randomize}}checked{{/if}}>
  56. </div>
  57. <div class="form-group">
  58. <label>Models</label>
  59. <button type="button" class="selectNameForgeModels">Select</button>
  60. <input type="text" name="randomizer.nameForge.models" value="{{randomizer.nameForge.models}}" hidden>
  61. </div>
  62. {{/if}}
  63. <footer class="sheet-footer flexrow">
  64. <button type="submit"><i class="far fa-save"></i>{{localize "token-variants.common.apply"}}</button>
  65. {{#if hasSettings}}
  66. <button type="submit" value="remove"><i class="fas fa-trash"></i>{{localize "token-variants.common.remove"}}</button>
  67. {{/if}}
  68. </footer>
  69. </form>