PageRenderTime 11ms CodeModel.GetById 1007ms RepoModel.GetById 1ms app.codeStats 0ms

/maps/srpg_pandemia_star_system.lua

http://space-rpg-mod.googlecode.com/
Lua | 1500 lines | 1487 code | 11 blank | 2 comment | 5 complexity | 76e603b4173b538352893b1e76709a2d MD5 | raw file
  1. zones = {
  2. [1] = {
  3. name = "Hestia Starbase",
  4. faction = 1,
  5. xs = 93,
  6. ys = 10,
  7. xe = 133,
  8. ye = 50,
  9. comm = {
  10. x1 = 109,
  11. y1 = 25,
  12. x2 = 112,
  13. y2 = 28,
  14. },
  15. },
  16. [2] = {
  17. name = "Asteroid GB10Z5",
  18. faction = 3,
  19. xs = 102,
  20. ys = 157,
  21. xe = 138,
  22. ye = 193,
  23. comm = {
  24. x1 = 115,
  25. y1 = 177,
  26. x2 = 126,
  27. y2 = 181,
  28. },
  29. },
  30. [3] = {
  31. name = "Freeport 1",
  32. faction = 6,
  33. xs = 23,
  34. ys = 107,
  35. xe = 53,
  36. ye = 137,
  37. comm = {
  38. x1 = 44,
  39. y1 = 115,
  40. x2 = 46,
  41. y2 = 118,
  42. },
  43. },
  44. [4] = {
  45. name = "Atlas Depot",
  46. faction = 4,
  47. xs = 231,
  48. ys = 110,
  49. xe = 261,
  50. ye = 130,
  51. comm = {
  52. x1 = 247,
  53. y1 = 120,
  54. x2 = 249,
  55. y2 = 127,
  56. },
  57. },
  58. [5] = {
  59. name = "Ithaca Research Station",
  60. faction = 1,
  61. xs = 38,
  62. ys = 233,
  63. xe = 77,
  64. ye = 272,
  65. comm = {
  66. x1 = 54,
  67. y1 = 241,
  68. x2 = 56,
  69. y2 = 245,
  70. },
  71. },
  72. [6] = {
  73. name = "Artemis Laboratory Complex",
  74. faction = 2,
  75. xs = 265,
  76. ys = 270,
  77. xe = 290,
  78. ye = 299,
  79. comm = {
  80. x1 = 271,
  81. y1 = 277,
  82. x2 = 276,
  83. y2 = 280,
  84. },
  85. },
  86. [7] = {
  87. name = "Hephaestus Shipyards",
  88. faction = 1,
  89. xs = 217,
  90. ys = 186,
  91. xe = 254,
  92. ye = 222,
  93. comm = {
  94. x1 = 239,
  95. y1 = 202,
  96. x2 = 242,
  97. y2 = 205,
  98. },
  99. },
  100. [8] = {
  101. name = "Eos Hypergate",
  102. faction = 4,
  103. xs = 99,
  104. ys = 337,
  105. xe = 116,
  106. ye = 359,
  107. comm = {
  108. x1 = 106,
  109. y1 = 351,
  110. x2 = 111,
  111. y2 = 355,
  112. },
  113. },
  114. [9] = {
  115. name = "Hub Hypergate",
  116. faction = 4,
  117. xs = 351,
  118. ys = 102,
  119. xe = 362,
  120. ye = 125,
  121. comm = {
  122. x1 = 356,
  123. y1 = 106,
  124. x2 = 359,
  125. y2 = 108,
  126. },
  127. },
  128. [10] = {
  129. name = "Outpost Faraway",
  130. faction = 8,
  131. xs = 313,
  132. ys = 179,
  133. xe = 348,
  134. ye = 202,
  135. comm = {
  136. x1 = 335,
  137. y1 = 188,
  138. x2 = 338,
  139. y2 = 191,
  140. },
  141. },
  142. [11] = {
  143. name = "Mercury Trading Post",
  144. faction = 9,
  145. xs = 285,
  146. ys = 47,
  147. xe = 307,
  148. ye = 68,
  149. comm = {
  150. x1 = 290,
  151. y1 = 52,
  152. x2 = 292,
  153. y2 = 54,
  154. },
  155. },
  156. }
  157. basedata = {
  158. [1] = {
  159. commtr = {
  160. [1] = {
  161. type = 4,
  162. price = 30,
  163. },
  164. },
  165. commb = {
  166. [1] = {
  167. type = 6,
  168. price = 160,
  169. },
  170. [2] = {
  171. type = 1,
  172. price = 30,
  173. },
  174. },
  175. eqtr = {
  176. [1] = {
  177. type = 1,
  178. price = 200,
  179. },
  180. [2] = {
  181. type = 2,
  182. price = 500,
  183. },
  184. [3] = {
  185. type = 3,
  186. price = 1500,
  187. },
  188. },
  189. shtr = {
  190. [1] = {
  191. type = 2,
  192. price = 169500,
  193. },
  194. },
  195. },
  196. [2] = {
  197. commtr = {
  198. [1] = {
  199. type = 6,
  200. price = 40,
  201. },
  202. },
  203. commb = {
  204. [1] = {
  205. type = 5,
  206. price = 160,
  207. },
  208. },
  209. shtr = {
  210. [1] = {
  211. type = 4,
  212. price = 130750,
  213. },
  214. },
  215. },
  216. [3] = {
  217. commtr = {
  218. [1] = {
  219. type = 8,
  220. price = 1500,
  221. },
  222. },
  223. eqtr = {
  224. [1] = {
  225. type = 4,
  226. price = 2150,
  227. },
  228. [2] = {
  229. type = 5,
  230. price = 4620,
  231. },
  232. },
  233. shtr = {
  234. [1] = {
  235. type = 3,
  236. price = 253250,
  237. },
  238. },
  239. },
  240. [4] = {
  241. commtr = {
  242. [1] = {
  243. type = 5,
  244. price = 80,
  245. },
  246. [2] = {
  247. type = 1,
  248. price = 25,
  249. },
  250. [3] = {
  251. type = 2,
  252. price = 15,
  253. },
  254. [4] = {
  255. type = 3,
  256. price = 400,
  257. },
  258. },
  259. },
  260. [5] = {
  261. commb = {
  262. [1] = {
  263. type = 4,
  264. price = 120,
  265. },
  266. [2] = {
  267. type = 2,
  268. price = 30,
  269. },
  270. },
  271. eqtr = {
  272. [1] = {
  273. type = 9,
  274. price = 2600,
  275. },
  276. [2] = {
  277. type = 10,
  278. price = 2740,
  279. },
  280. },
  281. },
  282. [6] = {
  283. commtr = {
  284. [1] = {
  285. type = 7,
  286. price = 2,
  287. },
  288. },
  289. commb = {
  290. [1] = {
  291. type = 8,
  292. price = 3000,
  293. },
  294. },
  295. eqtr = {
  296. [1] = {
  297. type = 11,
  298. price = 2370,
  299. },
  300. [2] = {
  301. type = 12,
  302. price = 4740,
  303. },
  304. },
  305. shtr = {
  306. [1] = {
  307. type = 9,
  308. price = 534730,
  309. },
  310. [2] = {
  311. type = 12,
  312. price = 822580,
  313. },
  314. },
  315. },
  316. [7] = {
  317. commb = {
  318. [1] = {
  319. type = 3,
  320. price = 800,
  321. },
  322. [2] = {
  323. type = 4,
  324. price = 90,
  325. },
  326. },
  327. eqtr = {
  328. [1] = {
  329. type = 13,
  330. price = 12500,
  331. },
  332. [2] = {
  333. type = 14,
  334. price = 25175,
  335. },
  336. [3] = {
  337. type = 15,
  338. price = 45250,
  339. },
  340. [4] = {
  341. type = 16,
  342. price = 74650,
  343. },
  344. [5] = {
  345. type = 17,
  346. price = 123140,
  347. },
  348. },
  349. shtr = {
  350. [1] = {
  351. type = 6,
  352. price = 863500,
  353. },
  354. [2] = {
  355. type = 7,
  356. price = 1474730,
  357. },
  358. [3] = {
  359. type = 8,
  360. price = 2340910,
  361. },
  362. },
  363. },
  364. [10] = {
  365. shtr = {
  366. [1] = {
  367. type = 10,
  368. price = 673150,
  369. },
  370. [2] = {
  371. type = 11,
  372. price = 756345,
  373. },
  374. },
  375. eqtr = {
  376. [1] = {
  377. type = 20,
  378. price = 27230,
  379. },
  380. [2] = {
  381. type = 21,
  382. price = 42170,
  383. },
  384. },
  385. commb = {
  386. [1] = {
  387. type = 1,
  388. price = 75,
  389. },
  390. [2] = {
  391. type = 2,
  392. price = 30,
  393. },
  394. },
  395. },
  396. [11] = {
  397. commtr = {
  398. [1] = {
  399. type = 6,
  400. price = 20,
  401. },
  402. [2] = {
  403. type = 4,
  404. price = 20,
  405. },
  406. },
  407. eqtr = {
  408. [1] = {
  409. type = 18,
  410. price = 3500,
  411. },
  412. [2] = {
  413. type = 19,
  414. price = 4250,
  415. },
  416. },
  417. shtr = {
  418. [1] = {
  419. type = 5,
  420. price = 364100,
  421. },
  422. [2] = {
  423. type = 13,
  424. price = 989350,
  425. },
  426. },
  427. },
  428. }
  429. lanes = {
  430. [1] = {
  431. from = 1,
  432. to = 2,
  433. x = 116,
  434. y = 43,
  435. ex = 116,
  436. ey = 157,
  437. sx = 0,
  438. sy = 5,
  439. },
  440. [2] = {
  441. from = 1,
  442. to = 3,
  443. x = 107,
  444. y = 43,
  445. ex = 47,
  446. ey = 103,
  447. sx = -5,
  448. sy = 5,
  449. },
  450. [3] = {
  451. from = 2,
  452. to = 5,
  453. x = 106,
  454. y = 157,
  455. ex = 58,
  456. ey = 237,
  457. sx = -3,
  458. sy = 5,
  459. },
  460. [4] = {
  461. from = 9,
  462. to = 11,
  463. x = 349,
  464. y = 111,
  465. ex = 292,
  466. ey = 65,
  467. sx = -5,
  468. sy = -4,
  469. },
  470. [5] = {
  471. from = 9,
  472. to = 10,
  473. x = 354,
  474. y = 119,
  475. ex = 328,
  476. ey = 184,
  477. sx = -2,
  478. sy = 5,
  479. },
  480. [6] = {
  481. from = 10,
  482. to = 7,
  483. x = 321,
  484. y = 187,
  485. ex = 226,
  486. ey = 187,
  487. sx = -5,
  488. sy = 0,
  489. },
  490. [7] = {
  491. from = 10,
  492. to = 6,
  493. x = 321,
  494. y = 193,
  495. ex = 261,
  496. ey = 268,
  497. sx = -4,
  498. sy = 5,
  499. },
  500. [8] = {
  501. from = 9,
  502. to = 4,
  503. x = 349,
  504. y = 114,
  505. ex = 236,
  506. ey = 114,
  507. sx = -5,
  508. sy = 0,
  509. },
  510. [9] = {
  511. from = 5,
  512. to = 8,
  513. x = 71,
  514. y = 255,
  515. ex = 102,
  516. ey = 332,
  517. sx = 2,
  518. sy = 5,
  519. },
  520. }
  521. sectors = {
  522. [1] = {
  523. name = "Hub",
  524. x1 = 0,
  525. y1 = 0,
  526. x2 = 204,
  527. y2 = 399,
  528. },
  529. [2] = {
  530. name = "Eos",
  531. x1 = 206,
  532. y1 = 0,
  533. x2 = 399,
  534. y2 = 399,
  535. },
  536. }
  537. gates = {
  538. [1] = {
  539. from = 1,
  540. to = 2,
  541. x = 100,
  542. y = 338,
  543. ex = 362,
  544. ey = 122,
  545. },
  546. }
  547. astfields = {
  548. [1] = {
  549. density = 1,
  550. comm = 1,
  551. xs = 20,
  552. ys = 3,
  553. xe = 40,
  554. ye = 23,
  555. },
  556. }
  557. -- FACTIONS
  558. factions = {
  559. [0] = {
  560. name = "Independent Pilots",
  561. initrep = 0,
  562. tag = "",
  563. },
  564. [1] = {
  565. name = "Biolith Inc.",
  566. initrep = 10,
  567. tag = "[BIO]",
  568. allies = {3,4,8,9},
  569. enemies = {5},
  570. },
  571. [2] = {
  572. name = "Minotaur Weapons Systems",
  573. initrep = 10,
  574. tag = "[MWS]",
  575. allies = {3,4,8,9},
  576. enemies = {5},
  577. },
  578. [3] = {
  579. name = "Hannan Mining Facilities",
  580. initrep = 10,
  581. tag = "[HMF]",
  582. allies = {1,2,4,8,9},
  583. enemies = {5},
  584. },
  585. [4] = {
  586. name = "TeleTec Inc.",
  587. initrep = 10,
  588. tag = "[TEL]",
  589. allies = {1,2,3,8,9},
  590. enemies = {5},
  591. },
  592. [5] = {
  593. name = "Les Flibustieres",
  594. initrep = -25,
  595. tag = "[FBS]",
  596. enemies = {1,2,3,4,8,9},
  597. },
  598. [6] = {
  599. name = "The Independents",
  600. initrep = 0,
  601. tag = "[IND]",
  602. },
  603. [7] = {
  604. name = "UNKNOWN",
  605. initrep = 0,
  606. tag = "[?]",
  607. },
  608. [8] = {
  609. name = "Far Space Research",
  610. initrep = 0,
  611. tag = "[FSR]",
  612. allies = {1,2,3,4,9},
  613. enemies = {5},
  614. },
  615. [9] = {
  616. name = "Core Worlds Exports",
  617. initrep = 0,
  618. tag = "[CWE]",
  619. allies = {1,2,3,4},
  620. enemies = {5},
  621. },
  622. }
  623. -- COMMODITIES
  624. comms = {
  625. [1] = {
  626. name = "Water",
  627. },
  628. [2] = {
  629. name = "Food Rations",
  630. },
  631. [3] = {
  632. name = "Heavy Machinery",
  633. },
  634. [4] = {
  635. name = "Exurum",
  636. },
  637. [5] = {
  638. name = "ZP Energy Rods",
  639. },
  640. [6] = {
  641. name = "Durium",
  642. },
  643. [7] = {
  644. name = "Nuclear Waste",
  645. func = function(id) energy[id]=energy[id]+20 end,
  646. },
  647. [8] = {
  648. name = "MOX Fuel",
  649. func = function(id) energy[id]=energy[id]+100 end,
  650. },
  651. [9] = {
  652. name = "Shield Booster Mk I",
  653. func = function(id) shield[id]=shield[id]+100 end,
  654. },
  655. [10] = {
  656. name = "Shield Booster Mk II",
  657. func = function(id) shield[id]=shield[id]+1000 end,
  658. },
  659. }
  660. ships = {
  661. [1] = {
  662. name = "Essex",
  663. shield = 500,
  664. armor = 250,
  665. energy = 750,
  666. energyr = 2,
  667. smod = 10,
  668. cargo = 14,
  669. wslots = {
  670. [1] = {
  671. type = "laser",
  672. lvl = 3,
  673. },
  674. [2] = {
  675. type = "omni",
  676. lvl = 2,
  677. },
  678. [3] = {
  679. type = "omni",
  680. lvl = 2,
  681. },
  682. }
  683. },
  684. [2] = {
  685. name = "Lexington",
  686. shield = 750,
  687. armor = 500,
  688. energy = 1000,
  689. energyr = 3,
  690. smod = 9,
  691. cargo = 21,
  692. wslots = {
  693. [1] = {
  694. type = "omni",
  695. lvl = 5,
  696. },
  697. [2] = {
  698. type = "omni",
  699. lvl = 5,
  700. },
  701. [3] = {
  702. type = "omni",
  703. lvl = 4,
  704. },
  705. [4] = {
  706. type = "omni",
  707. lvl = 4,
  708. },
  709. }
  710. },
  711. [3] = {
  712. name = "Liberty",
  713. shield = 1250,
  714. armor = 750,
  715. energy = 1500,
  716. energyr = 5,
  717. smod = 8,
  718. cargo = 28,
  719. wslots = {
  720. [1] = {
  721. type = "laser",
  722. lvl = 8,
  723. },
  724. [2] = {
  725. type = "omni",
  726. lvl = 8,
  727. },
  728. [3] = {
  729. type = "omni",
  730. lvl = 7,
  731. },
  732. [4] = {
  733. type = "omni",
  734. lvl = 7,
  735. },
  736. [5] = {
  737. type = "omni",
  738. lvl = 7,
  739. },
  740. }
  741. },
  742. [4] = {
  743. name = "Drone",
  744. shield = 650,
  745. armor = 325,
  746. energy = 750,
  747. energyr = 3,
  748. smod = 11,
  749. cargo = 28,
  750. wslots = {
  751. [1] = {
  752. type = "laser",
  753. lvl = 5,
  754. },
  755. [2] = {
  756. type = "laser",
  757. lvl = 5,
  758. },
  759. }
  760. },
  761. [5] = {
  762. name = "Bumblebee",
  763. shield = 1100,
  764. armor = 650,
  765. energy = 950,
  766. energyr = 4,
  767. smod = 10,
  768. cargo = 35,
  769. wslots = {
  770. [1] = {
  771. type = "laser",
  772. lvl = 5,
  773. },
  774. [2] = {
  775. type = "laser",
  776. lvl = 5,
  777. },
  778. [3] = {
  779. type = "omni",
  780. lvl = 4,
  781. },
  782. }
  783. },
  784. [6] = {
  785. name = "Rapier",
  786. shield = 2750,
  787. armor = 1500,
  788. energy = 3500,
  789. energyr = 7,
  790. smod = 6,
  791. cargo = 21,
  792. wslots = {
  793. [1] = {
  794. type = "laser",
  795. lvl = 7,
  796. },
  797. [2] = {
  798. type = "laser",
  799. lvl = 7,
  800. },
  801. [3] = {
  802. type = "omni",
  803. lvl = 6,
  804. },
  805. [4] = {
  806. type = "omni",
  807. lvl = 6,
  808. },
  809. [5] = {
  810. type = "omni",
  811. lvl = 6,
  812. },
  813. }
  814. },
  815. [7] = {
  816. name = "Sword",
  817. shield = 3500,
  818. armor = 2150,
  819. energy = 4500,
  820. energyr = 8,
  821. smod = 5,
  822. cargo = 28,
  823. wslots = {
  824. [1] = {
  825. type = "laser",
  826. lvl = 8,
  827. },
  828. [2] = {
  829. type = "laser",
  830. lvl = 8,
  831. },
  832. [3] = {
  833. type = "omni",
  834. lvl = 7,
  835. },
  836. [4] = {
  837. type = "omni",
  838. lvl = 7,
  839. },
  840. [5] = {
  841. type = "omni",
  842. lvl = 7,
  843. },
  844. }
  845. },
  846. [8] = {
  847. name = "Saber",
  848. shield = 5000,
  849. armor = 3250,
  850. energy = 5500,
  851. energyr = 10,
  852. smod = 3,
  853. cargo = 28,
  854. wslots = {
  855. [1] = {
  856. type = "laser",
  857. lvl = 9,
  858. },
  859. [2] = {
  860. type = "laser",
  861. lvl = 9,
  862. },
  863. [3] = {
  864. type = "omni",
  865. lvl = 8,
  866. },
  867. [4] = {
  868. type = "omni",
  869. lvl = 8,
  870. },
  871. [5] = {
  872. type = "omni",
  873. lvl = 8,
  874. },
  875. }
  876. },
  877. [9] = {
  878. name = "Orion",
  879. shield = 1675,
  880. armor = 925,
  881. energy = 2000,
  882. energyr = 6,
  883. smod = 7,
  884. cargo = 28,
  885. wslots = {
  886. [1] = {
  887. type = "laser",
  888. lvl = 9,
  889. },
  890. [2] = {
  891. type = "laser",
  892. lvl = 8,
  893. },
  894. [3] = {
  895. type = "omni",
  896. lvl = 8,
  897. },
  898. [4] = {
  899. type = "omni",
  900. lvl = 7,
  901. },
  902. [5] = {
  903. type = "omni",
  904. lvl = 7,
  905. },
  906. }
  907. },
  908. [10] = {
  909. name = "Poseidon",
  910. shield = 2000,
  911. armor = 1000,
  912. energy = 2500,
  913. energyr = 7,
  914. smod = 8,
  915. cargo = 21,
  916. wslots = {
  917. [1] = {
  918. type = "laser",
  919. lvl = 8,
  920. },
  921. [2] = {
  922. type = "laser",
  923. lvl = 8,
  924. },
  925. [3] = {
  926. type = "omni",
  927. lvl = 8,
  928. },
  929. [4] = {
  930. type = "omni",
  931. lvl = 8,
  932. },
  933. [5] = {
  934. type = "omni",
  935. lvl = 8,
  936. },
  937. }
  938. },
  939. [11] = {
  940. name = "Phoenix",
  941. shield = 2250,
  942. armor = 1250,
  943. energy = 2750,
  944. energyr = 8,
  945. smod = 7,
  946. cargo = 21,
  947. wslots = {
  948. [1] = {
  949. type = "laser",
  950. lvl = 8,
  951. },
  952. [2] = {
  953. type = "laser",
  954. lvl = 8,
  955. },
  956. [3] = {
  957. type = "omni",
  958. lvl = 7,
  959. },
  960. [4] = {
  961. type = "omni",
  962. lvl = 7,
  963. },
  964. [5] = {
  965. type = "omni",
  966. lvl = 7,
  967. },
  968. [6] = {
  969. type = "omni",
  970. lvl = 7,
  971. },
  972. }
  973. },
  974. [12] = {
  975. name = "Pegasus",
  976. shield = 2500,
  977. armor = 1500,
  978. energy = 3000,
  979. energyr = 8,
  980. smod = 6,
  981. cargo = 28,
  982. wslots = {
  983. [1] = {
  984. type = "laser",
  985. lvl = 9,
  986. },
  987. [2] = {
  988. type = "laser",
  989. lvl = 9,
  990. },
  991. [3] = {
  992. type = "omni",
  993. lvl = 8,
  994. },
  995. [4] = {
  996. type = "omni",
  997. lvl = 8,
  998. },
  999. [5] = {
  1000. type = "omni",
  1001. lvl = 8,
  1002. },
  1003. [6] = {
  1004. type = "omni",
  1005. lvl = 8,
  1006. },
  1007. }
  1008. },
  1009. [13] = {
  1010. name = "Barge",
  1011. shield = 2000,
  1012. armor = 1500,
  1013. energy = 1250,
  1014. energyr = 5,
  1015. smod = 7,
  1016. cargo = 49,
  1017. wslots = {
  1018. [1] = {
  1019. type = "laser",
  1020. lvl = 7,
  1021. },
  1022. [2] = {
  1023. type = "laser",
  1024. lvl = 7,
  1025. },
  1026. [3] = {
  1027. type = "omni",
  1028. lvl = 6,
  1029. },
  1030. [3] = {
  1031. type = "omni",
  1032. lvl = 6,
  1033. },
  1034. }
  1035. },
  1036. ["ms"] = {
  1037. name = "Midway",
  1038. shield = 1000000,
  1039. armor = 500000,
  1040. energy = 50000,
  1041. cargo = 140,
  1042. wslots = {
  1043. [1] = {
  1044. type = "mcannon",
  1045. lvl = 11,
  1046. },
  1047. [2] = {
  1048. type = "lcannon",
  1049. lvl = 11,
  1050. },
  1051. [3] = {
  1052. type = "lcannon",
  1053. lvl = 11,
  1054. },
  1055. [4] = {
  1056. type = "lcannon",
  1057. lvl = 11,
  1058. },
  1059. [5] = {
  1060. type = "lcannon",
  1061. lvl = 11,
  1062. },
  1063. [6] = {
  1064. type = "lcannon",
  1065. lvl = 11,
  1066. },
  1067. [7] = {
  1068. type = "lcannon",
  1069. lvl = 11,
  1070. },
  1071. }
  1072. },
  1073. }
  1074. equipment = {
  1075. [0] = {
  1076. name = "None",
  1077. desc = "None",
  1078. lvl = 0,
  1079. dmg = 0,
  1080. wid = 0,
  1081. },
  1082. [1] = {
  1083. name = "Pulse Emitter Mark I",
  1084. desc = "The most basic civilian weapon.",
  1085. lvl = 1,
  1086. dmg = 24,
  1087. img = "gfx/sprites/raindrop.bmp",
  1088. spd = 10,
  1089. r = 0,
  1090. g = 128,
  1091. b = 255,
  1092. blend = 1,
  1093. h = 15,
  1094. wd = 8,
  1095. range = 256,
  1096. energy = 10,
  1097. refire = 300,
  1098. sfx = "space/lightlaser.ogg",
  1099. class = "laser",
  1100. },
  1101. [2] = {
  1102. name = "Pulse Emitter Mark II",
  1103. desc = "A more sophisticated civilian laser.",
  1104. lvl = 2,
  1105. dmg = 48,
  1106. img = "gfx/sprites/raindrop.bmp",
  1107. spd = 10,
  1108. r = 0,
  1109. g = 98,
  1110. b = 255,
  1111. blend = 1,
  1112. h = 15,
  1113. wd = 8,
  1114. refire = 300,
  1115. range = 256,
  1116. energy = 10,
  1117. sfx = "space/lightlaser.ogg",
  1118. class = "laser",
  1119. },
  1120. [3] = {
  1121. name = "Pulse Torpedo Mark I",
  1122. desc = "A powerful but slow weapon.",
  1123. lvl = 2,
  1124. dmg = 200,
  1125. img = "gfx/sprites/snowflake.bmp",
  1126. spd = 3,
  1127. r = 50,
  1128. g = 255,
  1129. b = 50,
  1130. blend = 1,
  1131. h = 32,
  1132. wd = 32,
  1133. range = 400,
  1134. energy = 100,
  1135. refire = 2000,
  1136. sfx = "space/torpedo.ogg",
  1137. class = "torpedo",
  1138. },
  1139. [4] = {
  1140. name = "Tachyon Cannon Mark I",
  1141. desc = "A decommissioned military laser.",
  1142. lvl = 3,
  1143. dmg = 128,
  1144. img = "gfx/sprites/raindrop.bmp",
  1145. spd = 10,
  1146. r = 50,
  1147. g = 255,
  1148. b = 50,
  1149. blend = 1,
  1150. h = 15,
  1151. wd = 8,
  1152. refire = 500,
  1153. range = 300,
  1154. energy = 20,
  1155. sfx = "space/laser.ogg",
  1156. class = "laser",
  1157. },
  1158. [5] = {
  1159. name = "Tachyon Cannon Mark II",
  1160. desc = "An improved version of its predecessor.",
  1161. lvl = 5,
  1162. dmg = 256,
  1163. img = "gfx/sprites/raindrop.bmp",
  1164. spd = 10,
  1165. r = 25,
  1166. g = 255,
  1167. b = 25,
  1168. blend = 1,
  1169. h = 15,
  1170. wd = 8,
  1171. refire = 500,
  1172. range = 300,
  1173. energy = 30,
  1174. sfx = "space/laser.ogg",
  1175. class = "laser",
  1176. },
  1177. [6] = {
  1178. name = "Tachyon Cannon Mark III",
  1179. desc = "The most powerful weapon in the series.",
  1180. lvl = 7,
  1181. dmg = 512,
  1182. img = "gfx/sprites/raindrop.bmp",
  1183. spd = 10,
  1184. r = 25,
  1185. g = 255,
  1186. b = 25,
  1187. blend = 1,
  1188. h = 15,
  1189. wd = 8,
  1190. refire = 200,
  1191. range = 300,
  1192. energy = 50,
  1193. sfx = "space/laser.ogg",
  1194. class = "laser",
  1195. },
  1196. [7] = {
  1197. name = "Mothership Main Cannon",
  1198. desc = "A humongous pulse emitter for a mothership.",
  1199. lvl = 11,
  1200. dmg = 200000,
  1201. img = "gfx/sprites/flare2.bmp",
  1202. spd = 2,
  1203. r = 255,
  1204. g = 255,
  1205. b = 255,
  1206. blend = 1,
  1207. h = 95,
  1208. wd = 95,
  1209. refire = 5000,
  1210. range = 1000,
  1211. energy = 1000,
  1212. sfx = "space/mcannon.wav",
  1213. class = "mcannon",
  1214. explode = true,
  1215. },
  1216. [8] = {
  1217. name = "Mothership Auxiliary Cannon",
  1218. desc = "A lighter mothership pulse emitter.",
  1219. lvl = 11,
  1220. dmg = 2000,
  1221. img = "gfx/sprites/raindrop.bmp",
  1222. spd = 5,
  1223. r = 255,
  1224. g = 50,
  1225. b = 50,
  1226. blend = 1,
  1227. h = 15,
  1228. wd = 8,
  1229. refire = 1000,
  1230. range = 500,
  1231. energy = 100,
  1232. sfx = "space/lcannon.wav",
  1233. class = "lcannon",
  1234. explode = true,
  1235. },
  1236. [9] = {
  1237. name = "Pulse Torpedo Mark II",
  1238. desc = "An improved version of the previous mark.",
  1239. lvl = 5,
  1240. dmg = 400,
  1241. img = "gfx/sprites/snowflake.bmp",
  1242. spd = 3,
  1243. r = 50,
  1244. g = 255,
  1245. b = 50,
  1246. blend = 1,
  1247. h = 32,
  1248. wd = 32,
  1249. range = 400,
  1250. energy = 100,
  1251. refire = 2000,
  1252. sfx = "space/torpedo.ogg",
  1253. class = "torpedo",
  1254. },
  1255. [10] = {
  1256. name = "Pulse Emitter Mark III",
  1257. desc = "The most powerful civilian PE.",
  1258. lvl = 2,
  1259. dmg = 96,
  1260. img = "gfx/sprites/raindrop.bmp",
  1261. spd = 10,
  1262. r = 0,
  1263. g = 25,
  1264. b = 255,
  1265. blend = 1,
  1266. h = 15,
  1267. wd = 8,
  1268. refire = 300,
  1269. range = 256,
  1270. energy = 15,
  1271. sfx = "space/lightlaser.ogg",
  1272. class = "laser",
  1273. },
  1274. [11] = {
  1275. name = "Photon Cannon Mark I",
  1276. desc = "A rapid-firing but low-damage weapon.",
  1277. lvl = 4,
  1278. dmg = 40,
  1279. img = "gfx/sprites/raindrop.bmp",
  1280. spd = 15,
  1281. r = 255,
  1282. g = 50,
  1283. b = 50,
  1284. blend = 1,
  1285. h = 15,
  1286. wd = 8,
  1287. range = 256,
  1288. energy = 5,
  1289. refire = 100,
  1290. sfx = "space/photon.wav",
  1291. class = "laser",
  1292. },
  1293. [12] = {
  1294. name = "Photon Cannon Mark II",
  1295. desc = "An improved version of the Mark I.",
  1296. lvl = 6,
  1297. dmg = 50,
  1298. img = "gfx/sprites/raindrop.bmp",
  1299. spd = 15,
  1300. r = 255,
  1301. g = 40,
  1302. b = 40,
  1303. blend = 1,
  1304. h = 15,
  1305. wd = 8,
  1306. range = 256,
  1307. energy = 7,
  1308. refire = 100,
  1309. sfx = "space/photon.wav",
  1310. class = "laser",
  1311. },
  1312. [13] = {
  1313. name = "Cruiser Light Blaster",
  1314. desc = "A weapon designed for use on cruisers.",
  1315. lvl = 6,
  1316. dmg = 300,
  1317. img = "gfx/sprites/raindrop.bmp",
  1318. spd = 15,
  1319. r = 255,
  1320. g = 255,
  1321. b = 75,
  1322. blend = 1,
  1323. h = 15,
  1324. wd = 8,
  1325. range = 300,
  1326. energy = 60,
  1327. refire = 700,
  1328. sfx = "space/lcannon.wav",
  1329. class = "laser",
  1330. },
  1331. [14] = {
  1332. name = "Cruiser Medium Blaster",
  1333. desc = "A heavier cruiser weapon.",
  1334. lvl = 7,
  1335. dmg = 400,
  1336. img = "gfx/sprites/raindrop.bmp",
  1337. spd = 15,
  1338. r = 255,
  1339. g = 255,
  1340. b = 0,
  1341. blend = 1,
  1342. h = 15,
  1343. wd = 8,
  1344. range = 300,
  1345. energy = 70,
  1346. refire = 800,
  1347. sfx = "space/lcannon.wav",
  1348. class = "laser",
  1349. },
  1350. [15] = {
  1351. name = "Cruiser Heavy Blaster",
  1352. desc = "The most powerful weapon available to cruisers.",
  1353. lvl = 8,
  1354. dmg = 400,
  1355. img = "gfx/sprites/raindrop.bmp",
  1356. spd = 15,
  1357. r = 255,
  1358. g = 200,
  1359. b = 0,
  1360. blend = 1,
  1361. h = 15,
  1362. wd = 8,
  1363. range = 300,
  1364. energy = 90,
  1365. refire = 1000,
  1366. sfx = "space/lcannon.wav",
  1367. class = "laser",
  1368. },
  1369. [16] = {
  1370. name = "Destroyer Light Cannon",
  1371. desc = "A huge pulse emitter designed for use on Destroyer-class ships.",
  1372. lvl = 7,
  1373. dmg = 500,
  1374. img = "gfx/sprites/raindrop.bmp",
  1375. spd = 15,
  1376. r = 255,
  1377. g = 125,
  1378. b = 255,
  1379. blend = 1,
  1380. h = 15,
  1381. wd = 8,
  1382. range = 400,
  1383. energy = 110,
  1384. refire = 1000,
  1385. sfx = "space/lcannon.wav",
  1386. class = "laser",
  1387. },
  1388. [17] = {
  1389. name = "Destroyer Heavy Cannon",
  1390. desc = "A huge pulse emitter designed for use on Destroyer-class ships.",
  1391. lvl = 8,
  1392. dmg = 650,
  1393. img = "gfx/sprites/raindrop.bmp",
  1394. spd = 15,
  1395. r = 255,
  1396. g = 0,
  1397. b = 255,
  1398. blend = 1,
  1399. h = 15,
  1400. wd = 8,
  1401. range = 400,
  1402. energy = 150,
  1403. refire = 1500,
  1404. sfx = "space/mcannon.wav",
  1405. class = "laser",
  1406. },
  1407. [18] = {
  1408. name = "Barge Light Cannon",
  1409. desc = "A rather weak weapon for transports.",
  1410. lvl = 6,
  1411. dmg = 200,
  1412. img = "gfx/sprites/raindrop.bmp",
  1413. spd = 15,
  1414. r = 228,
  1415. g = 255,
  1416. b = 0,
  1417. blend = 1,
  1418. h = 15,
  1419. wd = 8,
  1420. range = 300,
  1421. energy = 20,
  1422. refire = 1500,
  1423. sfx = "space/lcannon.wav",
  1424. class = "laser",
  1425. },
  1426. [19] = {
  1427. name = "Barge Heavy Cannon",
  1428. desc = "An improved version.",
  1429. lvl = 7,
  1430. dmg = 300,
  1431. img = "gfx/sprites/raindrop.bmp",
  1432. spd = 15,
  1433. r = 200,
  1434. g = 255,
  1435. b = 0,
  1436. blend = 1,
  1437. h = 15,
  1438. wd = 8,
  1439. range = 300,
  1440. energy = 20,
  1441. refire = 1500,
  1442. sfx = "space/lcannon.wav",
  1443. class = "laser",
  1444. },
  1445. [20] = {
  1446. name = "Neutron Emitter Mk I",
  1447. desc = "A neutron weapon with moderate damage and refire rate.",
  1448. lvl = 7,
  1449. dmg = 150,
  1450. img = "gfx/sprites/raindrop.bmp",
  1451. spd = 15,
  1452. r = 255,
  1453. g = 107,
  1454. b = 107,
  1455. blend = 1,
  1456. h = 15,
  1457. wd = 8,
  1458. range = 300,
  1459. energy = 20,
  1460. refire = 700,
  1461. sfx = "space/lcannon.wav",
  1462. class = "laser",
  1463. },
  1464. [21] = {
  1465. name = "Neutron Emitter Mk II",
  1466. desc = "A better version.",
  1467. lvl = 8,
  1468. dmg = 200,
  1469. img = "gfx/sprites/raindrop.bmp",
  1470. spd = 15,
  1471. r = 255,
  1472. g = 80,
  1473. b = 80,
  1474. blend = 1,
  1475. h = 15,
  1476. wd = 8,
  1477. range = 300,
  1478. energy = 25,
  1479. refire = 800,
  1480. sfx = "space/lcannon.wav",
  1481. class = "laser",
  1482. },
  1483. }
  1484. msPrice = 1500000
  1485. emSlotPrice = 350000
  1486. msConfig = {7,8,8,8,8,8,8}
  1487. spawnPos = {x =8,y =8}
  1488. administrators = {7749}
  1489. dofile("sys/lua/space_rpg/main.lua")