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.
 
 
 

708 lines
11 KiB

  1. module.exports = {
  2. name: 'fjolarok',
  3. level: [1, 10],
  4. resources: {
  5. Moonbell: {
  6. type: 'herb',
  7. max: 5
  8. },
  9. Skyblossom: {
  10. type: 'herb',
  11. max: 3
  12. },
  13. Emberleaf: {
  14. type: 'herb',
  15. max: 1
  16. }
  17. },
  18. objects: {
  19. 'sun carp school': {
  20. max: 9,
  21. type: 'fish',
  22. quantity: [6, 12]
  23. },
  24. estriddoor: {
  25. properties: {
  26. cpnDoor: {
  27. locked: true,
  28. key: 'estrid'
  29. }
  30. }
  31. },
  32. shophermit: {
  33. properties: {
  34. cpnNotice: {
  35. actions: {
  36. enter: {
  37. cpn: 'dialogue',
  38. method: 'talk',
  39. args: [{
  40. targetName: 'hermit'
  41. }]
  42. },
  43. exit: {
  44. cpn: 'dialogue',
  45. method: 'stopTalk'
  46. }
  47. }
  48. }
  49. }
  50. },
  51. shopestrid: {
  52. properties: {
  53. cpnNotice: {
  54. actions: {
  55. enter: {
  56. cpn: 'dialogue',
  57. method: 'talk',
  58. args: [{
  59. targetName: 'estrid'
  60. }]
  61. },
  62. exit: {
  63. cpn: 'dialogue',
  64. method: 'stopTalk'
  65. }
  66. }
  67. }
  68. }
  69. },
  70. shopvikar: {
  71. properties: {
  72. cpnNotice: {
  73. actions: {
  74. enter: {
  75. cpn: 'dialogue',
  76. method: 'talk',
  77. args: [{
  78. targetName: 'vikar'
  79. }]
  80. },
  81. exit: {
  82. cpn: 'dialogue',
  83. method: 'stopTalk'
  84. }
  85. }
  86. }
  87. }
  88. },
  89. shoppriest: {
  90. properties: {
  91. cpnNotice: {
  92. actions: {
  93. enter: {
  94. cpn: 'dialogue',
  95. method: 'talk',
  96. args: [{
  97. targetName: 'priest'
  98. }]
  99. },
  100. exit: {
  101. cpn: 'dialogue',
  102. method: 'stopTalk'
  103. }
  104. }
  105. }
  106. }
  107. },
  108. 'estuary entrance': {
  109. components: {
  110. cpnParticles: {
  111. simplify: function () {
  112. return {
  113. type: 'particles',
  114. blueprint: {
  115. color: {
  116. start: ['48edff', '80f643'],
  117. end: ['80f643', '48edff']
  118. },
  119. scale: {
  120. start: {
  121. min: 2,
  122. max: 10
  123. },
  124. end: {
  125. min: 0,
  126. max: 2
  127. }
  128. },
  129. speed: {
  130. start: {
  131. min: 4,
  132. max: 16
  133. },
  134. end: {
  135. min: 2,
  136. max: 8
  137. }
  138. },
  139. lifetime: {
  140. min: 1,
  141. max: 4
  142. },
  143. randomScale: true,
  144. randomSpeed: true,
  145. chance: 0.075,
  146. randomColor: true,
  147. spawnType: 'rect',
  148. spawnRect: {
  149. x: -32,
  150. y: -48,
  151. w: 64,
  152. h: 64
  153. }
  154. }
  155. }
  156. }
  157. }
  158. }
  159. },
  160. greencandle: {
  161. components: {
  162. cpnLight: {
  163. simplify: function () {
  164. return {
  165. type: 'light',
  166. blueprint: {
  167. color: {
  168. start: ['80f643'],
  169. end: ['4ac441', '51fc9a', 'd07840']
  170. },
  171. lifetime: {
  172. min: 2,
  173. max: 6
  174. }
  175. }
  176. }
  177. }
  178. }
  179. }
  180. },
  181. fountain: {
  182. components: {
  183. cpnParticles: {
  184. simplify: function () {
  185. return {
  186. type: 'particles',
  187. blueprint: {
  188. color: {
  189. start: ['48edff', '3fa7dd'],
  190. end: ['3a71ba', '42548d']
  191. },
  192. scale: {
  193. start: {
  194. min: 2,
  195. max: 10
  196. },
  197. end: {
  198. min: 0,
  199. max: 2
  200. }
  201. },
  202. speed: {
  203. start: {
  204. min: 4,
  205. max: 16
  206. },
  207. end: {
  208. min: 2,
  209. max: 8
  210. }
  211. },
  212. lifetime: {
  213. min: 2,
  214. max: 5
  215. },
  216. randomScale: true,
  217. randomSpeed: true,
  218. chance: 0.8,
  219. randomColor: true,
  220. spawnType: 'rect',
  221. spawnRect: {
  222. x: -10,
  223. y: -21,
  224. w: 20,
  225. h: 8
  226. }
  227. }
  228. }
  229. }
  230. }
  231. }
  232. },
  233. alchgreenpot: {
  234. components: {
  235. cpnParticles: {
  236. simplify: function () {
  237. return {
  238. type: 'particles',
  239. blueprint: {
  240. color: {
  241. start: ['80f643', '80f643'],
  242. end: ['4ac441', '4ac441']
  243. },
  244. scale: {
  245. start: {
  246. min: 2,
  247. max: 10
  248. },
  249. end: {
  250. min: 0,
  251. max: 2
  252. }
  253. },
  254. speed: {
  255. start: {
  256. min: 4,
  257. max: 16
  258. },
  259. end: {
  260. min: 2,
  261. max: 8
  262. }
  263. },
  264. lifetime: {
  265. min: 1,
  266. max: 4
  267. },
  268. randomScale: true,
  269. randomSpeed: true,
  270. chance: 0.1,
  271. randomColor: true,
  272. spawnType: 'rect',
  273. spawnRect: {
  274. x: -15,
  275. y: -20,
  276. w: 30,
  277. h: 8
  278. }
  279. }
  280. }
  281. }
  282. }
  283. }
  284. },
  285. alchredpot: {
  286. components: {
  287. cpnParticles: {
  288. simplify: function () {
  289. return {
  290. type: 'particles',
  291. blueprint: {
  292. color: {
  293. start: ['ff4252', 'ff4252'],
  294. end: ['a82841', 'a82841']
  295. },
  296. scale: {
  297. start: {
  298. min: 2,
  299. max: 10
  300. },
  301. end: {
  302. min: 0,
  303. max: 2
  304. }
  305. },
  306. speed: {
  307. start: {
  308. min: 4,
  309. max: 16
  310. },
  311. end: {
  312. min: 2,
  313. max: 8
  314. }
  315. },
  316. lifetime: {
  317. min: 1,
  318. max: 4
  319. },
  320. randomScale: true,
  321. randomSpeed: true,
  322. chance: 0.2,
  323. randomColor: true,
  324. spawnType: 'rect',
  325. spawnRect: {
  326. x: -15,
  327. y: -28,
  328. w: 30,
  329. h: 8
  330. }
  331. }
  332. }
  333. }
  334. }
  335. }
  336. }
  337. },
  338. mobs: {
  339. default: {
  340. regular: {
  341. drops: {
  342. chance: 40,
  343. rolls: 1
  344. }
  345. }
  346. },
  347. 'crazed seagull': {
  348. level: 1,
  349. rare: {
  350. count: 0
  351. },
  352. regular: {
  353. drops: {
  354. chance: 100,
  355. rolls: 1,
  356. noRandom: true,
  357. blueprints: [{
  358. maxLevel: 2,
  359. name: 'Family Heirloom',
  360. quality: 2,
  361. slot: 'neck',
  362. type: 'Pendant',
  363. noSalvage: true,
  364. stats: ['vit', 'regenHp', 'regenMana']
  365. }]
  366. }
  367. }
  368. },
  369. seagull: {
  370. level: 2,
  371. regular: {
  372. drops: {
  373. chance: 60,
  374. rolls: 1
  375. }
  376. },
  377. rare: {
  378. count: 0
  379. },
  380. questItem: {
  381. name: 'Gull Feather',
  382. sprite: [0, 0]
  383. }
  384. },
  385. bunny: {
  386. level: 3,
  387. regular: {
  388. drops: {
  389. chance: 56,
  390. rolls: 1
  391. }
  392. },
  393. rare: {
  394. name: 'Thumper'
  395. },
  396. questItem: {
  397. name: "Rabbit's Foot",
  398. sprite: [0, 1]
  399. }
  400. },
  401. elk: {
  402. level: 4,
  403. regular: {
  404. drops: {
  405. chance: 50,
  406. rolls: 1
  407. }
  408. },
  409. rare: {
  410. name: 'Ironhorn'
  411. },
  412. questItem: {
  413. name: "Elk Antler",
  414. sprite: [0, 2]
  415. }
  416. },
  417. flamingo: {
  418. level: 5,
  419. regular: {
  420. drops: {
  421. chance: 45,
  422. rolls: 1
  423. }
  424. }
  425. },
  426. crab: {
  427. level: 6,
  428. rare: {
  429. name: 'Squiggles'
  430. },
  431. questItem: {
  432. name: 'Severed Pincer',
  433. sprite: [0, 3]
  434. }
  435. },
  436. 'titan crab': {
  437. level: 7,
  438. rare: {
  439. name: 'The Pincer King'
  440. }
  441. },
  442. 'mud crab': {
  443. level: 9
  444. },
  445. frog: {
  446. level: 8,
  447. rare: {
  448. name: 'The Muck Prince'
  449. }
  450. },
  451. eagle: {
  452. level: 10,
  453. faction: 'hostile',
  454. rare: {
  455. name: 'Fleshripper'
  456. }
  457. },
  458. hermit: {
  459. level: 10,
  460. walkDistance: 0,
  461. attackable: false,
  462. rare: {
  463. count: 0
  464. },
  465. properties: {
  466. cpnTrade: {
  467. items: {
  468. min: 3,
  469. max: 5
  470. },
  471. forceItems: [{
  472. name: 'Flimsy Fishing Rod',
  473. type: 'Fishing Rod',
  474. slot: 'tool',
  475. quality: 0,
  476. worth: 5,
  477. sprite: [11, 0],
  478. infinite: true,
  479. noSalvage: true
  480. }],
  481. level: {
  482. min: 1,
  483. max: 5
  484. },
  485. markup: {
  486. buy: 0.25,
  487. sell: 2.5
  488. }
  489. }
  490. }
  491. },
  492. guard: {
  493. level: 50,
  494. attackable: false,
  495. walkDistance: 0,
  496. rare: {
  497. count: 0
  498. }
  499. },
  500. estrid: {
  501. level: 25,
  502. attackable: false,
  503. walkDistance: 5,
  504. rare: {
  505. count: 0
  506. },
  507. properties: {
  508. cpnTrade: {
  509. items: {
  510. min: 5,
  511. max: 10
  512. },
  513. level: {
  514. min: 5,
  515. max: 15
  516. },
  517. markup: {
  518. buy: 0.25,
  519. sell: 2.5
  520. }
  521. }
  522. }
  523. },
  524. vikar: {
  525. walkDistance: 0,
  526. attackable: false,
  527. rare: {
  528. count: 0
  529. },
  530. properties: {
  531. cpnTrade: {
  532. items: {
  533. min: 0,
  534. max: 0,
  535. extra: [{
  536. generate: true,
  537. spell: true,
  538. spellQuality: 'basic',
  539. infinite: true,
  540. spellName: 'magic missile',
  541. worth: 3
  542. }, {
  543. generate: true,
  544. spell: true,
  545. spellQuality: 'basic',
  546. infinite: true,
  547. spellName: 'ice spear',
  548. worth: 3
  549. }, {
  550. generate: true,
  551. spell: true,
  552. spellQuality: 'basic',
  553. infinite: true,
  554. spellName: 'smite',
  555. worth: 3
  556. }, {
  557. generate: true,
  558. spell: true,
  559. spellQuality: 'basic',
  560. infinite: true,
  561. spellName: 'consecrate',
  562. worth: 3
  563. }, {
  564. generate: true,
  565. spell: true,
  566. spellQuality: 'basic',
  567. infinite: true,
  568. spellName: 'slash',
  569. worth: 3
  570. }, {
  571. generate: true,
  572. spell: true,
  573. spellQuality: 'basic',
  574. infinite: true,
  575. spellName: 'charge',
  576. worth: 3
  577. }, {
  578. generate: true,
  579. spell: true,
  580. spellQuality: 'basic',
  581. infinite: true,
  582. spellName: 'flurry',
  583. worth: 3
  584. }, {
  585. generate: true,
  586. spell: true,
  587. spellQuality: 'basic',
  588. infinite: true,
  589. spellName: 'smokebomb',
  590. worth: 3
  591. }]
  592. },
  593. faction: {
  594. id: 'fjolgard',
  595. tier: 5
  596. },
  597. markup: {
  598. buy: 0.25,
  599. sell: 10
  600. }
  601. }
  602. }
  603. },
  604. luta: {
  605. walkDistance: 0,
  606. attackable: false,
  607. rare: {
  608. count: 0
  609. }
  610. },
  611. rodriguez: {
  612. attackable: false,
  613. level: 10,
  614. rare: {
  615. count: 0
  616. }
  617. },
  618. pig: {
  619. attackable: false,
  620. level: 3,
  621. rare: {
  622. count: 0
  623. }
  624. },
  625. goat: {
  626. attackable: false,
  627. level: 3,
  628. rare: {
  629. count: 0
  630. }
  631. },
  632. cow: {
  633. attackable: false,
  634. level: 3,
  635. rare: {
  636. count: 0
  637. }
  638. },
  639. priest: {
  640. level: 50,
  641. attackable: false,
  642. walkDistance: 0,
  643. rare: {
  644. count: 0
  645. },
  646. properties: {
  647. cpnTrade: {
  648. items: {
  649. min: 5,
  650. max: 10,
  651. extra: [{
  652. type: 'skin',
  653. id: 'gaekatla druid',
  654. worth: 100,
  655. factions: [{
  656. id: 'gaekatla',
  657. tier: 7
  658. }]
  659. }, {
  660. worth: 100,
  661. infinite: true,
  662. generate: true,
  663. name: `Cowl of Obscurity`,
  664. level: [4, 13],
  665. quality: 4,
  666. noSpell: true,
  667. slot: 'head',
  668. sprite: [2, 0],
  669. spritesheet: '../../../images/legendaryItems.png',
  670. type: 'Silk Cowl',
  671. description: `Imbued with the powers of Gaekatla herself.`,
  672. stats: ['hpMax', 'hpMax', 'int', 'int'],
  673. effects: [{
  674. type: 'healOnCrit',
  675. rolls: {
  676. i_chance: [20, 60],
  677. i_percentage: [3, 7]
  678. }
  679. }],
  680. factions: [{
  681. id: 'gaekatla',
  682. tier: 7
  683. }]
  684. }]
  685. },
  686. faction: {
  687. id: 'gaekatla',
  688. tier: 5
  689. },
  690. markup: {
  691. buy: 0.25,
  692. sell: 10
  693. }
  694. }
  695. }
  696. }
  697. }
  698. };