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.

126 lines
2.5 KiB

  1. export const DEFAULT_ACTIVE_EFFECT_CONFIG = {
  2. id: '',
  3. label: '',
  4. expression: '',
  5. codeExp: '',
  6. imgName: '',
  7. imgSrc: '',
  8. priority: 50,
  9. config: null,
  10. overlay: false,
  11. alwaysOn: false,
  12. tokens: undefined,
  13. disabled: false,
  14. overlayConfig: null,
  15. targetActors: null,
  16. group: 'Default',
  17. };
  18. export const DEFAULT_OVERLAY_CONFIG = {
  19. img: '',
  20. imgLinked: false,
  21. alpha: 1,
  22. scaleX: 1,
  23. scaleY: 1,
  24. offsetX: 0,
  25. offsetY: 0,
  26. angle: 0,
  27. filter: 'NONE',
  28. filterOptions: {},
  29. inheritTint: false,
  30. top: false,
  31. bottom: false,
  32. underlay: false,
  33. linkRotation: true,
  34. linkMirror: true,
  35. linkOpacity: false,
  36. linkScale: true,
  37. linkDimensionX: false,
  38. linkDimensionY: false,
  39. linkStageScale: false,
  40. mirror: false,
  41. tint: null,
  42. loop: true,
  43. playOnce: false,
  44. animation: {
  45. rotate: false,
  46. duration: 5000,
  47. clockwise: true,
  48. relative: false,
  49. },
  50. limitedUsers: [],
  51. limitedToOwner: false,
  52. limitOnProperty: '',
  53. alwaysVisible: false,
  54. text: {
  55. text: '',
  56. align: CONFIG.canvasTextStyle.align,
  57. fontSize: CONFIG.canvasTextStyle.fontSize,
  58. fontFamily: CONFIG.canvasTextStyle.fontFamily,
  59. fill: CONFIG.canvasTextStyle.fill,
  60. dropShadow: CONFIG.canvasTextStyle.dropShadow,
  61. strokeThickness: CONFIG.canvasTextStyle.strokeThickness,
  62. stroke: CONFIG.canvasTextStyle.stroke,
  63. curve: { angle: 0, radius: 0, invert: false },
  64. letterSpacing: CONFIG.canvasTextStyle.letterSpacing,
  65. repeating: false,
  66. wordWrap: false,
  67. wordWrapWidth: 200,
  68. breakWords: false,
  69. maxHeight: 0,
  70. },
  71. parentID: '',
  72. id: null,
  73. anchor: { x: 0.5, y: 0.5 },
  74. shapes: [],
  75. variables: [],
  76. interactivity: [],
  77. ui: false,
  78. };
  79. export const OVERLAY_SHAPES = {
  80. Rectangle: {
  81. type: 'rectangle',
  82. x: 0,
  83. y: 0,
  84. width: 100,
  85. height: 100,
  86. radius: 0,
  87. repeating: false,
  88. },
  89. Ellipse: {
  90. type: 'ellipse',
  91. x: 0,
  92. y: 0,
  93. width: 50,
  94. height: 50,
  95. repeating: false,
  96. },
  97. Polygon: {
  98. type: 'polygon',
  99. x: 0,
  100. y: 0,
  101. points: '0,1,0.95,0.31,0.59,-0.81,-0.59,-0.81,-0.95,0.31',
  102. scale: 50,
  103. repeating: false,
  104. },
  105. Torus: {
  106. type: 'torus',
  107. x: 0,
  108. y: 0,
  109. innerRadius: 50,
  110. outerRadius: 100,
  111. startAngle: 0,
  112. endAngle: 180,
  113. repeating: false,
  114. },
  115. };
  116. export const CORE_SHAPE = {
  117. line: {
  118. width: 1,
  119. color: '#000000',
  120. alpha: 1,
  121. },
  122. fill: { color: '#ffffff', color2: '', prc: '', alpha: 1 },
  123. };