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