-
Notifications
You must be signed in to change notification settings - Fork 0
/
missionTables.js
2427 lines (2323 loc) · 63.7 KB
/
missionTables.js
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
var seed = 1;
function randomDave() {
var x = Math.sin(seed++) * 10000;
return x - Math.floor(x);
}
var roll = function() {
return Math.floor((randomDave() * 100000) % 6 + 1);
};
var complication = function(c, d){
var that = this;
this.complication = c;
this.complicationDescription = d;
this.print = function() {
debug(String.format(cellTemplate, "Complication", that.complication));
debug(String.format(cellTemplate, "Complication Description", that.complicationDescription));
};
};
var misfortune = function(b, c, d){
var that = this;
this.crewmember = b;0
this.misfortune = c;
this.misfortuneDescription = d;
this.print = function() {
debug(String.format(headerTemplate, "Misfortune: " + that.crewmember));
debug(String.format(cellTemplate, "Misfortune", that.misfortune));
debug(String.format(cellTemplate, "Misfortune Description", that.misfortuneDescription));
};
};
var landMisfortune = function(c, d){
var that = this;
this.misfortune = c;
this.misfortuneDescription = d;
this.print = function() {
debug(String.format(headerTemplate, "Land Misfortune"));
debug(String.format(cellTemplate, "Misfortune", that.misfortune));
debug(String.format(cellTemplate, "Misfortune Description", that.misfortuneDescription));
};
};
var mission = function(t, m, d, c, b, e) {
var that = this;
this.target = t;
this.missionType = m;
this.destination = d;
this.numComplications = c;
this.baseReward = b;
this.extraReward = e;
this.employer = "";
this.reward = "";
this.mission = "";
this.description = "";
this.location = "";
this.locationDescription = "";
this.complications = [];
this.addComplication = function(comp) {
that.complications.push(comp);
};
this.print = function() {
debug(String.format(headerTemplate, "Mission: " + that.target));
debug(String.format(cellTemplate, "Type", that.missionType));
debug(String.format(cellTemplate, "Destination", that.destination));
debug(String.format(cellTemplate, "Base Reward", that.baseReward));
debug(String.format(cellTemplate, "Extra Reward", that.extraReward));
debug(String.format(cellTemplate, "Employer", that.employer));
debug(String.format(cellTemplate, "Reward", that.reward));
debug(String.format(cellTemplate, "Mission", that.mission));
debug(String.format(cellTemplate, "Mission Description", that.description));
debug(String.format(cellTemplate, "Location", that.location));
debug(String.format(cellTemplate, "Location Description", that.locationDescription));
// debug(String.format(cellTemplate, "# Complications", that.numComplications));
$.each(that.complications, function(c,i){
debug(String.format(cellTemplate, "Complication", this.complication));
debug(String.format(cellTemplate, "Complication Description", this.complicationDescription));
});
};
}
// Table 18
var missionType = function(target) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
case "14":
case "15":
return new mission(target, "Routine", "Within System", 0, roll(), 0);
case "16":
case "21":
case "22":
case "23":
return new mission(target, "Routine", "Within System", 1, roll() + 2, 0);
case "24":
case "25":
return new mission(target, "Easy", "Within System", 0, roll() + roll(), 0);
case "26":
case "31":
return new mission(target, "Easy", "Within System", 1, roll() + roll(), 1);
case "32":
case "33":
return new mission(target, "Easy", "Within System", 1, roll() + roll() + 2, 1);
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
return new mission(target, "Normal", "Within System", 1, roll() + roll()
+ roll(), 0);
case "44":
case "45":
return new mission(target, "Normal", "Nearby System", 1, roll() + roll()
+ roll(), 0);
case "46":
case "51":
return new mission(target, "Normal", "Nearby System", 1, roll() + roll()
+ roll(), 1);
case "52":
case "53":
return new mission(target, "Normal", "Nearby System", 1, roll() + roll()
+ roll() + 2, 1);
case "54":
return new mission(target, "Normal", "Faraway System", 1, roll() + roll()
+ roll() + 4, 0);
case "55":
return new mission(target, "Normal", "Faraway System", 1, roll() + roll()
+ roll() + 4, 1);
case "56":
case "61":
return new mission(target, "Difficult", "Within System", 2, roll() + roll()
+ roll() + roll(), 1);
case "62":
case "63":
return new mission(target, "Difficult", "Nearby System", 2, roll() + roll()
+ roll() + roll() + 2, 0);
case "64":
return new mission(target, "Difficult", "Nearby System", 2, roll() + roll()
+ roll() + roll() + 2, 1);
case "65":
return new mission(target, "Difficult", "Faraway System", 2, roll() + roll()
+ roll() + roll() + roll(), 1);
case "66":
return new mission(target, "Difficult", "Faraway System", 3, roll() + roll()
+ roll() + roll() + roll() + 4, 2);
}
;
}
// Table 19
var employerAgents = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.employer = "Judicator";
break;
case "14":
case "15":
case "16":
m.employer = "Guard";
break;
case "21":
case "22":
case "23":
m.employer = "Intelligence Agency";
break;
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
m.employer = "Patron";
break;
case "44":
case "45":
case "46":
m.employer = "Factionary";
break;
case "51":
case "52":
case "53":
m.employer = "Merchant";
break;
case "54":
case "55":
case "56":
m.employer = "Diplomat";
break;
case "61":
case "62":
case "63":
m.employer = "Military";
break;
case "64":
case "65":
case "66":
m.employer = "Criminal";
break;
}
};
// Table 20
var rewardsAgents = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.reward = "New Contract";
break;
case "14":
case "15":
case "16":
m.reward = "Favor";
break;
case "21":
case "22":
case "23":
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
case "44":
case "45":
case "46":
m.reward = "Birr";
break;
case "51":
case "52":
case "53":
case "54":
case "55":
case "56":
m.reward = "Gear";
break;
case "61":
case "62":
case "63":
m.reward = "Ship Module";
break;
case "64":
case "65":
case "66":
m.reward = "License";
break;
}
};
// Table 21
var missionAgents = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.mission = "Infiltration";
m.description = "Undercover infiltration of a base, smaller group or outpost to obtain data, identify leaders or investigate the organization";
break;
case "14":
case "15":
case "16":
m.mission = "Information gathering";
m.description = "Gather information from tags, library databases, networks, old scrolls or a living person.";
break;
case "21":
case "22":
case "23":
case "24":
case "25":
case "26":
m.mission = "Espionage";
m.description = "Classic espionage with secret meetings, shadowing, burglaries and undercover work.";
break;
case "31":
case "32":
case "33":
m.mission = "Kidnapping";
m.description = "Kidnap someone and deliver the person to the employer.";
break;
case "34":
case "35":
case "36":
m.mission = "Couriers";
m.description = "Make sure sensitive information, resources or goods are delivered safely from the employer to the receiver.";
break;
case "41":
case "42":
case "43":
m.mission = "Protection";
m.description = "Make sure a resource (information, person, object, ship) is safe from an attack or for a specified amount of time.";
break;
case "44":
case "45":
case "46":
m.mission = "Manipulation";
m.description = "Trick a person or organization into believing false information, or make them perform a certain action, or set a chain of events in motion.";
break;
case "51":
case "52":
case "53":
m.mission = "Artifact collection";
m.description = "Acquire an artifact, usually from an unknown, underground location.";
break;
case "54":
case "55":
case "56":
m.mission = "Rescue operation";
m.description = "Rescue a resource (usually a person or group) that is held captive or hostage. It could also be an object or a wrecked spaceship.";
break;
case "61":
case "62":
case "63":
m.mission = "Surveillance";
m.description = "Observe a resource (usually a person) for a specified amount of time.";
break;
case "64":
case "65":
case "66":
m.mission = "Assassination";
m.description = "Murder someone, sometimes so that it looks like an accident. Collateral damage is permitted.";
break;
}
};
//Table 22
var locationAgents = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.location = "Underground hideout";
m.locationDescription = "A bunker, catacombs or caves";
break;
case "14":
case "15":
case "16":
m.location = "Hostile forest/jungles/desert";
m.locationDescription = "Inhospitable planet side wilderness. Usually far from cities or settlements.";
break;
case "21":
case "22":
case "23":
case "24":
case "25":
case "26":
m.location = "Bazaar";
m.locationDescription = "A bazaar or market in a city or settlement";
break;
case "31":
case "32":
case "33":
m.location = "Spaceport";
m.locationDescription = "Spaceport on a space station or planet";
break;
case "34":
case "35":
case "36":
m.location = "Asteroid/Moon";
m.locationDescription = "The surface of an asteroid or a smaller moon. Vacuum or dangerous atmosphere";
break;
case "41":
case "42":
case "43":
m.location = "Space station";
m.locationDescription = "On a small space station, anything from an oxygen oasis to a trade or service station";
break;
case "44":
case "45":
case "46":
m.location = "Ruins";
m.locationDescription = "Firstcome or Portal Builder ruins ";
break;
case "51":
case "52":
case "53":
m.location = "Colony";
m.locationDescription = "A small colony, usually no bigger than a small, sparsely populated village. Far from other settlements.";
break;
case "54":
case "55":
case "56":
m.location = "Portal station";
m.locationDescription = "A portal station next to a sun";
break;
case "61":
case "62":
case "63":
m.location = "Spaceship";
m.locationDescription = "Onboard a spaceship during voyage or docking";
break;
case "64":
case "65":
case "66":
m.location = "Outpost";
m.locationDescription = "A small outpost, usually planet side. An outpost is commonly just a single building with a specific function and only a few inhabitants. For example sensor station, dam control station, courier post or someother communications station";
break;
}
};
//Table 23
var complicationAgents = function() {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
return new complication( "Third party","Another patron or a person with a similar background as the employer is after the same thing. Could offer the group higher payment or that they will use the information/resource for a different purpose when the mission is completed.");
case "14":
case "15":
case "16":
case "21":
case "22":
case "23":
return new complication( "Accompanying employer", "The employer wants to come along for the mission, or send an observer or agent along.");
break;
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
return new complication( "Double agent", "A person the PCs encounter is a double agent for another organization with a conflicting agenda.");
break;
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
return new complication( "Bad intel", "A piece of information about the mission turns out to be false, either intentionally or by mistake.");
break;
case "44":
case "45":
case "46":
case "51":
case "52":
case "53":
return new complication( "Unexpected Reinforcements", "The group's opponent receive backup in the form of reinforcements, more advanced computer systems or some other form of extra assistance.");
break;
case "54":
case "55":
case "56":
case "61":
case "62":
case "63":
return new complication( "Scapegoats", "The employer wants the mission to go badly and for the PCs to take the fall for something.");
break;
case "64":
case "65":
case "66":
return new complication( "Intelligence agency involvement","An intelligence agency, possibly factionary, with many resources has the same or opposite goals as the PCs");
break;
}
};
// Table 24
var employerMercenaries = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.employer = "Fleet captain";
break;
case "14":
case "15":
case "16":
m.employer = "Military officer";
break;
case "21":
case "22":
case "23":
m.employer = "Legion company";
break;
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
m.employer = "Patron";
break;
case "44":
case "45":
case "46":
m.employer = "Factionary";
break;
case "51":
case "52":
case "53":
m.employer = "Arms dealer";
break;
case "54":
case "55":
case "56":
m.employer = "Mercenary";
break;
case "61":
case "62":
case "63":
m.employer = "War verteran";
break;
case "64":
case "65":
case "66":
m.employer = "Smuggler";
break;
}
};
// Table 25
var rewardsMercenaries = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
case "14":
case "15":
case "16":
m.reward = "Faction Protection";
break;
case "21":
case "22":
case "23":
m.reward = "Ship module";
break;
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
case "44":
case "45":
case "46":
m.reward = "Birr";
break;
case "51":
case "52":
case "53":
case "54":
case "55":
case "56":
m.reward = "Gear";
break;
case "61":
case "62":
case "63":
m.reward = "Cybernetics/Bionics";
break;
case "64":
case "65":
case "66":
m.reward = "Medal of Honor";
break;
}
};
// Table 26
var missionMercenaries = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.mission = "Reconnaissance";
m.description = "Scout out an area, a location or the surroundings of a building. Remain unnoticed and report back to the employer";
break;
case "14":
case "15":
case "16":
m.mission = "Assault";
m.description = "Attack and hold a location. Prisoners may be taken.";
break;
case "21":
case "22":
case "23":
case "24":
case "25":
case "26":
m.mission = "Defend place or area ";
m.description = "Defend a location or patrol an area; prevent the enemy from seizing it.";
break;
case "31":
case "32":
case "33":
m.mission = "Reinforce location";
m.description = "Support or reinforce a position under attack, repel the enemy.";
break;
case "34":
case "35":
case "36":
m.mission = "Seek and destroy";
m.description = "Find a person, group or location and destroy it. Could be civilians, enemy combatants or vehicles/spaceships.";
break;
case "41":
case "42":
case "43":
m.mission = "Protect resource";
m.description = "Protect a resource. It could be information, a person, an object or a ship. Protect it from an attack or guard it for a specified amount of time.";
break;
case "44":
case "45":
case "46":
m.mission = "Locate resource";
m.description = "Locate a person, group or object and either retrieve it or notify the employer of its location.";
break;
case "51":
case "52":
case "53":
m.mission = "Rescue operation";
m.description = "Rescue a group, squadron or spaceship from an attack, imprisonment, or some other peril";
break;
case "54":
case "55":
case "56":
m.mission = "Raid";
m.description = "Plan and execute a raid on a person, group, convoy or vehicle. The goal is usually to destroy or delay the target.";
break;
case "61":
case "62":
case "63":
m.mission = "Investigation";
m.description = "Locate something important, for example nuclear warheads, antimatter bombs or bionic weapons. The PCs could be accompanied by an agent, a weapons expert or some other officer.";
break;
case "64":
case "65":
case "66":
m.mission = "Incursion";
m.description = "Go behind enemy lines or breach a fortress or garrison to secure a resource that could be a person, information or an object.";
break;
}
};
//Table 27
var locationMercenaries = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.location = "Underground bunker";
m.locationDescription = "A bunker, catacombs or caves";
break;
case "14":
case "15":
case "16":
m.location = "Hostile forest/jungles/desert";
m.locationDescription = "Inhospitable planet side wilderness. Usually far from cities or settlements.";
break;
case "21":
case "22":
case "23":
case "24":
case "25":
case "26":
m.location = "Trenches";
m.locationDescription = "A trench on a deadlocked frontline. Mine fields, underground tunnels and other soldiers in despair.";
break;
case "31":
case "32":
case "33":
m.location = "Spaceport";
m.locationDescription = "Spaceport on a space station or planet";
break;
case "34":
case "35":
case "36":
m.location = "Asteroid/Moon";
m.locationDescription = "The surface of an asteroid or a smaller moon. Vacuum or dangerous atmosphere";
break;
case "41":
case "42":
case "43":
m.location = "Combat station";
m.locationDescription = "A fortified space station with weapon systems, or some other battle installation such as a larger garrison, hangars or docks.";
break;
case "44":
case "45":
case "46":
m.location = "War zone ";
m.locationDescription = "A larger area where open war is raging. Could be a burned-out city or a wilderness full of fighting combatants.";
break;
case "51":
case "52":
case "53":
m.location = "Fortification";
m.locationDescription = "A fortification could be a wall, modern fort, castle, artillery position, rocket silo or mine field.";
break;
case "54":
case "55":
case "56":
m.location = "Space station";
m.locationDescription = "On a small space station, anything from an oxygen oasis to a trade or service station";
break;
case "61":
case "62":
case "63":
m.location = "Spaceship";
m.locationDescription = "Onboard a spaceship during voyage or docking";
break;
case "64":
case "65":
case "66":
m.location = "Outpost";
m.locationDescription = "A small outpost, usually planet side. An outpost is commonly just a single building with a specific function and only a few inhabitants. For example sensor station, dam control station, courier post or someother communications station";
break;
}
};
//Table 28
var complicationMercenaries = function() {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
case "14":
case "15":
case "16":
return new complication( "Bad intel", "A piece of information about the mission turns out to be false, either intentionally or by mistake.");
case "21":
case "22":
case "23":
return new complication( "Super cargo", "Someone they must protect during the mission accompanies the group. It could be an observer, a civilian or an agent.");
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
return new complication( "Gear problem", "The group has gear problems. It could be anything from weapons to vehicles or spaceships.");
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
return new complication( "Underestimated resistance", "The resistance or the attackers are stronger than expected.");
break;
case "44":
case "45":
case "46":
case "51":
case "52":
case "53":
return new complication( "Captured employer", "The group's employer is captured during the mission. Fitting if the employer is an officer in the group's company.");
break;
case "54":
case "55":
case "56":
case "61":
case "62":
case "63":
return new complication( "New offensive", "A new offensive has just been initiated when the group is about to carry out their mission, either by the enemies or by the PCs' side in the conflict");
break;
case "64":
case "65":
case "66":
return new complication( "Bombardments","The area where the mission takes place is being bombed. It could be air raids, torpedo attacks or rebel forces detonating mines and homemade explosives.");
break;
}
};
//Table 29
var employerExplorers = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.employer = "Archaeologist";
break;
case "14":
case "15":
case "16":
m.employer = "Scientist";
break;
case "21":
case "22":
case "23":
m.employer = "Artifact merchant";
break;
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
m.employer = "Patron";
break;
case "44":
case "45":
case "46":
m.employer = "Factionary";
break;
case "51":
case "52":
case "53":
m.employer = "Correspondent";
break;
case "54":
case "55":
case "56":
m.employer = "Prospector";
break;
case "61":
case "62":
case "63":
m.employer = "Wealthy collector";
break;
case "64":
case "65":
case "66":
m.employer = "Criminal";
break;
}
};
// Table 30
var rewardsExplorers = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.reward = "Expedition of their own";
break;
case "14":
case "15":
case "16":
m.reward = "Ship module";
break;
case "21":
case "22":
case "23":
m.reward = "Vehicle";
break;
case "24":
case "25":
case "26":
case "31":
case "32":
case "33":
case "34":
case "35":
case "36":
case "41":
case "42":
case "43":
case "44":
case "45":
case "46":
m.reward = "New knowledge";
break;
case "51":
case "52":
case "53":
case "54":
case "55":
case "56":
m.reward = "Birr";
break;
case "61":
case "62":
case "63":
m.reward = "Gear";
break;
case "64":
case "65":
case "66":
m.reward = "Artifact";
break;
}
};
// Table 31
var missionExplorers = function(m) {
var r = "" + roll() + roll();
switch (r) {
case "11":
case "12":
case "13":
m.mission = "Excavation";
m.description = "Perform an excavation, start a dig site or help in an already started excavation.";
break;
case "14":
case "15":
case "16":
m.mission = "Collection";
m.description = "Collect smaller archaeological finds, artifacts, information, scrolls or something similar. Could be from a dig site or some other location.";
break;
case "21":
case "22":
case "23":
case "24":
case "25":
case "26":
m.mission = "Survey";
m.description = "Map a location or an area for the employer. Report back with sensor maps and other collected data.";
break;
case "31":
case "32":
case "33":
m.mission = "Secure outpost ";
m.description = "Protect a smaller colony such as a dig site, Bulletin station, sensor station or radio beacon from an attack or from nature's wrath for a specified amount of time";
break;
case "34":
case "35":
case "36":
m.mission = "Assist colony ";
m.description = "Assist a smaller colony with gear, information or expert knowledge about exo use, medicurgy, construction or something else.";
break;
case "41":
case "42":
case "43":
m.mission = "Artifact hunt ";
m.description = "Find an artifact. The location and sometimes the function are unknown. Clues must be tracked down before departure";
break;
case "44":
case "45":
case "46":
m.mission = "Investigation";
m.description = "Locate something important, for example lost ruins, a dig site or a surveyed location. The PCs could be accompanied by an external expert such as an archaeologist, correspondent or diplomat.";
break;
case "51":
case "52":
case "53":
m.mission = "Find information ";
m.description = "Find a specific piece of information for the employer. Sometimes, the group does not know the intended use of the information.";
break;
case "54":
case "55":
case "56":
m.mission = "Prospecting";
m.description = "Command a prospecting expedition or secure a claim somewhere. It could be mining, asteroid harvesting, logging or gas or dust trawling.";
break;
case "61":
case "62":
case "63":