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.
 
 
 

329 regels
4.6 KiB

  1. module.exports = {
  2. name: 'Fjolgard',
  3. level: 20,
  4. mobs: {
  5. default: {
  6. faction: 'fjolgard',
  7. deathRep: -5
  8. },
  9. innkeeper: {
  10. level: 25,
  11. deathRep: -7,
  12. rare: {
  13. count: 0
  14. }
  15. },
  16. peasant: {
  17. level: 10,
  18. rare: {
  19. count: 0
  20. }
  21. },
  22. 'royal guard': {
  23. level: 50,
  24. deathRep: -15,
  25. walkDistance: 0,
  26. rare: {
  27. count: 0
  28. }
  29. },
  30. 'princess': {
  31. level: 100,
  32. deathRep: -50,
  33. walkDistance: 0,
  34. rare: {
  35. count: 0
  36. }
  37. },
  38. 'royal guard': {
  39. level: 50,
  40. deathRep: -15,
  41. walkDistance: 0,
  42. rare: {
  43. count: 0
  44. }
  45. },
  46. 'disciple of flabbers': {
  47. level: 50,
  48. deathRep: -15,
  49. walkDistance: 1,
  50. rare: {
  51. count: 0
  52. }
  53. },
  54. estrid: {
  55. level: 25,
  56. deathRep: -7,
  57. walkDistance: 5,
  58. rare: {
  59. count: 0
  60. },
  61. properties: {
  62. cpnTrade: {
  63. items: {
  64. min: 5,
  65. max: 10
  66. },
  67. level: {
  68. min: 5,
  69. max: 15
  70. },
  71. markup: {
  72. buy: 0.25,
  73. sell: 2.5
  74. }
  75. }
  76. }
  77. },
  78. 'priest': {
  79. level: 50,
  80. deathRep: -15,
  81. walkDistance: 0,
  82. rare: {
  83. count: 0
  84. },
  85. properties: {
  86. cpnTrade: {
  87. items: {
  88. min: 5,
  89. max: 10,
  90. extra: [{
  91. type: 'skin',
  92. id: 'gaekatla druid',
  93. worth: 100,
  94. factions: [{
  95. id: 'gaekatla',
  96. tier: 7
  97. }]
  98. }]
  99. },
  100. faction: {
  101. id: 'gaekatla',
  102. tier: 6
  103. },
  104. markup: {
  105. buy: 0.25,
  106. sell: 10
  107. }
  108. }
  109. }
  110. },
  111. 'mud crab': {
  112. faction: 'gaekatla',
  113. grantRep: {
  114. fjolgard: 3,
  115. gaekatla: 10
  116. },
  117. level: 1,
  118. rare: {
  119. name: 'Big Red'
  120. }
  121. }
  122. },
  123. objects: {
  124. googzdoor: {
  125. properties: {
  126. cpnDoor: {
  127. locked: true,
  128. key: 'inn'
  129. }
  130. }
  131. },
  132. shopestrid: {
  133. properties: {
  134. cpnNotice: {
  135. actions: {
  136. enter: {
  137. cpn: 'dialogue',
  138. method: 'talk',
  139. args: [{
  140. targetName: 'estrid'
  141. }]
  142. },
  143. exit: {
  144. cpn: 'dialogue',
  145. method: 'stopTalk'
  146. }
  147. }
  148. }
  149. }
  150. },
  151. shoptola: {
  152. properties: {
  153. cpnNotice: {
  154. actions: {
  155. enter: {
  156. cpn: 'dialogue',
  157. method: 'talk',
  158. args: [{
  159. targetName: 'tola'
  160. }]
  161. },
  162. exit: {
  163. cpn: 'dialogue',
  164. method: 'stopTalk'
  165. }
  166. }
  167. }
  168. }
  169. },
  170. shoppriest: {
  171. properties: {
  172. cpnNotice: {
  173. actions: {
  174. enter: {
  175. cpn: 'dialogue',
  176. method: 'talk',
  177. args: [{
  178. targetName: 'priest'
  179. }]
  180. },
  181. exit: {
  182. cpn: 'dialogue',
  183. method: 'stopTalk'
  184. }
  185. }
  186. }
  187. }
  188. },
  189. greencandle: {
  190. components: {
  191. cpnLight: {
  192. simplify: function() {
  193. return {
  194. type: 'light',
  195. blueprint: {
  196. color: {
  197. start: ['80f643'],
  198. end: ['4ac441', '51fc9a', 'd07840']
  199. },
  200. lifetime: {
  201. min: 2,
  202. max: 6
  203. }
  204. }
  205. }
  206. }
  207. }
  208. }
  209. },
  210. alchgreenpot: {
  211. components: {
  212. cpnParticles: {
  213. simplify: function() {
  214. return {
  215. type: 'particles',
  216. blueprint: {
  217. color: {
  218. start: ['80f643', '80f643'],
  219. end: ['4ac441', '4ac441']
  220. },
  221. scale: {
  222. start: {
  223. min: 2,
  224. max: 10
  225. },
  226. end: {
  227. min: 0,
  228. max: 2
  229. }
  230. },
  231. speed: {
  232. start: {
  233. min: 4,
  234. max: 16
  235. },
  236. end: {
  237. min: 2,
  238. max: 8
  239. }
  240. },
  241. lifetime: {
  242. min: 1,
  243. max: 4
  244. },
  245. randomScale: true,
  246. randomSpeed: true,
  247. chance: 0.1,
  248. randomColor: true,
  249. spawnType: 'rect',
  250. spawnRect: {
  251. x: -15,
  252. y: -20,
  253. w: 30,
  254. h: 8
  255. }
  256. }
  257. }
  258. }
  259. }
  260. }
  261. },
  262. alchredpot: {
  263. components: {
  264. cpnParticles: {
  265. simplify: function() {
  266. return {
  267. type: 'particles',
  268. blueprint: {
  269. color: {
  270. start: ['ff4252', 'ff4252'],
  271. end: ['a82841', 'a82841']
  272. },
  273. scale: {
  274. start: {
  275. min: 2,
  276. max: 10
  277. },
  278. end: {
  279. min: 0,
  280. max: 2
  281. }
  282. },
  283. speed: {
  284. start: {
  285. min: 4,
  286. max: 16
  287. },
  288. end: {
  289. min: 2,
  290. max: 8
  291. }
  292. },
  293. lifetime: {
  294. min: 1,
  295. max: 4
  296. },
  297. randomScale: true,
  298. randomSpeed: true,
  299. chance: 0.2,
  300. randomColor: true,
  301. spawnType: 'rect',
  302. spawnRect: {
  303. x: -15,
  304. y: -28,
  305. w: 30,
  306. h: 8
  307. }
  308. }
  309. }
  310. }
  311. }
  312. }
  313. }
  314. }
  315. };