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.
 
 
 

239 rivejä
4.1 KiB

  1. define([
  2. ], function (
  3. ) {
  4. return {
  5. resources: {
  6. 'Festive Gift': {
  7. type: 'herb',
  8. max: 6
  9. },
  10. 'Giant Gift': {
  11. type: 'herb',
  12. max: 2
  13. },
  14. 'Gilded Gift': {
  15. type: 'herb',
  16. max: 1
  17. }
  18. },
  19. mobs: {
  20. elk: {
  21. rare: {
  22. chance: 3,
  23. count: 1,
  24. sheetName: 'server/mods/event-xmas/images/mobs.png',
  25. cell: 0,
  26. name: 'Rude Holf'
  27. }
  28. },
  29. 'titan crab': {
  30. rare: {
  31. chance: 3,
  32. count: 1,
  33. sheetName: 'server/mods/event-xmas/images/mobs.png',
  34. cell: 1,
  35. name: 'Frost Crab'
  36. }
  37. }
  38. },
  39. objects: {
  40. shopfather: {
  41. properties: {
  42. cpnNotice: {
  43. actions: {
  44. enter: {
  45. cpn: 'dialogue',
  46. method: 'talk',
  47. args: [{
  48. targetName: 'the winter man'
  49. }]
  50. },
  51. exit: {
  52. cpn: 'dialogue',
  53. method: 'stopTalk'
  54. }
  55. }
  56. }
  57. }
  58. },
  59. snow: {
  60. components: {
  61. cpnParticles: {
  62. simplify: function () {
  63. return {
  64. type: 'particles',
  65. blueprint: {
  66. color: {
  67. start: ['fafcfc', 'fafcfc'],
  68. end: ['fafcfc', 'fafcfc']
  69. },
  70. scale: {
  71. start: {
  72. min: 4,
  73. max: 8
  74. },
  75. end: {
  76. min: 4,
  77. max: 4
  78. }
  79. },
  80. speed: {
  81. start: {
  82. min: 10,
  83. max: 10
  84. },
  85. end: {
  86. min: 10,
  87. max: 10
  88. }
  89. },
  90. lifetime: {
  91. min: 30,
  92. max: 30
  93. },
  94. alpha: {
  95. start: 0.45,
  96. end: 0,
  97. },
  98. rotation: 90,
  99. randomScale: true,
  100. randomSpeed: true,
  101. chance: 0.03,
  102. randomColor: true,
  103. spawnType: 'rect',
  104. direction: {
  105. x: 0.1,
  106. y: -1
  107. },
  108. spawnRect: {
  109. x: 0,
  110. y: 0,
  111. w: 240,
  112. h: 40
  113. }
  114. }
  115. }
  116. }
  117. }
  118. }
  119. },
  120. lights: {
  121. components: {
  122. cpnParticles: {
  123. simplify: function () {
  124. return {
  125. type: 'particles',
  126. blueprint: {
  127. color: {
  128. start: ['ff4252', '80f643', 'db5538', 'faac45', 'a24eff', 'fc66f7'],
  129. end: ['ff4252', '80f643', 'db5538', 'faac45', 'a24eff', 'fc66f7']
  130. },
  131. scale: {
  132. start: {
  133. min: 10,
  134. max: 6
  135. },
  136. end: {
  137. min: 4,
  138. max: 6
  139. }
  140. },
  141. speed: {
  142. start: {
  143. min: 0,
  144. max: 0
  145. },
  146. end: {
  147. min: 0,
  148. max: 0
  149. }
  150. },
  151. lifetime: {
  152. min: 3,
  153. max: 3
  154. },
  155. alpha: {
  156. start: 1,
  157. end: 1
  158. },
  159. randomScale: true,
  160. randomSpeed: true,
  161. frequency: 1,
  162. randomColor: true,
  163. spawnType: 'rect',
  164. blendMode: 'add',
  165. spawnRect: {
  166. x: -15,
  167. y: -20,
  168. w: 30,
  169. h: 15
  170. }
  171. }
  172. }
  173. }
  174. }
  175. }
  176. },
  177. vlights: {
  178. components: {
  179. cpnParticles: {
  180. simplify: function () {
  181. return {
  182. type: 'particles',
  183. blueprint: {
  184. color: {
  185. start: ['ff4252', '80f643', 'db5538', 'faac45', 'a24eff', 'fc66f7'],
  186. end: ['ff4252', '80f643', 'db5538', 'faac45', 'a24eff', 'fc66f7']
  187. },
  188. scale: {
  189. start: {
  190. min: 10,
  191. max: 6
  192. },
  193. end: {
  194. min: 4,
  195. max: 6
  196. }
  197. },
  198. speed: {
  199. start: {
  200. min: 0,
  201. max: 0
  202. },
  203. end: {
  204. min: 0,
  205. max: 0
  206. }
  207. },
  208. lifetime: {
  209. min: 3,
  210. max: 3
  211. },
  212. alpha: {
  213. start: 1,
  214. end: 1
  215. },
  216. randomScale: true,
  217. randomSpeed: true,
  218. frequency: 1,
  219. randomColor: true,
  220. spawnType: 'rect',
  221. blendMode: 'add',
  222. spawnRect: {
  223. x: -20,
  224. y: -15,
  225. w: 15,
  226. h: 30
  227. }
  228. }
  229. }
  230. }
  231. }
  232. }
  233. }
  234. }
  235. };
  236. });