-
Notifications
You must be signed in to change notification settings - Fork 6
/
scenario_88_chaos.lua
9631 lines (9604 loc) · 459 KB
/
scenario_88_chaos.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- Name: Chaos of War
-- Description: Two, three or four species battle for ultimate dominion. Designed as a replayable player versus player (PVP) scenario for individuals or teams. Terrain is randomly symmetrically generated for every game.
---
--- Use Gamemaster (GM) screen to adjust parameters. The GM screen covers all of the parameters on the next page plus a variety of others.
---
--- Get the player ship access codes from the GM screen after you generate the terrain
---
--- Version 2.1
-- Type: PvP
-- Setting[Difficulty]: Determines the degree the environment helps or hinders the players
-- Difficulty[Normal|Default]: Normal difficulty
-- Difficulty[Easy]: More resources, services and reputation
-- Difficulty[Hard]: Fewer resources, services and reputation
-- Setting[Teams]: Number of teams. Each team may have one or more player ships on it. Default: 2 teams
-- Teams[2|Default]: Two teams
-- Teams[3]: Three teams
-- Teams[4]: Four teams
-- Setting[Players]: Number of player ships per team. 32 total max. Get player ship control codes from Game master screen. Default: 2 per team
-- Players[1]: One player ship per team. Get player ship control codes from Game master screen
-- Players[2|Default]: Two player ships per team. Get player ship control codes from Game master screen
-- Players[3]: Three player ships per team. Get player ship control codes from Game master screen
-- Players[4]: Four player ships per team. Get player ship control codes from Game master screen
-- Players[5]: Five player ships per team. Get player ship control codes from Game master screen
-- Players[6]: Six player ships per team. Get player ship control codes from Game master screen
-- Players[7]: Seven player ships per team. Get player ship control codes from Game master screen
-- Players[8]: Eight player ships per team. Get player ship control codes from Game master screen
-- Players[9]: Nine player ships per team. Get player ship control codes from Game master screen
-- Players[10]: Ten player ships per team. Get player ship control codes from Game master screen
-- Players[11]: Eleven player ships per team. Get player ship control codes from Game master screen
-- Players[12]: Twelve player ships per team. Get player ship control codes from Game master screen
-- Players[13]: Thirteen player ships per team. Get player ship control codes from Game master screen
-- Players[14]: Fourteen player ships per team. Get player ship control codes from Game master screen
-- Players[15]: Fifteen player ships per team. Get player ship control codes from Game master screen
-- Players[16]: Sixteen player ships per team. Get player ship control codes from Game master screen
-- Setting[Respawn]: How a player ship returns to the game after being destroyed. Default: Lindworm
-- Respawn[Lindworm|Default]: Destroyed player returns in a weak, but fast Lindworm
-- Respawn[Self]: Destroyed player returns as the same type of ship they originally started in
-- Setting[Station Sensors]: Determines range at which station sensors will warn friendly ships about enemy ships via messages. Default: 20U
-- Station Sensors[Zero]: Stations don't warn friendly players of enemies
-- Station Sensors[5U]: Stations warn friendly players of enemies within 5 units
-- Station Sensors[10U]: Stations warn friendly players of enemies within 10 units
-- Station Sensors[20U|Default]: Stations warn friendly players of enemies within 20 units
-- Station Sensors[30U]: Stations warn friendly players of enemies within 30 units
-- Setting[Time]: Determines how long the game will last. Default: 45 minutes
-- Time[5]: Game ends in 5 minutes
-- Time[10]: Game ends in 10 minutes
-- Time[15]: Game ends in 15 minutes
-- Time[20]: Game ends in 20 minutes
-- Time[25]: Game ends in 25 minutes
-- Time[30]: Game ends in 30 minutes
-- Time[35]: Game ends in 35 minutes
-- Time[40]: Game ends in 40 minutes
-- Time[45|Default]: Game ends in 45 minutes
-- Time[50]: Game ends in 50 minutes
-- Time[55]: Game ends in 55 minutes
-- Time[60]: Game ends in 60 minutes (one hour)
-- Time[65]: Game ends in 65 minutes (one hour and 5 minutes)
-- Time[70]: Game ends in 70 minutes (one hour and 10 minutes)
-- Time[75]: Game ends in 75 minutes (one hour and 15 minutes)
-- Time[80]: Game ends in 80 minutes (one hour and 20 minutes)
-- Time[85]: Game ends in 85 minutes (one hour and 25 minutes)
-- Time[90]: Game ends in 90 minutes (one hour and 30 minutes)
-- Time[95]: Game ends in 95 minutes (one hour and 35 minutes)
-- Time[100]: Game ends in 100 minutes (one hour and 40 minutes)
--------------------------------------------------------------------------------------------------------
-- Note: This script requires a version of supply_drop.lua that handles the variable jump_freighter --
-- See pull request 1185 --
--------------------------------------------------------------------------------------------------------
require "utils.lua"
require "place_station_scenario_utility.lua"
function getFilenameCompatible(new_filename)
if getEEVersion() == 2021623 then
local lookup = {
["adv_gunship.png"] = "radar_adv_gunship.png",
["adv_striker.png"] = "radar_adv_striker.png",
["battleship.png"] = "radar_battleship.png",
["blockade.png"] = "radar_blockade.png",
["cruiser.png"] = "radar_cruiser.png",
["dread.png"] = "radar_dread.png",
["exuari_1.png"] = "radar_exuari_1.png",
["exuari_2.png"] = "radar_exuari_2.png",
["exuari_3.png"] = "radar_exuari_3.png",
["exuari_4.png"] = "radar_exuari_4.png",
["exuari_5.png"] = "radar_exuari_5.png",
["exuari_fighter.png"] = "radar_exuari_fighter.png",
["exuari_frigate_1.png"] = "radar_exuari_frigate_1.png",
["exuari_frigate_2.png"] = "radar_exuari_frigate_2.png",
["exuari_frigate_3.png"] = "radar_exuari_frigate_3.png",
["fighter.png"] = "radar_fighter.png",
["ktlitan_breaker.png"] = "radar_ktlitan_breaker.png",
["ktlitan_destroyer.png"] = "radar_ktlitan_destroyer.png",
["ktlitan_drone.png"] = "radar_ktlitan_drone.png",
["ktlitan_feeder.png"] = "radar_ktlitan_feeder.png",
["ktlitan_fighter.png"] = "radar_ktlitan_fighter.png",
["ktlitan_queen.png"] = "radar_ktlitan_queen.png",
["ktlitan_scout.png"] = "radar_ktlitan_scout.png",
["ktlitan_worker.png"] = "radar_ktlitan_worker.png",
["laser.png"] = "radar_laser.png",
["missile_cruiser.png"] = "radar_missile_cruiser.png",
["piranha.png"] = "radar_piranha.png",
["striker.png"] = "radar_striker.png",
["hugestation.png"] = "radartrace_hugestation.png",
["largestation.png"] = "radartrace_largestation.png",
["mediumstation.png"] = "radartrace_mediumstation.png",
["smallstation.png"] = "radartrace_smallstation.png",
["transport.png"] = "radar_transport.png",
["tug.png"] = "radar_tug.png",
["radar/adv_gunship.png"] = "radar_adv_gunship.png",
["radar/adv_striker.png"] = "radar_adv_striker.png",
["radar/battleship.png"] = "radar_battleship.png",
["radar/blockade.png"] = "radar_blockade.png",
["radar/cruiser.png"] = "radar_cruiser.png",
["radar/dread.png"] = "radar_dread.png",
["radar/exuari_1.png"] = "radar_exuari_1.png",
["radar/exuari_2.png"] = "radar_exuari_2.png",
["radar/exuari_3.png"] = "radar_exuari_3.png",
["radar/exuari_4.png"] = "radar_exuari_4.png",
["radar/exuari_5.png"] = "radar_exuari_5.png",
["radar/exuari_fighter.png"] = "radar_exuari_fighter.png",
["radar/exuari_frigate_1.png"] = "radar_exuari_frigate_1.png",
["radar/exuari_frigate_2.png"] = "radar_exuari_frigate_2.png",
["radar/exuari_frigate_3.png"] = "radar_exuari_frigate_3.png",
["radar/fighter.png"] = "radar_fighter.png",
["radar/ktlitan_breaker.png"] = "radar_ktlitan_breaker.png",
["radar/ktlitan_destroyer.png"] = "radar_ktlitan_destroyer.png",
["radar/ktlitan_drone.png"] = "radar_ktlitan_drone.png",
["radar/ktlitan_feeder.png"] = "radar_ktlitan_feeder.png",
["radar/ktlitan_fighter.png"] = "radar_ktlitan_fighter.png",
["radar/ktlitan_queen.png"] = "radar_ktlitan_queen.png",
["radar/ktlitan_scout.png"] = "radar_ktlitan_scout.png",
["radar/ktlitan_worker.png"] = "radar_ktlitan_worker.png",
["radar/laser.png"] = "radar_laser.png",
["radar/missile_cruiser.png"] = "radar_missile_cruiser.png",
["radar/piranha.png"] = "radar_piranha.png",
["radar/striker.png"] = "radar_striker.png",
["radar/hugestation.png"] = "radartrace_hugestation.png",
["radar/largestation.png"] = "radartrace_largestation.png",
["radar/mediumstation.png"] = "radartrace_mediumstation.png",
["radar/smallstation.png"] = "radartrace_smallstation.png",
["radar/transport.png"] = "radar_transport.png",
["radar/tug.png"] = "radar_tug.png",
["ProbeBlip.png"] = "radar/probe.png",
}
local old_filename = lookup[new_filename]
if old_filename == nil then
return new_filename
else
return old_filename
end
end
return new_filename
end
function init()
scenario_version = "2.1"
print(string.format("Scenario version %s",scenario_version))
print(_VERSION)
setVariations()
setConstants()
setStaticScienceDatabase()
setGMButtons()
end
function setVariations()
if getEEVersion() == 2021623 then
local svs = getScenarioVariation() --scenario variation string
if string.find(svs,"Easy") then
difficulty = .5
base_reputation = 50
elseif string.find(svs,"Hard") then
difficulty = 2
base_reputation = 10
else
difficulty = 1 --default (normal)
base_reputation = 20
end
else
local enemies = {
["Normal"] ={difficulty = 1, rep = 20},
["Easy"] = {difficulty = .5, rep = 50},
["Hard"] = {difficulty = 2, rep = 10},
}
difficulty = enemies[getScenarioSetting("Difficulty")].difficulty
base_reputation = enemies[getScenarioSetting("Difficulty")].rep
local teams = {
["2"] = 2,
["3"] = 3,
["4"] = 4,
}
player_team_count = teams[getScenarioSetting("Teams")]
local player_count_options = {
["1"] = 1,
["2"] = 2,
["3"] = 3,
["4"] = 4,
["5"] = 5,
["6"] = 6,
["7"] = 7,
["8"] = 8,
["9"] = 9,
["10"] = 10,
["11"] = 11,
["12"] = 12,
["13"] = 13,
["14"] = 14,
["15"] = 15,
["16"] = 16,
}
ships_per_team = player_count_options[getScenarioSetting("Players")]
max_ships_per_team = {32,16,10,8} --engine supports 32 player ships
if ships_per_team > max_ships_per_team[player_team_count] then
ships_per_team = max_ships_per_team[player_team_count]
end
local respawn_options = {
["Lindworm"] = "lindworm",
["Self"] = "self",
}
respawn_type = respawn_options[getScenarioSetting("Respawn")]
local station_sensor_options = {
["Zero"] = 0,
["5U"] = 5000,
["10U"] = 10000,
["20U"] = 20000,
["30U"] = 30000,
}
station_sensor_range = station_sensor_options[getScenarioSetting("Station Sensors")]
game_time_limit = getScenarioSetting("Time")*60
end
end
function setConstants()
thresh = .2 --leading/trailing completion threshold percentage for game
if game_time_limit == nil then
game_time_limit = 45*60
end
if station_sensor_range == nil then
station_sensor_range = 20000
end
if respawn_type == nil then
respawn_type = "lindworm"
end
if ships_per_team == nil then
ships_per_team = 2
player_team_count = 2
end
max_game_time = game_time_limit
game_state = "paused" --then moves to "terrain generated" then to "running"
respawn_count = 0
storage = getScriptStorage()
storage.gatherStats = gatherStats
predefined_player_ships = {
{name = "Phoenix", control_code = "BURN265"},
{name = "Callisto", control_code = "MOON558"},
{name = "Charybdis", control_code = "JACKPOT777"},
{name = "Sentinel", control_code = "FERENGI432"},
{name = "Omnivore", control_code = "EQUILATERAL180"},
{name = "Tarquin", control_code = "TIME909"},
}
f2s = { --faction name to short name
["Human Navy"] = "human",
["Kraylor"] = "kraylor",
["Exuari"] = "exuari",
["Ktlitans"] = "ktlitan",
}
terrain_generated = false
advanced_intel = false
missile_availability = "unlimited"
defense_platform_count_index = 10
defense_platform_count_options = {
{count = 0, distance = 0, player = 4500},
{count = 3, distance = 2000, player = 2500},
{count = 4, distance = 2400, player = 3000},
{count = 5, distance = 3000, player = 3500},
{count = 6, distance = 4300, player = 2500},
{count = 8, distance = 7000, player = 4000},
{count = 9, distance = 7800, player = 4500},
{count = 10, distance = 9000, player = 4000},
{count = 12, distance = 10000, player = 4500},
{count = "random", distance = 0, player = 0},
}
dp_comms_data = { --defense platform comms data
weapon_available = {
Homing = random(1,13)<=(3-difficulty),
HVLI = random(1,13)<=(6-difficulty),
Mine = false,
Nuke = false,
EMP = false,
},
services = {
supplydrop = "friend",
reinforcements = "friend",
jumpsupplydrop = "friend",
},
service_cost = {
supplydrop = math.random(80,120),
reinforcements = math.random(125,175),
jumpsupplydrop = math.random(110,140),
},
jump_overcharge = false,
probe_launch_repair = random(1,13)<=(3-difficulty),
hack_repair = random(1,13)<=(3-difficulty),
scan_repair = random(1,13)<=(3-difficulty),
combat_maneuver_repair= random(1,13)<=(3-difficulty),
self_destruct_repair = random(1,13)<=(3-difficulty),
tube_slow_down_repair = random(1,13)<=(3-difficulty),
reputation_cost_multipliers = {
friend = 1.0,
neutral = 3.0,
},
goods = {},
trade = {},
}
defense_fleet_list = {
["Small Station"] = {
{DF1 = "MT52 Hornet",DF2 = "MU52 Hornet",DF3 = "MT52 Hornet",DF4 = "MU52 Hornet",},
{DF1 = "MT52 Hornet",DF2 = "MT52 Hornet",DF3 = "MT52 Hornet",DF4 = "MU52 Hornet",},
{DF1 = "MT52 Hornet",DF2 = "MU52 Hornet",DF3 = "MU52 Hornet",DF4 = "Nirvana R5A",},
},
["Medium Station"] = {
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "MT52 Hornet",DF4 = "Adder MK4",DF5 = "Adder MK6",},
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "Nirvana R5A",DF4 = "Adder MK4",DF5 = "Adder MK6",},
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "Nirvana R5A",DF4 = "WX-Lindworm",DF5 = "Adder MK6",},
},
["Large Station"] = {
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "MT52 Hornet",DF4 = "Adder MK4",DF5 = "Adder MK6",DF6 = "Phobos T3",DF7 = "Adder MK7",DF8 = "Adder MK8",},
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "Adder MK9",DF4 = "Adder MK4",DF5 = "Adder MK6",DF6 = "Phobos T3",DF7 = "Adder MK7",DF8 = "Adder MK8",},
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "Nirvana R5A",DF4 = "Adder MK4",DF5 = "Adder MK6",DF6 = "Phobos T3",DF7 = "Adder MK7",DF8 = "Adder MK8",},
},
["Huge Station"] = {
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "MT52 Hornet",DF4 = "Adder MK4",DF5 = "Adder MK6",DF6 = "Phobos T3",DF7 = "Adder MK7",DF8 = "Adder MK8",DF9 = "Fiend G4",DF10 = "Stalker R7",DF11 = "Stalker Q7"},
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "Nirvana R5A",DF4 = "Adder MK4",DF5 = "Adder MK6",DF6 = "Phobos T3",DF7 = "Adder MK7",DF8 = "Adder MK8",DF9 = "Fiend G4",DF10 = "Stalker R7",DF11 = "Stalker Q7"},
{DF1 = "Adder MK5",DF2 = "MU52 Hornet",DF3 = "Phobos T3",DF4 = "Adder MK4",DF5 = "Adder MK6",DF6 = "Phobos T3",DF7 = "Adder MK7",DF8 = "Adder MK8",DF9 = "Fiend G4",DF10 = "Stalker R7",DF11 = "Stalker Q7"},
},
}
station_list = {}
primary_station_size_index = 1
primary_station_size_options = {"random","Small Station","Medium Station","Large Station","Huge Station"}
primary_jammers = "random"
player_ship_types = "default"
custom_player_ship_type = "Heavy"
default_player_ship_sets = {
{"Crucible"},
{"Maverick","Flavia P.Falcon"},
{"Atlantis","Phobos M3P","Crucible"},
{"Atlantis","Maverick","Phobos M3P","Flavia P.Falcon"},
{"Atlantis","Player Cruiser","Maverick","Crucible","Phobos M3P"},
{"Atlantis","Hathcock","Flavia P.Falcon","Player Missile Cr.","Maverick","Phobos M3P"},
{"Atlantis","Repulse","Maverick","Player Missile Cr.","Phobos M3P","Flavia P.Falcon","Crucible"},
{"Atlantis","Player Cruiser","Hathcock","Player Fighter","Phobos M3P","Maverick","Crucible","Flavia P.Falcon"},
{"Atlantis","Player Cruiser","Repulse","Player Missile Cr.","Player Fighter","Phobos M3P","Crucible","Flavia P.Falcon","Maverick"},
{"Atlantis","Player Cruiser","Piranha","Player Missile Cr.","Player Fighter","Phobos M3P","Crucible","Flavia P.Falcon","Maverick","Phobos M3P"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Player Fighter","Player Missile Cr.","Crucible","Flavia P.Falcon","Maverick","Phobos M3P","Flavia P.Falcon"},
{"Atlantis","Player Cruiser","Piranha","Repulse","Player Fighter","Player Missile Cr.","Crucible","Flavia P.Falcon","Maverick","Phobos M3P","Flavia P.Falcon","Phobos M3P"},
{"Atlantis","Player Cruiser","Piranha","Hathcock","Player Fighter","Player Missile Cr.","Crucible","Flavia P.Falcon","Maverick","Phobos M3P","Flavia P.Falcon","Phobos M3P","Crucible"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Player Missile Cr.","Crucible","Flavia P.Falcon","Maverick","Phobos M3P","Flavia P.Falcon","Phobos M3P","Crucible","Player Fighter"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Nautilus","Player Missile Cr.","Crucible","Flavia P.Falcon","Maverick","Phobos M3P","Flavia P.Falcon","Phobos M3P","Crucible","Player Fighter","MP52 Hornet"},
{"Atlantis","Player Cruiser","Nautilus","Repulse","Piranha","Player Missile Cr.","Crucible","Flavia P.Falcon","Maverick","Phobos M3P","Flavia P.Falcon","Phobos M3P","Crucible","Player Fighter","MP52 Hornet","Maverick"},
}
custom_player_ship_sets = {
["Jump"] = {
{"Atlantis"},
{"Atlantis","Player Cruiser"},
{"Atlantis","Player Cruiser","Hathcock"},
{"Atlantis","Player Cruiser","Hathcock","Repulse"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis","Nautilus"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis","Nautilus","Hathcock"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis","Nautilus","Hathcock","Atlantis"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis","Nautilus","Hathcock","Atlantis","Player Cruiser"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis","Nautilus","Hathcock","Atlantis","Player Cruiser","Piranha"},
{"Atlantis","Player Cruiser","Hathcock","Repulse","Piranha","Nautilus","Repulse","Player Cruiser","Piranha","Atlantis","Nautilus","Hathcock","Atlantis","Player Cruiser","Piranha","Hathcock"},
},
["Warp"] = {
{"Crucible"},
{"Crucible","Maverick"},
{"Crucible","Maverick","Phobos M3P"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr."},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet","Player Missile Cr."},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet","Player Missile Cr.","Flavia P.Falcon"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet","Player Missile Cr.","Flavia P.Falcon","Player Missile Cr."},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet","Player Missile Cr.","Flavia P.Falcon","Player Missile Cr.","Maverick"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet","Player Missile Cr.","Flavia P.Falcon","Player Missile Cr.","Maverick","Crucible"},
{"Crucible","Maverick","Phobos M3P","Flavia P.Falcon","MP52 Hornet","Player Missile Cr.","Maverick","Phobos M3P","Crucible","MP52 Hornet","Player Missile Cr.","Flavia P.Falcon","Player Missile Cr.","Maverick","Crucible","Phobos M3P"},
},
["Heavy"] = {
{"Maverick"},
{"Maverick","Crucible"},
{"Maverick","Crucible","Atlantis"},
{"Maverick","Crucible","Atlantis","Player Missile Cr."},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr."},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible","Player Cruiser"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible","Player Cruiser","Piranha"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible","Player Cruiser","Piranha","Crucible"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible","Player Cruiser","Piranha","Crucible","Atlantis"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible","Player Cruiser","Piranha","Crucible","Atlantis","Maverick"},
{"Maverick","Crucible","Atlantis","Player Missile Cr.","Player Cruiser","Piranha","Maverick","Player Missile Cr.","Atlantis","Crucible","Player Cruiser","Piranha","Crucible","Atlantis","Maverick","Player Missile Cr."},
},
["Light"] = {
{"Phobos M3P"},
{"Phobos M3P","MP52 Hornet"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse","Hathcock"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse","Hathcock","Nautilus"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon","Phobos M3P"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon","Phobos M3P","MP52 Hornet"},
{"Phobos M3P","MP52 Hornet","Flavia P.Falcon","Hathcock","Nautilus","Repulse","Flavia P. Falcon","MP52 Hornet","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon","Phobos M3P","MP52 Hornet","Repulse"},
},
["Custom"] = {
{"Holmes"},
{"Holmes","Phobos T2"},
{"Holmes","Phobos T2","Striker LX"},
{"Holmes","Phobos T2","Striker LX","Maverick XP"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse","Hathcock"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse","Hathcock","Nautilus"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon","Phobos M3P"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon","Phobos M3P","MP52 Hornet"},
{"Holmes","Phobos T2","Striker LX","Maverick XP","Focus","Repulse","Flavia P. Falcon","Player Fighter","Phobos M3P","Repulse","Hathcock","Nautilus","Flavia P. Falcon","Phobos M3P","MP52 Hornet","Repulse"},
}
}
rwc_player_ship_names = { --rwc: random within category
["Atlantis"] = {"Formidable","Thrasher","Punisher","Vorpal","Protang","Drummond","Parchim","Coronado"},
["Benedict"] = {"Elizabeth","Ford","Avenger","Washington","Lincoln","Garibaldi","Eisenhower"},
["Crucible"] = {"Sling", "Stark", "Torrid", "Kicker", "Flummox"},
["Ender"] = {"Mongo","Godzilla","Leviathan","Kraken","Jupiter","Saturn"},
["Flavia P.Falcon"] = {"Ladyhawke","Hunter","Seeker","Gyrefalcon","Kestrel","Magpie","Bandit","Buccaneer"},
["Hathcock"] = {"Hayha", "Waldron", "Plunkett", "Mawhinney", "Furlong", "Zaytsev", "Pavlichenko", "Fett", "Hawkeye", "Hanzo"},
["Kiriya"] = {"Cavour","Reagan","Gaulle","Paulo","Truman","Stennis","Kuznetsov","Roosevelt","Vinson","Old Salt"},
["MP52 Hornet"] = {"Dragonfly","Scarab","Mantis","Yellow Jacket","Jimminy","Flik","Thorny","Buzz"},
["Maverick"] = {"Angel", "Thunderbird", "Roaster", "Magnifier", "Hedge"},
["Nautilus"] = {"October", "Abdiel", "Manxman", "Newcon", "Nusret", "Pluton", "Amiral", "Amur", "Heinkel", "Dornier"},
["Phobos M3P"] = {"Blinder","Shadow","Distortion","Diemos","Ganymede","Castillo","Thebe","Retrograde"},
["Piranha"] = {"Razor","Biter","Ripper","Voracious","Carnivorous","Characid","Vulture","Predator"},
["Player Cruiser"] = {"Excelsior","Velociraptor","Thunder","Kona","Encounter","Perth","Aspern","Panther"},
["Player Fighter"] = {"Buzzer","Flitter","Zippiticus","Hopper","Molt","Stinger","Stripe"},
["Player Missile Cr."] = {"Projectus","Hurlmeister","Flinger","Ovod","Amatola","Nakhimov","Antigone"},
["Repulse"] = {"Fiddler","Brinks","Loomis","Mowag","Patria","Pandur","Terrex","Komatsu","Eitan"},
["Striker"] = {"Sparrow","Sizzle","Squawk","Crow","Snowbird","Hawk"},
["ZX-Lindworm"] = {"Seagull","Catapult","Blowhard","Flapper","Nixie","Pixie","Tinkerbell"},
["Unknown"] = {
"Foregone",
"Righteous",
"Masher",
"Lancer",
"Horizon",
"Osiris",
"Athena",
"Poseidon",
"Heracles",
"Constitution",
"Stargazer",
"Horatio",
"Socrates",
"Galileo",
"Newton",
"Beethoven",
"Rabin",
"Spector",
"Akira",
"Thunderchild",
"Ambassador",
"Adelphi",
"Exeter",
"Ghandi",
"Valdemar",
"Yamaguchi",
"Zhukov",
"Andromeda",
"Drake",
"Prokofiev",
"Antares",
"Apollo",
"Ajax",
"Clement",
"Bradbury",
"Gage",
"Buran",
"Kearsarge",
-- "Cheyenne",
"Ahwahnee",
"Constellation",
"Gettysburg",
"Hathaway",
"Magellan",
"Farragut",
"Kongo",
"Lexington",
"Potempkin",
"Yorktown",
"Daedalus",
"Archon",
"Carolina",
"Essex",
"Danube",
"Gander",
"Ganges",
"Mekong",
"Orinoco",
"Rubicon",
"Shenandoah",
"Volga",
"Yangtzee Kiang",
"Yukon",
"Valiant",
"Deneva",
"Arcos",
"LaSalle",
"Al-Batani",
"Cairo",
"Charlseton",
"Crazy Horse",
"Crockett",
"Fearless",
"Fredrickson",
-- "Gorkon",
"Hood",
"Lakota",
"Malinche",
"Melbourne",
"Freedom",
"Concorde",
-- "Firebrand",
"Galaxy",
"Challenger",
"Odyssey",
"Trinculo",
"Venture",
"Yamato",
"Hokule'a",
"Tripoli",
"Hope",
"Nobel",
"Pasteur",
"Bellerophon",
"Voyager",
"Istanbul",
"Constantinople",
"Havana",
"Sarajevo",
"Korolev",
"Goddard",
"Luna",
"Titan",
"Mediterranean",
"Lalo",
"Wyoming",
"Merced",
"Trieste",
"Miranda",
"Brattain",
"Helin",
"Lantree",
"Majestic",
"Reliant",
"Saratoga",
"ShirKahr",
"Sitak",
"Tian An Men",
"Trial",
"Nebula",
"Bonchune",
"Capricorn",
"Hera",
"Honshu",
"Interceptor",
"Leeds",
"Merrimack",
"Prometheus",
"Proxima",
"Sutherland",
"T'Kumbra",
"Ulysses",
"New Orleans",
"Kyushu",
"Renegade",
"Rutledge",
"Thomas Paine",
"Niagra",
"Princeton",
"Wellington",
"Norway",
"Budapest",
"Nova",
"Equinox",
"Rhode Island",
"Columbia",
"Oberth",
"Biko",
"Cochraine",
"Copernicus",
"Grissom",
"Pegasus",
"Raman",
"Yosemite",
"Renaissance",
"Aries",
"Maryland",
"Rigel",
"Akagi",
"Tolstoy",
"Yeager",
"Sequoia",
"Sovereign",
"Soyuz",
"Bozeman",
"Springfield",
"Chekov",
"Steamrunner",
"Appalachia",
"Surak",
"Zapata",
"Sydney",
"Jenolen",
"Nash",
"Wambundu",
"Fleming",
"Wells",
"Relativity",
"Yorkshire",
"Denver",
"Zodiac",
"Centaur",
"Cortez",
"Republic",
"Peregrine",
"Calypso",
"Cousteau",
"Waverider",
"Scimitar",
},
}
player_ship_stats = {
["Atlantis"] = { strength = 52, cargo = 6, distance = 400, long_range_radar = 30000, short_range_radar = 5000, probes = 10, long_jump = 50, short_jump = 5, warp = 0, stock = true, },
["Benedict"] = { strength = 10, cargo = 9, distance = 400, long_range_radar = 30000, short_range_radar = 5000, probes = 10, long_jump = 90, short_jump = 5, warp = 0, stock = true, },
["Crucible"] = { strength = 45, cargo = 5, distance = 200, long_range_radar = 20000, short_range_radar = 6000, probes = 9, long_jump = 0, short_jump = 0, warp = 750, stock = true, },
["Ender"] = { strength = 100, cargo = 20, distance = 2000,long_range_radar = 45000, short_range_radar = 7000, probes = 12, long_jump = 50, short_jump = 5, warp = 0, stock = true, },
["Flavia P.Falcon"] = { strength = 13, cargo = 15, distance = 200, long_range_radar = 40000, short_range_radar = 5000, probes = 8, long_jump = 0, short_jump = 0, warp = 500, stock = true, },
["Hathcock"] = { strength = 30, cargo = 6, distance = 200, long_range_radar = 35000, short_range_radar = 6000, probes = 8, long_jump = 60, short_jump = 6, warp = 0, stock = true, },
["Kiriya"] = { strength = 10, cargo = 9, distance = 400, long_range_radar = 35000, short_range_radar = 5000, probes = 10, long_jump = 0, short_jump = 0, warp = 750, stock = true, },
["Maverick"] = { strength = 45, cargo = 5, distance = 200, long_range_radar = 20000, short_range_radar = 4000, probes = 9, long_jump = 0, short_jump = 0, warp = 800, stock = true, },
["MP52 Hornet"] = { strength = 7, cargo = 3, distance = 100, long_range_radar = 18000, short_range_radar = 4000, probes = 5, long_jump = 0, short_jump = 0, warp = 1000, stock = true, },
["Nautilus"] = { strength = 12, cargo = 7, distance = 200, long_range_radar = 22000, short_range_radar = 4000, probes = 10, long_jump = 70, short_jump = 5, warp = 0, stock = true, },
["Phobos M3P"] = { strength = 19, cargo = 10, distance = 200, long_range_radar = 25000, short_range_radar = 5000, probes = 6, long_jump = 0, short_jump = 0, warp = 900, stock = true, },
["Piranha"] = { strength = 16, cargo = 8, distance = 200, long_range_radar = 25000, short_range_radar = 6000, probes = 6, long_jump = 50, short_jump = 5, warp = 0, stock = true, },
["Player Cruiser"] = { strength = 40, cargo = 6, distance = 400, long_range_radar = 30000, short_range_radar = 5000, probes = 10, long_jump = 80, short_jump = 5, warp = 0, stock = true, },
["Player Missile Cr."] = { strength = 45, cargo = 8, distance = 200, long_range_radar = 35000, short_range_radar = 6000, probes = 9, long_jump = 0, short_jump = 0, warp = 800, stock = true, },
["Player Fighter"] = { strength = 7, cargo = 3, distance = 100, long_range_radar = 15000, short_range_radar = 4500, probes = 4, long_jump = 40, short_jump = 3, warp = 0, stock = true, },
["Repulse"] = { strength = 14, cargo = 12, distance = 200, long_range_radar = 38000, short_range_radar = 5000, probes = 8, long_jump = 50, short_jump = 5, warp = 0, stock = true, },
["Striker"] = { strength = 8, cargo = 4, distance = 200, long_range_radar = 35000, short_range_radar = 5000, probes = 6, long_jump = 40, short_jump = 3, warp = 0, stock = true, },
["ZX-Lindworm"] = { strength = 8, cargo = 3, distance = 100, long_range_radar = 18000, short_range_radar = 5500, probes = 4, long_jump = 0, short_jump = 0, warp = 950, stock = true, },
-- Stock above, custom below
["Focus"] = { strength = 35, cargo = 4, distance = 200, long_range_radar = 32000, short_range_radar = 5000, probes = 8, long_jump = 25, short_jump = 2.5, warp = 0, stock = false, },
["Holmes"] = { strength = 35, cargo = 6, distance = 200, long_range_radar = 35000, short_range_radar = 4000, probes = 8, long_jump = 0, short_jump = 0, warp = 750, stock = false, },
["Maverick XP"] = { strength = 23, cargo = 5, distance = 200, long_range_radar = 25000, short_range_radar = 7000, probes = 10, long_jump = 20, short_jump = 2, warp = 0, stock = false, },
["Phobos T2"] = { strength = 19, cargo = 9, distance = 200, long_range_radar = 25000, short_range_radar = 5000, probes = 5, long_jump = 25, short_jump = 2, warp = 0, stock = false, },
["Striker LX"] = { strength = 16, cargo = 4, distance = 200, long_range_radar = 20000, short_range_radar = 4000, probes = 7, long_jump = 20, short_jump = 2, warp = 0, stock = false, },
}
npc_ships = false
npc_lower = 30
npc_upper = 60
scientist_list = {}
scientist_count = 0
scientist_score_value = 10
scientist_names = { --fictional
"Gertrude Goodall",
"John Kruger",
"Lisa Forsythe",
"Ethan Williams",
"Ameilia Martinez",
"Felix Mertens",
"Marie Novak",
"Mathias Evans",
"Clara Heikkinen",
"Vicente Martin",
"Catalina Fischer",
"Marek Varga",
"Ewa Olsen",
"Oscar Stewart",
"Alva Rodriguez",
"Aiden Johansson",
"Zoey Smith",
"Jorge Romero",
"Rosa Wong",
"Julian Acharya",
"Hannah Ginting",
"Anton Dewala",
"Camille Silva",
"Aleksi Gideon",
"Ella Dasgupta",
"Gunnar Smirnov",
"Telma Lozano",
"Kaito Fabroa",
"Misaki Kapia",
"Ronald Sanada",
"Janice Tesfaye",
"Alvaro Hassan",
"Valeria Dinh",
"Sergei Mokri",
"Yulia Karga",
"Arnav Dixon",
"Sanvi Saetan",
}
scientist_topics = {
"Mathematics",
"Miniaturization",
"Exotic materials",
"Warp theory",
"Particle theory",
"Power systems",
"Energy fields",
"Subatomic physics",
"Stellar phenomena",
"Gravity dynamics",
"Information science",
"Computer protocols",
}
upgrade_requirements = {
"talk", --talk
"talk primary", --talk then upgrade at primary station
"meet", --meet
"meet primary", --meet then upgrade at primary station
"transport", --transport to primary station
"confer", --transport to primary station, then confer with another scientist
}
upgrade_list = {
{action = hullStrengthUpgrade, name = "hull strength upgrade"},
{action = shieldStrengthUpgrade, name = "shield strength upgrade"},
{action = missileLoadSpeedUpgrade, name = "missile load speed upgrade"},
{action = beamDamageUpgrade, name = "beam damage upgrade"},
{action = beamRangeUpgrade, name = "beam range upgrade"},
{action = batteryEfficiencyUpgrade, name = "battery efficiency upgrade"},
{action = fasterImpulseUpgrade, name = "faster impulse upgrade"},
{action = longerSensorsUpgrade, name = "longer sensor range upgrade"},
{action = fasterSpinUpgrade, name = "faster maneuvering speed upgrade"},
}
upgrade_automated_applications = {
"single", --automatically applied only to the player that completed the requirements
"players", --automatically applied to allied players
"all", --automatically applied to players and NPCs (where applicable)
}
prefix_length = 0
suffix_index = 0
formation_delta = {
["square"] = {
x = {0,1,0,-1, 0,1,-1, 1,-1,2,0,-2, 0,2,-2, 2,-2,2, 2,-2,-2,1,-1, 1,-1,0, 0,3,-3,1, 1,3,-3,-1,-1, 3,-3,2, 2,3,-3,-2,-2, 3,-3,3, 3,-3,-3,4,0,-4, 0,4,-4, 4,-4,-4,-4,-4,-4,-4,-4,4, 4,4, 4,4, 4, 1,-1, 2,-2, 3,-3,1,-1,2,-2,3,-3,5,-5,0, 0,5, 5,-5,-5,-5,-5,-5,-5,-5,-5,-5,-5,5, 5,5, 5,5, 5,5, 5, 1,-1, 2,-2, 3,-3, 4,-4,1,-1,2,-2,3,-3,4,-4},
y = {0,0,1, 0,-1,1,-1,-1, 1,0,2, 0,-2,2,-2,-2, 2,1,-1, 1,-1,2, 2,-2,-2,3,-3,0, 0,3,-3,1, 1, 3,-3,-1,-1,3,-3,2, 2, 3,-3,-2,-2,3,-3, 3,-3,0,4, 0,-4,4,-4,-4, 4, 1,-1, 2,-2, 3,-3,1,-1,2,-2,3,-3,-4,-4,-4,-4,-4,-4,4, 4,4, 4,4, 4,0, 0,5,-5,5,-5, 5,-5, 1,-1, 2,-2, 3,-3, 4,-4,1,-1,2,-2,3,-3,4,-4,-5,-5,-5,-5,-5,-5,-5,-5,5, 5,5, 5,5, 5,5, 5},
},
["hexagonal"] = {
x = {0,2,-2,1,-1, 1,-1,4,-4,0, 0,2,-2,-2, 2,3,-3, 3,-3,6,-6,1,-1, 1,-1,3,-3, 3,-3,4,-4, 4,-4,5,-5, 5,-5,8,-8,4,-4, 4,-4,5,5 ,-5,-5,2, 2,-2,-2,0, 0,6, 6,-6,-6,7, 7,-7,-7,10,-10,5, 5,-5,-5,6, 6,-6,-6,7, 7,-7,-7,8, 8,-8,-8,9, 9,-9,-9,3, 3,-3,-3,1, 1,-1,-1,12,-12,6,-6, 6,-6,7,-7, 7,-7,8,-8, 8,-8,9,-9, 9,-9,10,-10,10,-10,11,-11,11,-11,4,-4, 4,-4,2,-2, 2,-2,0, 0},
y = {0,0, 0,1, 1,-1,-1,0, 0,2,-2,2,-2, 2,-2,1,-1,-1, 1,0, 0,3, 3,-3,-3,3,-3,-3, 3,2,-2,-2, 2,1,-1,-1, 1,0, 0,4,-4,-4, 4,3,-3, 3,-3,4,-4, 4,-4,4,-4,2,-2, 2,-2,1,-1, 1,-1, 0, 0,5,-5, 5,-5,4,-4, 4,-4,3,-3, 3,-7,2,-2, 2,-2,1,-1, 1,-1,5,-5, 5,-5,5,-5, 5,-5, 0, 0,6, 6,-6,-6,5, 5,-5,-5,4, 4,-4,-4,3, 3,-3,-3, 2, 2,-2, -2, 1, 1,-1, -1,6, 6,-6,-6,6, 6,-6,-6,6,-6},
},
}
fleet_group = {
["adder"] = "Adders",
["Adders"] = "adder",
["missiler"] = "Missilers",
["Missilers"] = "missiler",
["beamer"] = "Beamers",
["Beamers"] = "beamer",
["frigate"] = "Frigates",
["Frigates"] = "frigate",
["chaser"] = "Chasers",
["Chasers"] = "chaser",
["fighter"] = "Fighters",
["Fighters"] = "fighter",
["drone"] = "Drones",
["Drones"] = "drone",
}
ship_template = { --ordered by relative strength
["Gnat"] = {strength = 2, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = true, unusual = false, base = false, create = gnat},
["Lite Drone"] = {strength = 3, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = true, unusual = false, base = false, create = droneLite},
["Jacket Drone"] = {strength = 4, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = true, unusual = false, base = false, create = droneJacket},
["Ktlitan Drone"] = {strength = 4, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = true, unusual = false, base = false, create = stockTemplate},
["Heavy Drone"] = {strength = 5, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = true, unusual = false, base = false, create = droneHeavy},
["Adder MK3"] = {strength = 5, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["MT52 Hornet"] = {strength = 5, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = stockTemplate},
["MU52 Hornet"] = {strength = 5, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = stockTemplate},
["MV52 Hornet"] = {strength = 6, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = hornetMV52},
["Adder MK4"] = {strength = 6, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Fighter"] = {strength = 6, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = stockTemplate},
["Ktlitan Fighter"] = {strength = 6, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = stockTemplate},
["K2 Fighter"] = {strength = 7, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = k2fighter},
["Adder MK5"] = {strength = 7, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["WX-Lindworm"] = {strength = 7, adder = false, missiler = true, beamer = false, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = stockTemplate},
["K3 Fighter"] = {strength = 8, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = k3fighter},
["Adder MK6"] = {strength = 8, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Ktlitan Scout"] = {strength = 8, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["WZ-Lindworm"] = {strength = 9, adder = false, missiler = true, beamer = false, frigate = false, chaser = false, fighter = true, drone = false, unusual = false, base = false, create = wzLindworm},
["Adder MK7"] = {strength = 9, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Adder MK8"] = {strength = 10, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Adder MK9"] = {strength = 11, adder = true, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Nirvana R3"] = {strength = 12, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Phobos R2"] = {strength = 13, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = phobosR2},
["Missile Cruiser"] = {strength = 14, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Waddle 5"] = {strength = 15, adder = true, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = waddle5},
["Jade 5"] = {strength = 15, adder = true, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = jade5},
["Phobos T3"] = {strength = 15, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Piranha F8"] = {strength = 15, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Piranha F12"] = {strength = 15, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Piranha F12.M"] = {strength = 16, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Phobos M3"] = {strength = 16, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Farco 3"] = {strength = 16, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = farco3},
["Farco 5"] = {strength = 16, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = farco5},
["Karnack"] = {strength = 17, adder = false, missiler = false, beamer = true, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Gunship"] = {strength = 17, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Phobos T4"] = {strength = 18, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = phobosT4},
["Cruiser"] = {strength = 18, adder = true, missiler = false, beamer = true, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Nirvana R5"] = {strength = 19, adder = false, missiler = false, beamer = true, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Farco 8"] = {strength = 19, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = farco8},
["Ktlitan Worker"] = {strength = 20, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Nirvana R5A"] = {strength = 20, adder = false, missiler = false, beamer = true, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Adv. Gunship"] = {strength = 20, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Farco 11"] = {strength = 21, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = farco11},
["Storm"] = {strength = 22, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Stalker R5"] = {strength = 22, adder = false, missiler = false, beamer = true, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Stalker Q5"] = {strength = 22, adder = false, missiler = false, beamer = true, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Farco 13"] = {strength = 24, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = farco13},
["Ranus U"] = {strength = 25, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Stalker Q7"] = {strength = 25, adder = false, missiler = false, beamer = true, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Stalker R7"] = {strength = 25, adder = false, missiler = false, beamer = true, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Whirlwind"] = {strength = 26, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = whirlwind},
["Adv. Striker"] = {strength = 27, adder = false, missiler = false, beamer = true, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Elara P2"] = {strength = 28, adder = false, missiler = false, beamer = false, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Tempest"] = {strength = 30, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = tempest},
["Strikeship"] = {strength = 30, adder = false, missiler = false, beamer = true, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Fiend G3"] = {strength = 33, adder = false, missiler = false, beamer = false, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Fiend G4"] = {strength = 35, adder = false, missiler = false, beamer = false, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Cucaracha"] = {strength = 36, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = cucaracha},
["Fiend G5"] = {strength = 37, adder = false, missiler = false, beamer = false, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Fiend G6"] = {strength = 39, adder = false, missiler = false, beamer = false, frigate = true, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Predator"] = {strength = 42, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = predator},
["Ktlitan Breaker"] = {strength = 45, adder = false, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Hurricane"] = {strength = 46, adder = false, missiler = true, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = hurricane},
["Ktlitan Feeder"] = {strength = 48, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Atlantis X23"] = {strength = 50, adder = false, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["K2 Breaker"] = {strength = 55, adder = false, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = k2breaker},
["Ktlitan Destroyer"] = {strength = 50, adder = false, missiler = false, beamer = false, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Atlantis Y42"] = {strength = 60, adder = false, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = atlantisY42},
["Blockade Runner"] = {strength = 65, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Starhammer II"] = {strength = 70, adder = false, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Enforcer"] = {strength = 75, adder = false, missiler = false, beamer = false, frigate = true, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = enforcer},
["Dreadnought"] = {strength = 80, adder = false, missiler = false, beamer = true, frigate = false, chaser = false, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Starhammer III"] = {strength = 85, adder = false, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = starhammerIII},
["Starhammer V"] = {strength = 90, adder = false, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = starhammerV},
["Battlestation"] = {strength = 100,adder = false, missiler = false, beamer = true, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
["Tyr"] = {strength = 150,adder = false, missiler = false, beamer = true, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = tyr},
["Odin"] = {strength = 250,adder = false, missiler = false, beamer = false, frigate = false, chaser = true, fighter = false, drone = false, unusual = false, base = false, create = stockTemplate},
}
control_code_stem = { --All control codes must use capital letters or they will not work.
"ALWAYS",
"BLACK",
"BLUE",
"BRIGHT",
"BROWN",
"CHAIN",
"CHURCH",
"DOORWAY",
"DULL",
"ELBOW",
"EMPTY",
"EPSILON",
"FLOWER",
"FLY",
"FROZEN",
"GREEN",
"GLOW",
"HAMMER",
"INK",
"JUMP",
"KEY",
"LETTER",
"LIST",
"MORNING",
"NEXT",
"OPEN",
"ORANGE",
"OUTSIDE",
"PURPLE",
"QUARTER",
"QUIET",
"RED",
"SHINE",
"SIGMA",
"STAR",
"STREET",
"TOKEN",
"THIRSTY",
"UNDER",
"VANISH",
"WHITE",
"WRENCH",
"YELLOW",
}
healthCheckTimerInterval = 10
healthCheckTimer = healthCheckTimerInterval
commonGoods = {"food","medicine","nickel","platinum","gold","dilithium","tritanium","luxury","cobalt","impulse","warp","shield","tractor","repulsor","beam","optic","robotic","filament","transporter","sensor","communication","autodoc","lifter","android","nanites","software","circuit","battery"}
componentGoods = {"impulse","warp","shield","tractor","repulsor","beam","optic","robotic","filament","transporter","sensor","communication","autodoc","lifter","android","nanites","software","circuit","battery"}
mineralGoods = {"nickel","platinum","gold","dilithium","tritanium","cobalt"}
end
function setStaticScienceDatabase()
--------------------------------------------------------------------------------------
-- Generic station descriptions: text and details from shipTemplates_stations.lua --
--------------------------------------------------------------------------------------
local station_db = queryScienceDatabase("Stations")
if station_db == nil then
station_db = ScienceDatabase():setName("Stations")
station_db:setLongDescription("Stations are places for ships to dock, get repaired and replenished, interact with station personnel, etc. They are like oases, service stations, villages, towns, cities, etc.")
station_db:addEntry("Small")
local small_station_db = queryScienceDatabase("Stations","Small")
small_station_db:setLongDescription("Stations of this size are often used as research outposts, listening stations, and security checkpoints. Crews turn over frequently in a small station's cramped accommodatations, but they are small enough to look like ships on many long-range sensors, and organized raiders sometimes take advantage of this by placing small stations in nebulae to serve as raiding bases. They are lightly shielded and vulnerable to swarming assaults.")
small_station_db:setImage(getFilenameCompatible("smallstation.png"))
small_station_db:setKeyValue("Class","Small")
small_station_db:setKeyValue("Size",300)
small_station_db:setKeyValue("Shield",300)
small_station_db:setKeyValue("Hull",150)
station_db:addEntry("Medium")
local medium_station_db = queryScienceDatabase("Stations","Medium")
medium_station_db:setLongDescription("Large enough to accommodate small crews for extended periods of times, stations of this size are often trading posts, refuelling bases, mining operations, and forward military bases. While their shields are strong, concerted attacks by many ships can bring them down quickly.")
medium_station_db:setImage(getFilenameCompatible("mediumstation.png"))
medium_station_db:setKeyValue("Class","Medium")
medium_station_db:setKeyValue("Size",1000)
medium_station_db:setKeyValue("Shield",800)
medium_station_db:setKeyValue("Hull",400)
station_db:addEntry("Large")
local large_station_db = queryScienceDatabase("Stations","Large")
large_station_db:setLongDescription("These spaceborne communities often represent permanent bases in a sector. Stations of this size can be military installations, commercial hubs, deep-space settlements, and small shipyards. Only a concentrated attack can penetrate a large station's shields, and its hull can withstand all but the most powerful weaponry.")
large_station_db:setImage(getFilenameCompatible("largestation.png"))
large_station_db:setKeyValue("Class","Large")
large_station_db:setKeyValue("Size",1300)
large_station_db:setKeyValue("Shield","1000/1000/1000")
large_station_db:setKeyValue("Hull",500)
station_db:addEntry("Huge")
local huge_station_db = queryScienceDatabase("Stations","Huge")
huge_station_db:setLongDescription("The size of a sprawling town, stations at this scale represent a faction's center of spaceborne power in a region. They serve many functions at once and represent an extensive investment of time, money, and labor. A huge station's shields and thick hull can keep it intact long enough for reinforcements to arrive, even when faced with an ongoing siege or massive, perfectly coordinated assault.")
huge_station_db:setImage(getFilenameCompatible("hugestation.png"))
huge_station_db:setKeyValue("Class","Huge")
huge_station_db:setKeyValue("Size",1500)
huge_station_db:setKeyValue("Shield","1200/1200/1200/1200")
huge_station_db:setKeyValue("Hull",800)
end
-----------------------------------------------------------------------------------
-- Template ship category descriptions: text from other shipTemplates... files --
-----------------------------------------------------------------------------------
local ships_db = queryScienceDatabase("Ships")
if ships_db == nil then
ships_db = ScienceDatabase():setName("Ships")
end
local fighter_db = queryScienceDatabase("Ships","Starfighter")
if fighter_db == nil then
ships_db:addEntry("Starfighter")
fighter_db = queryScienceDatabase("Ships","Starfighter")
end
local generic_starfighter_description = "Starfighters are single to 3 person small ships. These are most commonly used as light firepower roles.\nThey are common in larger groups, and need a close by station or support ship, as they lack long time life support.\nIt's rare to see starfighters with more then one shield section.\n\nOne of the most well known starfighters is the X-Wing.\n\nStarfighters come in 3 subclasses:\n* Interceptors: Fast, low on firepower, high on manouverability\n* Gunship: Equipped with more weapons, but trades in manouverability because of it.\n* Bomber: Slowest of all starfighters, but pack a large punch in a small package. Usually come without any lasers, but the largers bombers have been known to deliver nukes."
fighter_db:setLongDescription(generic_starfighter_description)
local frigate_db = queryScienceDatabase("Ships","Frigate")
if frigate_db == nil then
ships_db:addEntry("Frigate")
frigate_db = queryScienceDatabase("Ships","Frigate")
end
local generic_frigate_description = "Frigates are one size up from starfighters. They require a crew from 3 to 20 people.\nThink, Firefly, millennium falcon, slave I (Boba fett's ship).\n\nThey generally have 2 or more shield sections, but hardly ever more than 4.\n\nThis class of ships is normally not fitted with jump or warp drives. But in some cases ships are modified to include these, or for certain roles it is built in.\n\nThey are divided in 3 different sub-classes:\n* Cruiser: Weaponized frigates, focused on combat. These come in various roles.\n* Light transport: Small transports, like transporting up to 50 soldiers in spartan conditions or a few diplomats in luxury. Depending on the role it can have some weaponry.\n* Support: Support types come in many varieties. They are simply a frigate hull fitted with whatever was needed. Anything from mine-layers to science vessels."
frigate_db:setLongDescription(generic_frigate_description)
local corvette_db = queryScienceDatabase("Ships","Corvette")
if corvette_db == nil then
ships_db:addEntry("Corvette")
corvette_db = queryScienceDatabase("Ships","Corvette")
end
local generic_corvette_description = "Corvettes are the common large ships. Larger then a frigate, smaller then a dreadnaught.\nThey generally have 4 or more shield sections. Run with a crew of 20 to 250.\nThis class generally has jumpdrives or warpdrives. But lack the maneuverability that is seen in frigates.\n\nThey come in 3 different subclasses:\n* Destroyer: Combat oriented ships. No science, no transport. Just death in a large package.\n* Support: Large scale support roles. Drone carriers fall in this category, as well as mobile repair centers.\n* Freighter: Large scale transport ships. Most common here are the jump freighters, using specialized jumpdrives to cross large distances with large amounts of cargo."