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.

128 lines
5.8 KiB

1 year ago
1 year ago
  1. <div class="tab" data-group="main" data-tab="light">
  2. <nav class="tabs sheet-tabs light-tabs" data-group="light" aria-role="{{localize "LIGHT.NavLabel"}}">
  3. <a class="item" data-tab="basic" data-group="light"><i class="fa-solid fa-lightbulb"></i> {{localize "LIGHT.HeaderBasic"}}</a>
  4. <a class="item" data-tab="animation" data-group="light"><i class="fa-solid fa-play"></i> {{localize "LIGHT.HeaderAnimation"}}</a>
  5. <a class="item" data-tab="advanced" data-group="light"><i class="fa-solid fa-cogs"></i> {{localize "LIGHT.HeaderAdvanced"}}</a>
  6. </nav>
  7. <div class="tab" data-group="light" data-tab="basic">
  8. <div class="form-group slim">
  9. <label>{{localize "LIGHT.Radius"}} <span class="units">({{gridUnits}})</span></label>
  10. <div class="form-fields">
  11. <label>{{localize "LIGHT.Dim"}}</label>
  12. <input type="number" name="light.dim" placeholder="{{gridUnits}}" value="{{object.light.dim}}" step="any"/>
  13. <label>{{localize "LIGHT.Bright"}}</label>
  14. <input type="number" name="light.bright" placeholder="{{gridUnits}}" value="{{object.light.bright}}" step="any"/>
  15. </div>
  16. <p class="hint">{{localize "LIGHT.RadiusHint"}}</p>
  17. </div>
  18. <div class="form-group slim">
  19. <label>{{localize "LIGHT.Angle"}} <span class="units">({{localize "Degrees"}})</span></label>
  20. <div class="form-fields">
  21. <label>{{localize "Degrees"}}</label>
  22. <input type="number" name="light.angle" value="{{object.light.angle}}" placeholder="{{localize "Degrees"}}"/>
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label>{{localize "LIGHT.Color"}}</label>
  27. <div class="form-fields">
  28. {{colorPicker name="light.color" value=object.light.color}}
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label>{{localize "LIGHT.Alpha"}}</label>
  33. <div class="form-fields">
  34. {{rangePicker name="light.alpha" value=object.light.alpha min="0" max="1" step="0.05"}}
  35. </div>
  36. <p class="hint">{{localize "LIGHT.ColorHint"}}</p>
  37. </div>
  38. </div>
  39. <div class="tab" data-group="light" data-tab="animation">
  40. <div class="form-group">
  41. <label>{{localize "LIGHT.AnimationType"}}</label>
  42. <div class="form-fields">
  43. <select name="light.animation.type">
  44. {{selectOptions lightAnimations selected=object.light.animation.type localize=true}}
  45. </select>
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label>{{localize "LIGHT.AnimationSpeed"}}</label>
  50. <div class="form-fields">
  51. {{rangePicker name="light.animation.speed" value=object.light.animation.speed min="0" max="10" step="1"}}
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label>{{localize "LIGHT.AnimationReverse"}}</label>
  56. <div class="form-fields">
  57. <input type="checkbox" name="light.animation.reverse" {{checked object.light.animation.reverse}}/>
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label>{{localize "LIGHT.AnimationIntensity"}}</label>
  62. <div class="form-fields">
  63. {{rangePicker name="light.animation.intensity" value=object.light.animation.intensity min="1" max="10" step="1"}}
  64. </div>
  65. <p class="hint">{{localize "LIGHT.AnimationHint"}}</p>
  66. </div>
  67. </div>
  68. <div class="tab" data-group="light" data-tab="advanced">
  69. <div class="form-group">
  70. <label>{{localize "LIGHT.ColorationTechnique"}}</label>
  71. <div class="form-fields">
  72. <select name="light.coloration" data-dtype="Number">
  73. {{selectOptions colorationTechniques selected=object.light.coloration nameAttr="id" labelAttr="label" localize=true}}
  74. </select>
  75. </div>
  76. <p class="hint">{{localize "LIGHT.ColorationTechniqueHint"}}</p>
  77. </div>
  78. <div class="form-group">
  79. <label>{{localize "LIGHT.Luminosity"}}</label>
  80. <div class="form-fields">
  81. {{rangePicker name="light.luminosity" value=object.light.luminosity min="-1" max="1" step="0.05"}}
  82. </div>
  83. <p class="hint">{{localize "LIGHT.LuminosityHint"}}</p>
  84. </div>
  85. <div class="form-group">
  86. <label>{{localize "LIGHT.Attenuation"}}</label>
  87. <div class="form-fields">
  88. {{rangePicker name="light.attenuation" value=object.light.attenuation min="0" max="1" step="0.05"}}
  89. </div>
  90. <p class="hint">{{localize "LIGHT.AttenuationHint"}}</p>
  91. </div>
  92. <div class="form-group">
  93. <label>{{localize "LIGHT.Saturation"}}</label>
  94. <div class="form-fields">
  95. {{rangePicker name="light.saturation" value=object.light.saturation min="-1" max="1" step="0.05"}}
  96. </div>
  97. <p class="hint">{{localize "LIGHT.SaturationHint"}}</p>
  98. </div>
  99. <div class="form-group">
  100. <label>{{localize "LIGHT.Contrast"}}</label>
  101. <div class="form-fields">
  102. {{rangePicker name="light.contrast" value=object.light.contrast min="-1" max="1" step="0.05"}}
  103. </div>
  104. <p class="hint">{{localize "LIGHT.ContrastHint"}}</p>
  105. </div>
  106. <div class="form-group">
  107. <label>{{localize "LIGHT.Shadows"}}</label>
  108. <div class="form-fields">
  109. {{rangePicker name="light.shadows" value=object.light.shadows min="0" max="1" step="0.05"}}
  110. </div>
  111. <p class="hint">{{localize "LIGHT.ShadowsHint"}}</p>
  112. </div>
  113. </div>
  114. </div>