-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathstage4_resurce.cpp
More file actions
2628 lines (2031 loc) · 134 KB
/
stage4_resurce.cpp
File metadata and controls
2628 lines (2031 loc) · 134 KB
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
#include "stage4_resurce.h"
#include <QtGui>
Stage4::Stage4(QWidget *parent) :
QWidget(parent)
{
s4ModulesList << "None" << "Agitator" << "Civilian Job" << "Clan Watch Operative" << "Clan Warrior Washout" << "Cloister Training" << "Combat Correspondent"
<< "Comstar/WoB Service" << "Covert Operations" << "Dark Caste" << "Explorer" << "Goliath Scorpion Seeker" << "Guerilla Insurgent"
<< "Merchant" << "Ne'er-Do-Well" << "Organized Crime" << "Postgraduate Studies" << "Protomech Pilot Training" << "Scientist Caste Service"
<< "Solaris Insider" << "Solaris VII Games" << "Think Tank" << "Tour Of Duty" << "To Serve And Protect" << "Travel";
s4TraitsMod.clear();
s4SkillsMod.clear();
s4AttrMod.clear();
s4XpCost = 0;
s4FlexXP = 0;
s4AffStreet = 0;
s4AffLang = 0;
s4AffProt = 0;
s4Age = 0;
s4repeat = false;
carField = new CarierFields;
clanFieldSkills.clear();
}
QStringList Stage4::CreateSubSkillList(QString nameSkill) {
QStringList listSubSkills;
QStringList listSubSkillsSwp;
listSubSkillsSwp.clear();
listSubSkillsSwp = subSkillList.values(nameSkill);
for(int i=0; i < listSubSkillsSwp.count(); i++) {
QString newName = nameSkill + "/" + listSubSkillsSwp[i];
listSubSkills.append(newName);
}
listSubSkills.sort();
return listSubSkills;
}
QStringList Stage4::S4ClearModulesList() {
QStringList clearList;
clearList.clear();
s4ModulesList.clear();
s4ModulesList << "None" << "Agitator";
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
if(s4clanCastName.first == "Laborer Caste" || s4clanCastName.first == "Merchant Caste") {
s4ModulesList << "Civilian Job";
} else{
if(s4clanCastName.first == "Technician Caste") {
s4ModulesList << "Civilian Job";
}
}
} else {
s4ModulesList << "Civilian Job";
}
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
if(s4clanCastName.first != "Merchant Caste" || s4clanCastName.first == "Laborer Caste") {
s4ModulesList << "Clan Watch Operative";
}
}
if(s4LateChildName.first == "Trueborn Sibko" || s4LateChildName.first == "Freeborn Sibko") {
s4ModulesList << "Clan Warrior Washout";
}
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
s4ModulesList << "Cloister Training";
}
}
}
}
}
if(s4AffName.first != "Invading Clan" || s4AffName.first != "Homeworld Clan") {
bool chkPrerc = false;
if( s4AdvSchool.first == "Journalist" ) {
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Combat Correspondent";
}
}
}
if(s4ComChk == true || s4WobChk == true) {
bool chkPrerc = false;
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Lost Limb") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Hearing") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Vision") {
chkPrerc = true;
}
if (s4Traits[i].first == "Transit Disorientation Syndrome") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Comstar/WoB Service";
}
}
if(s4AffName.first != "Invading Clan") {
if (s4AffName.first != "Homeworld Clan") {
if(s4SchoolName.first != "Technical College") {
if( s4SchoolName.first != "Trade School" ) {
if(s4SchoolName.first != "University" || s4SchoolName.first !="Solaris Internship") {
bool chkPrerc = false;
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Covert Operations";
}
}
}
}
}
}
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
s4ModulesList << "Dark Caste";
}
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
if(s4clanCastName.first == "Scientist Caste") {
s4ModulesList << "Explorer";
}
} else {
s4ModulesList << "Explorer";
}
if(s4SubAffName.first == "Goliath Scorpion") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
s4ModulesList << "Goliath Scorpion Seeker";
}
}
}
}
}
if(s4AffName.first != "Invading Clan" || s4AffName.first != "Homeworld Clan") {
s4ModulesList << "Guerilla Insurgent";
}
if(s4AffName.first == "Invading Clan") {
bool chkPrerc = false;
for(int i = 0; i < s4Traits.count(); i++) {
if (s4Traits[i].first == "Transit Disorientation Syndrome") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Merchant";
}
} else {
s4ModulesList << "Merchant";
}
s4ModulesList << "Ne'er-Do-Well";
if(s4AffName.first != "Invading Clan" || s4AffName.first != "Homeworld Clan") {
s4ModulesList << "Organized Crime";
}
if(s4SchoolName.first == "University") {
s4ModulesList << "Postgraduate Studies";
}
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
bool chkPrerc = false;
if(s4SubAffName.first == "Blood Spirit") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
if(s4Phenotype == "Phenotype/Aerospace") {
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Implant/EI Neural Implant") {
chkPrerc = false;
} else {
chkPrerc = true;
}
if (s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
if (s4Traits[i].first == "Glass Jaw") {
chkPrerc = true;
}
if(s4Traits[i].first == "Lost Limb") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Hearing") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Vision") {
chkPrerc = true;
}
if (s4Traits[i].first == "Slow Learner") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Protomech Pilot Training";
}
}
}
}
}
}
}
if(s4SubAffName.first == "Fire Mandrill") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
if(s4Phenotype == "Phenotype/Aerospace") {
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Implant/EI Neural Implant") {
chkPrerc = false;
} else {
chkPrerc = true;
}
if (s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
if (s4Traits[i].first == "Glass Jaw") {
chkPrerc = true;
}
if(s4Traits[i].first == "Lost Limb") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Hearing") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Vision") {
chkPrerc = true;
}
if (s4Traits[i].first == "Slow Learner") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Protomech Pilot Training";
}
}
}
}
}
}
}
if(s4SubAffName.first == "Goliath Scorpion") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
if(s4Phenotype == "Phenotype/Aerospace") {
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Implant/EI Neural Implant") {
chkPrerc = false;
} else {
chkPrerc = true;
}
if (s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
if (s4Traits[i].first == "Glass Jaw") {
chkPrerc = true;
}
if(s4Traits[i].first == "Lost Limb") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Hearing") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Vision") {
chkPrerc = true;
}
if (s4Traits[i].first == "Slow Learner") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Protomech Pilot Training";
}
}
}
}
}
}
}
if(s4SubAffName.first == "Hell's Horses") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
if(s4Phenotype == "Phenotype/Aerospace") {
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Implant/EI Neural Implant") {
chkPrerc = false;
} else {
chkPrerc = true;
}
if (s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
if (s4Traits[i].first == "Glass Jaw") {
chkPrerc = true;
}
if(s4Traits[i].first == "Lost Limb") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Hearing") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Vision") {
chkPrerc = true;
}
if (s4Traits[i].first == "Slow Learner") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Protomech Pilot Training";
}
}
}
}
}
}
}
if(s4SubAffName.first == "Snow Raven") {
if(s4clanCastName.first != "Scientist Caste") {
if(s4clanCastName.first != "Technician Caste") {
if(s4clanCastName.first != "Merchant Caste") {
if(s4clanCastName.first != "Laborer Caste") {
if(s4Phenotype == "Phenotype/Aerospace") {
for(int i = 0; i < s4Traits.count(); i++) {
if(s4Traits[i].first == "Implant/EI Neural Implant") {
chkPrerc = false;
} else {
chkPrerc = true;
}
if (s4Traits[i].first == "Combat Paralysis") {
chkPrerc = true;
}
if (s4Traits[i].first == "Glass Jaw") {
chkPrerc = true;
}
if(s4Traits[i].first == "Lost Limb") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Hearing") {
chkPrerc = true;
}
if (s4Traits[i].first == "Poor Vision") {
chkPrerc = true;
}
if (s4Traits[i].first == "Slow Learner") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Protomech Pilot Training";
}
}
}
}
}
}
}
}
if(s4AffName.first == "Invading Clan" || s4AffName.first == "Homeworld Clan") {
if(s4clanCastName.first == "Scientist Caste") {
s4ModulesList << "Scientist Caste Service";
}
}
s4ModulesList << "Solaris Insider";
if (s4AdvSchool.first != "MechWarrior" || s4AdvSchool.first !="Cavalry") {
if(s4AdvSchool.first == "Pilot - Battle Armor" || s4SpecSchool.first == "Pilot - Battle Armor") {
s4ModulesList << "Solaris VII Games";
}
} else {
s4ModulesList << "Solaris VII Games";
}
if (s4AdvSchool.first != "Analysis" || s4SpecSchool.first !="Doctor") {
if (s4AdvSchool.first != "Engineer" || s4SpecSchool.first !="Military Scientist") {
s4ModulesList << "Think Tank";
}
} else {
s4ModulesList << "Think Tank";
}
if(s4MilField == true) {
s4ModulesList << "Tour Of Duty";
}
if (s4AdvSchool.first != "Police Officer" || s4BasicSchool.first != "Police Officer") {
if(s4SpecSchool.first == "Police Tactical Officer" || s4AdvSchool.first == "Detective") {
s4ModulesList << "To Serve And Protect";
}
}
bool chkPrerc = false;
for(int i = 0; i < s4Traits.count(); i++) {
if (s4Traits[i].first == "Transit Disorientation Syndrome") {
chkPrerc = true;
}
}
if(chkPrerc != true) {
s4ModulesList << "Travel";
}
clearList = s4ModulesList;
return clearList;
}
void Stage4::S4AddTraits(QString str , int count) {
s4TraitsMod.append(qMakePair(str,count));
}
void Stage4::S4AddSkills(QString str , int count) {
s4SkillsMod.append(qMakePair(str,count));
}
void Stage4::S4ChooseLife(QString nameElem) {
s4LabelElem1.clear();
s4SkillsElem1.clear();
s4TraitsElem1.clear();
s4Elem1 = 0;
s4LabelElem2.clear();
s4SkillsElem2.clear();
s4TraitsElem2.clear();
s4Elem2 = 0;
s4LabelElem3.clear();
s4SkillsElem3.clear();
s4TraitsElem3.clear();
s4Elem3 = 0;
s4LabelElem4.clear();
s4SkillsElem4.clear();
s4TraitsElem4.clear();
s4Elem4 = 0;
s4LabelElem5.clear();
s4SkillsElem5.clear();
s4TraitsElem5.clear();
s4Elem5 = 0;
s4LabelElem6.clear();
s4SkillsElem6.clear();
s4TraitsElem6.clear();
s4AttrElem6.clear();
s4Elem6 = 0;
s4LabelElem7.clear();
s4SkillsElem7.clear();
s4TraitsElem7.clear();
s4Elem7 = 0;
s4LabelElem8.clear();
s4SkillsElem8.clear();
s4TraitsElem8.clear();
s4Elem8 = 0;
s4TraitsMod.clear();
s4SkillsMod.clear();
s4AttrMod.clear();
s4XpCost = 0;
s4FlexXP = 0;
s4AffStreet = 0;
s4AffLang = 0;
s4AffProt = 0;
s4Age = 0;
s4Repit5 = 0;
s4Repit6 = 0;
s4Repit7 = 0;
s4PreAttr.clear();
s4PreTraits.clear();
s4PreSkills.clear();
QString swpstr;
if(nameElem == "None") {
s4toolTip = "Zero life";
s4XpCost = 0;
s4Age = 0;
}
if(nameElem == "Agitator") {
s4toolTip = "Dedicated to challenging authority by any means necessary,\nagitators seek to gather disciples and move them against their\ngovernments and leaders-whether for a noble cause or personal\ngain. Unsurprisingly, the agitator's lifestyle puts him in constant peril.\nAfter all, the last thing the monarchies and military juntas of the Inner\nSphere and the Clans need is someone who makes waves.\nPrerequisites: None";
s4XpCost = 900;
s4FlexXP = 125;
s4Age = 4;
s4AttrMod["WIL"] = 75;
S4AddTraits("Bloodmark", -50);
S4AddTraits("Gregarious", 80);
S4AddTraits("Toughness", 80);
S4AddTraits("Reputation", -150);
S4AddSkills("Acting",50);
S4AddSkills("Disguise",75);
// S4AddSkills("Driving/Any",65); // SEE RULEZ
s4LabelElem1 = "Driving/Any";
s4SkillsElem1 = CreateSubSkillList("Driving");// << "Driving/Ground Vehicles" << "Driving/Rail Vehicles" << "Driving/Sea Vehicles";
s4Elem1 = 65;
S4AddSkills("Leadership",60);
S4AddSkills("Negotiation",80);
S4AddSkills("Perception",70);
S4AddSkills("Prestidigitation",100);
S4AddSkills("Small Arms",75);
s4AffStreet = 75;
S4AddSkills("Tactics/Infantry",40);
S4AddSkills("Training", 50);
}
if(nameElem == "Civilian Job") {
s4toolTip = "You may not carry a weapon, or hold the fate of worlds in your\nhand, but you earn a living, and its honest work to boot. Whether\nyoure a career bureaucrat, a cubicle rat, a humble store clerk or\na freight loader at the local spaceport, you are part of the vast\ninfrastructure that keeps your town and your society running-\neven if you occasionally daydream about something more
\nPrerequisites:None. Clan characters from any non-warrior\ncaste except Scientist and Dark Caste use this module.";
s4XpCost = 600;
s4FlexXP = 85;
s4Age = 6;
s4AffProt = 50;
S4AddSkills("Administration", 75);
// S4AddSkills("Career/Any Non-Military", 40); // SEE RULEZ!!
s4LabelElem1 = "Career/Any Non-Military";
s4SkillsElem1 << "Career/Anthropologist" << "Career/Archaeologist" << "Career/Cartographer" << "Career/Communications" << "Career/Doctor" << "Career/Engineer" << "Career/Journalist" << "Career/Lawyer" << "Career/Management" << "Career/MedTech" << "Career/Merchant" << "Career/Merchant Marine" << "Career/Aerospace Pilot" << "Career/Aircraft Pilot" << "Career/DropShip Pilot" << "Career/Politician" << "Career/Scientist" << "Career/Technician";
s4Elem1 = 40;
S4AddSkills("Computers", 40);
// S4AddSkills("Driving/Any", 60); // SEE RULEZ!!
s4LabelElem2 = "Driving/Any";
s4SkillsElem2 = CreateSubSkillList("Driving");// << "Driving/Ground Vehicles" << "Driving/Rail Vehicles" << "Driving/Sea Vehicles";
s4Elem2 = 60;
// S4AddSkills("Interests/Any", 100);
s4LabelElem3 = "Interests/Any";
s4SkillsElem3 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem3 = 100;
S4AddSkills("Leadership", 40);
S4AddSkills("Negotiation", 30);
// S4AddSkills("+80 total additional XP 20x4 skill", 20 ); // SEE RULEZ!!
if (s4BasicSchool.first.isEmpty() != true) {
s4LabelElem7 = "20XP x 4 skill";
} else {
s4FlexXP += 80;
}
s4SkillsElem7 << S4FieldSkills(s4BasicSchool.first) << S4FieldSkills(s4AdvSchool.first) << S4FieldSkills(s4SpecSchool.first);
s4SkillsElem7.removeDuplicates();
s4SkillsElem7.sort();
s4Elem7 = 20;
s4Repit7 = 4;
}
if(nameElem == "Clan Watch Operative") {
s4toolTip = "Among the Clans, the \"honorless\" business of spycraft and\nespionage is considered anathema, but even the most hidebound\nof Kerensky's descendants know better than to completely\nignore the advantages of intelligence operations. Though\nconsidered ignoble and often assigned to operatives who\nfailed the Clans in some way within their chosen profession,\nthe operatives of the Clan Watch nevertheless strive to catch\nup to their Spheroid counterparts in the arena of covert ops.\nPrerequisites:Any Clan affiliation. Must be a member of\nthe Warrior, Scientist or Technician castes.";
s4XpCost = 1200;
s4FlexXP = 175;
s4Age = 3;
s4AttrMod["INT"] = 70;
s4AttrMod["RFL"] = 50;
s4AttrMod["CHA"] = -75;
S4AddTraits("Connections", 100);
S4AddTraits("Dark Secret", -50);
S4AddTraits("In For Life", -100);
S4AddTraits("Reputation", -50);
S4AddSkills("Acting",30);
S4AddSkills("Computers",75);
S4AddSkills("Cryptography",50);
S4AddSkills("Demolitions",40);
S4AddSkills("Martial Arts",75);
S4AddSkills("Perception",75);
s4AffProt = 50;
s4AffStreet = 50;
S4AddSkills("Small Arms",80);
S4AddSkills("Stealth",50);
// S4AddSkills("Tracking/Any",80); // SEE RULEZ!!
s4LabelElem1 = "Tracking/Any";
s4SkillsElem1 = CreateSubSkillList("Tracking");// << "Tracking/Urban" << "Tracking/Wilds";;
s4Elem1 = 80;
if(s4AffName.first == "Homeworld Clan") {
S4AddSkills("Career/Soldier",60);
S4AddSkills("Interrogation",50);
S4AddSkills("Investigation",50);
S4AddSkills("Melee Weapons",40);
// S4AddSkills("Protocol/Any Clan",75); // SEE RULEZ!!
s4LabelElem2 = "Protocol/Any Clan";
s4SkillsElem2 << "Protocol/Diamond Shark" << "Protocol/Ghost Bear" << "Protocol/Hell's Horses" << "Protocol/Jade Falcon" << "Protocol/Nova Cat" << "Protocol/Snow Raven" << "Protocol/Wolf" << "Protocol/Blood Spirit" << "Protocol/Cloud Cobra" << "Protocol/Coyote" << "Protocol/Fire Mandrill" << "Protocol/Goliath Scorpion" << "Protocol/Ice Hellion" << "Protocol/Star Adder" << "Protocol/Steel Viper";
s4Elem2 = 75;
S4AddSkills("Security Systems",45);
// S4AddSkills("Streetwise/Any Homeworld Clan",50); // SEE RULEZ!!
s4LabelElem3 = "Streetwise/Any Homeworld Clan";
s4SkillsElem3 << "Streetwise/Blood Spirit" << "Streetwise/Cloud Cobra" << "Streetwise/Coyote" << "Streetwise/Fire Mandrill" << "Streetwise/Goliath Scorpion" << "Streetwise/Ice Hellion" << "Streetwise/Star Adder" << "Streetwise/Steel Viper";
s4Elem3 = 50;
// S4AddSkills("Survival/Any",25); // SEE RULEZ!!
s4LabelElem4 = "Survival/Any";
s4SkillsElem4 = CreateSubSkillList("Survival");// << "Survival/Desert" << "Survival/Forests" << "Survival/Jungle" << "Survival/Arctic" << "Survival/Steppe" << "Survival/City" << "Survival/Martian Desert";
s4Elem4 = 25;
// S4AddSkills("Technician/Any",40); // SEE RULEZ!!
s4LabelElem5 = "Technician/Any";
s4SkillsElem5 = CreateSubSkillList("Technician");// << "Technician/Aeronautics" << "Technician/Cybernetics" << "Technician/Electronic" << "Technician/Jets" << "Technician/Mechanical" << "Technician/Myomer" << "Technician/Nuclear" << "Technician/Weapons";
s4Elem4 = 40;
}
if(s4AffName.first == "Invading Clan") {
S4AddTraits("Equipped", 50);
S4AddTraits("Dark Secret", -50);
// S4AddSkills("Computers/Any",50); // SEE RULEZ!!
s4LabelElem2 = "Computers/Any";
s4SkillsElem2 << "Computers/Programing" << "Computers/Hacking";
s4Elem2 = 50;
S4AddSkills("Disguise",35);
S4AddSkills("Interrogation",75);
S4AddSkills("Investigation",75);
S4AddSkills("Negotiation",40);
S4AddSkills("Perception",50);
// S4AddSkills("Streetwise/Any Invader Clan or Inner Sphere",50); // SEE RULEZ!!
s4LabelElem3 = "Streetwise/Any Invader Clan or Inner Sphere";
s4SkillsElem3 << "Streetwise/Diamond Shark" << "Streetwise/Ghost Bear" << "Streetwise/Hell's Horses" << "Streetwise/Jade Falcon" << "Streetwise/Nova Cat" << "Streetwise/Snow Raven" << "Streetwise/Wolf" << "Streetwise/Capellan" << "Streetwise/Combine" << "Streetwise/FedSuns" << "Streetwise/Free Worlds" << "Streetwise/Lyran" << "Streetwise/Rasalhague" << "Protocol/Terran";
s4Elem3 = 50;
// S4AddSkills("Survival/Any",50); // SEE RULEZ!!
s4LabelElem4 = "Survival/Any";
s4SkillsElem4 = CreateSubSkillList("Survival");// << "Survival/Desert" << "Survival/Forests" << "Survival/Jungle" << "Survival/Arctic" << "Survival/Steppe" << "Survival/City" << "Survival/Martian Desert";
s4Elem4 = 50;
}
}
if(nameElem == "Clan Warrior Washout") {
s4toolTip = "Yours was a life filled with promise and glory for the Clan-\nuntil something went wrong. Though you survived the failure\nthat led to your dismissal from the warrior training programs,\nyou have been consigned to a lesser caste and must now learn\nto accept your role in supporting the warrior brethren you\nmight otherwise have joined in battle.\nPrerequisites:Clan affiliation; prior module must be\nFreeborn Sibko or Trueborn Sibko. Player must choose\nwhich caste the washed-out warrior has joined. Do not\nchoose this module if washing out to ProtoMech training\n(see Notes below).";
s4XpCost = 400;
s4FlexXP = 185;
s4Age = 2;
s4AttrMod["CHA"] = -25;
s4AttrMod["WIL"] = -50;
// S4AddTraits("Compulsion/Any", -25); //SEE RULEZ!!!
s4LabelElem1 = "Compulsion/Any";
s4TraitsElem1 << "Compulsion/Berserker" << "Compulsion/Catatonia" << "Compulsion/Confusion" << "Compulsion/Flashbacks" << "Compulsion/Hysteria" << "Compulsion/Paranoia" << "Compulsion/Regression" << "Compulsion/Split Personality";
s4Elem1 = -25;
S4AddTraits("Reputation", -150);
S4AddSkills("Career/Soldier",-30);
S4AddSkills("Computers",25);
S4AddSkills("Survival",75);
s4AffProt = 80;
// S4AddSkills("-60 total additional XP",-60); //SEE RULEZ!!!
if (s4BasicSchool.first.isEmpty() != true) {
s4LabelElem7 = "-30XP x 2 skill";
}
s4SkillsElem7 << S4FieldSkills(s4BasicSchool.first) << S4FieldSkills(s4AdvSchool.first) << S4FieldSkills(s4SpecSchool.first);
s4SkillsElem7.removeDuplicates();
s4SkillsElem7.sort();
s4Elem7 = -30;
s4Repit7 = 2;
if ( s4clanCastName.first == "Scientist Caste") {
s4AttrMod["INT"] = 50;
s4AttrMod["RFL"] = 25;
S4AddTraits("Dark Secret", 50);
S4AddSkills("Administration",75);
// S4AddSkills("Interests/Any",50); //SEE RULEZ!!!
s4LabelElem2 = "Interests/Any";
s4SkillsElem2 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem2 = 50;
S4AddSkills("Investigation",75);
S4AddSkills("MedTech",50);
// S4AddSkills("Science/Any",75); //SEE RULEZ!!!
s4LabelElem3 = "Science/Any";
s4SkillsElem3 = CreateSubSkillList("Science");// << "Science/Biology" << "Science/Chemistry" << "Science/Mathematics" << "Science/Physics";
s4Elem3 = 75;
S4AddSkills("Surgery",25);
}
if ( s4clanCastName.first == "Technician Caste") {
s4AttrMod["RFL"] = 25;
s4AttrMod["STR"] = 50;
S4AddTraits("Impatient", -50);
// S4AddSkills("Communications/Any",75); //SEE RULEZ!!!
s4LabelElem2 = "Communications/Any";
s4SkillsElem2 = CreateSubSkillList("Communications");// << "Communications/Black Box" << "Communications/Conventional (EM)" << "Communications/Hyperpulse Generator";
s4Elem2 = 75;
// S4AddSkills("Interests/Any",50); //SEE RULEZ!!!
s4LabelElem3 = "Interests/Any";
s4SkillsElem3 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem3 = 50;
S4AddSkills("Perception",75);
// S4AddSkills("Technician/Any",75); //SEE RULEZ!!!
s4LabelElem4 = "Technician/Any";
s4SkillsElem4 = CreateSubSkillList("Technician");// << "Technician/Aeronautics" << "Technician/Cybernetics" << "Technician/Electronic" << "Technician/Jets" << "Technician/Mechanical" << "Technician/Myomer" << "Technician/Nuclear" << "Technician/Weapons";
s4Elem4 = 75;
// S4AddSkills("Technician/Any",50); //SEE RULEZ!!!
s4LabelElem5 = "Technician/Any";
s4SkillsElem5 = CreateSubSkillList("Technician");// << "Technician/Aeronautics" << "Technician/Cybernetics" << "Technician/Electronic" << "Technician/Jets" << "Technician/Mechanical" << "Technician/Myomer" << "Technician/Nuclear" << "Technician/Weapons";
s4Elem5 = 50;
// S4AddSkills("Technician/Any",25); //SEE RULEZ!!!
s4LabelElem6 = "Technician/Any";
s4SkillsElem6 = CreateSubSkillList("Technician");// << "Technician/Aeronautics" << "Technician/Cybernetics" << "Technician/Electronic" << "Technician/Jets" << "Technician/Mechanical" << "Technician/Myomer" << "Technician/Nuclear" << "Technician/Weapons";
s4Elem6 = 25;
}
if ( s4clanCastName.first == "Merchant Caste") {
s4AttrMod["WIL"] = 75;
S4AddTraits("Thin-Skinned", -50);
S4AddSkills("Acting",45);
S4AddSkills("Administration",40);
S4AddSkills("Appraisal",75);
// S4AddSkills("Interests/Any",40); //SEE RULEZ!!!
s4LabelElem2 = "Interests/Any";
s4SkillsElem2 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem2 = 50;
// S4AddSkills("Interests/Any",35); //SEE RULEZ!!!
s4LabelElem3 = "Interests/Any";
s4SkillsElem3 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem3 = 50;
S4AddSkills("Leadership",40);
S4AddSkills("Negotiation",50);
s4AffStreet = 25;
}
if ( s4clanCastName.first == "Laborer Caste") {
s4AttrMod["BOD"] = 75;
S4AddTraits("Dependent", -50);
S4AddSkills("Career/Any appropriate",75);
s4LabelElem2 = "Career/Any appropriate";
s4SkillsElem2 << "Career/Archaeologist" << "Career/Cartographer" << "Career/Doctor" << "Career/MedTech" << "Career/Scientist" << "Career/Military Scientist";
s4Elem2 = 75;
S4AddSkills("Computers",50);
// S4AddSkills("Driving/Any",75);
s4LabelElem3 = "Driving/Any";
s4SkillsElem3 = CreateSubSkillList("Driving");// << "Driving/Ground Vehicles" << "Driving/Rail Vehicles" << "Driving/Sea Vehicles";
s4Elem3 = 75;
// S4AddSkills("Interests/Any",75); //SEE RULEZ!!!
s4LabelElem4 = "Interests/Any";
s4SkillsElem4 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem4 = 75;
// S4AddSkills("Interests/Any",50); //SEE RULEZ!!!
s4LabelElem5 = "Interests/Any";
s4SkillsElem5 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem5 = 50;
s4AffStreet = 25;
}
}
if(nameElem == "Cloister Training") {
s4toolTip = "The religious Cloisters fostered by Clan Cloud Cobra-a\nlegacy of the Clan's founding by a former SLDF chaplainoffer\na curious mixture of spiritual and martial pursuits. Though\nstronger in the Homeworlds, the Cloisters include members\nfrom virtually every Clan, so even a warrior in the Inner Sphere\nmay explore his faith while simultaneously demonstrating his\nfierce devotion to the Way of the Clans.\nPrerequisites:Clan(warrior caste) only, WIL 5+; eligible\ncharacters outside of Clan Cloud Cobra must also have a\nminimum +2 TP in the Connections Trait.";
s4XpCost = 700;
s4FlexXP = 150;
s4Age = 3;
s4AttrMod["WIL"] = 75;
S4AddTraits("Connections", 50);
S4AddTraits("In For Life", -75);
S4AddSkills("Interests/Clan Remembrance",80);
S4AddSkills("Interests/Theology",100);
// S4AddSkills("Interests/Any",75); //SEE RULEZ!!!
s4LabelElem1 = "Interests/Any";
s4SkillsElem1 = CreateSubSkillList("Interests");// << "Interests/Star League History" << "Interests/Combine History" << "Interests/FedSuns History" << "Interests/Regulan History" << "Interests/Remembrance" << "Interests/Marian History" << "Interests/Roman History" << "Interests/Nova Cat Vision Quest" << "Interests/Clan History" << "Interests/Theology" << "Interests/Coyote Rituals" << "Interests/Star League History" << "Interests/Clan Remembrance" << "Interests/Terran History" << "Interests/History" << "Interests/Literature" << "Interests/Holo-Games" << "Interests/Sports Statistics" << "Interests/Writings of Jerome Blake" << "Interests/BattleMechs";
s4Elem1 = 75;
S4AddSkills("Melee Weapons",50);
S4AddSkills("Perception",35);
S4AddSkills("Training",85);
// S4AddSkills("+75 total additional XP (+25 XP each to any three of the characterâs Clan Warrior Fields)",75); //SEE RULEZ!!!
s4LabelElem7 = "+25 XP each to any three Field";
s4SkillsElem7 << "Clan Aerospace Warrior" << "Clan Cavalry" << "Clan Elemental" << "Clan MechWarrior" << "Clan ProtoMech Warrior";
s4Elem7 = 25;
s4Repit7 = 3;
s4PreAttr["WIL"] = 500;
if(s4SubAffName.first != "Cloud Cobra") {
swpstr = "Connections";
s4PreTraits.append(qMakePair(swpstr,200));
}
}
if(nameElem == "Combat Correspondent") {
s4toolTip = "The spirit of front-line journalism remains alive and well\neven on the 'Mech-heavy battlefields of the thirty-first\ncentury. Only there can the combat correspondentpart\nsoldier, part journalisttruly shine. Battlefield journalism isn't\nfor the faint of heart, but its a lot more respectable than being\na paparazzi.\nPrerequisites: Any non-Clan affiliation. Must have Journalist\nField. Must not have Combat Paralysis Trait.";
s4XpCost = 700;
s4FlexXP = 90;
s4Age = 4;
s4AttrMod["WIL"] = 50;
s4AttrMod["CHA"] = 75;
S4AddTraits("Extra Income", 40);
S4AddTraits("Reputation", 30);
S4AddSkills("Art/Writing",35);
S4AddSkills("Career/Journalist",50);
S4AddSkills("Communications/Conventional",30);
S4AddSkills("Computers",20);
S4AddSkills("Investigation",35);
s4AffLang = 50;
// S4AddSkills("Language/Any",30); //SEE RULEZ!!!
s4LabelElem1 = "Language/Any";
s4SkillsElem1 = CreateSubSkillList("Language");// << "Language/English" << "Language/Mandarin Chinese" << "Language/Russian" << "Language/Cantonese" << "Language/Vietnamese" << "Language/Japanese" << "Language/Arabic" << "Language/Swedenese" << "Language/French" << "Language/German" << "Language/Hindi" << "Language/Greek" << "Language/Italian" << "Language/Mongolian" << "Language/Romanian" << "Language/Slovak" << "Language/Spanish" << "Language/Urdu" << "Language/Scots Gaelic" << "Language/Swedish";
s4Elem1 = 30;
// S4AddSkills("Navigation/Any",25); //SEE RULEZ!!!
s4LabelElem2 = "Navigation/Any";
s4SkillsElem2 = CreateSubSkillList("Navigation");// << "Navigation/Ground" << "Navigation/Air" << "Navigation/Sea" << "Navigation/Space" << "Navigation/K-F Jump";
s4Elem2 = 25;
S4AddSkills("Negotiation",40);
S4AddSkills("Perception",30);
// S4AddSkills("Survival/Any",35); //SEE RULEZ!!!
s4LabelElem3 = "Survival/Any";
s4SkillsElem3 = CreateSubSkillList("Survival");// << "Survival/Desert" << "Survival/Forests" << "Survival/Jungle" << "Survival/Arctic" << "Survival/Steppe" << "Survival/City" << "Survival/Martian Desert";;
s4Elem3 = 35;
S4AddSkills("Technician/Electrical",35);
}
if(nameElem == "Comstar/WoB Service") {
s4toolTip = "Though technically more of an international conglomerate\nthan a sacred order, the centuries-old devotion to maintaining the\nneutrality of Terra and the interstellar communications network of\nhyperpulse generators spawned a quasi-religious fervor that gave\nrise to the modern ComStar. Post-3052 ComStar shed much of this\nmysticism in favor of playing a protector role for the Inner Sphere\nagainst the Clan threat, but the schism that resulted when the more\nfanatical members left created the dangerous and unpredictable\nWord of Blake. Both organizations, however, retained much of the\ntraining and services that made them important to the realms of\nthe Inner Sphere throughout the Succession Wars.\nBased on their training and background, members of either\norder can be tasked with anything from technical service on the\nHPGs, to local telecommunications and mail service, to planetary\nsecurity and police investigations.\nPrerequisites: ComStar or Word of Blake affiliations only.\nCannot have any of the following Traits above the lowest possible\nlevel: Lost Limb, Poor Hearing, Poor Vision, TDS.";
s4XpCost = 900;
s4FlexXP = 50;
s4Age = 5;
s4AttrMod["DEX"] = 50;
s4AttrMod["INT"] = 50;
S4AddTraits("Combat Sense", 75);
S4AddTraits("In For Life", -100);
S4AddTraits("Tech Empathy", 35);
// S4AddTraits("Choose one: Equipped, Vehicle or Wealth", 100); //SEE RULEZ!!!
s4LabelElem1 = "Choose one";
s4TraitsElem1 << "Equipped" << "Vehicle" << "Wealth";
s4Elem1 = 100;
S4AddSkills("Administration",40);
S4AddSkills("Communications/HPG",55);
// S4AddSkills("Communications/Any",35); //SEE RULEZ!!!
s4LabelElem2 = "Communications/Any";
s4SkillsElem2 = CreateSubSkillList("Communications");// << "Communications/Black Box" << "Communications/Conventional (EM)" << "Communications/Hyperpulse Generator";
s4Elem2 = 35;
S4AddSkills("Computers",35);
// S4AddSkills("Language/Any",25); //SEE RULEZ!!!
s4LabelElem3 = "Language/Any";
s4SkillsElem3 = CreateSubSkillList("Language");// << "Language/English" << "Language/Mandarin Chinese" << "Language/Russian" << "Language/Cantonese" << "Language/Vietnamese" << "Language/Japanese" << "Language/Arabic" << "Language/Swedenese" << "Language/French" << "Language/German" << "Language/Hindi" << "Language/Greek" << "Language/Italian" << "Language/Mongolian" << "Language/Romanian" << "Language/Slovak" << "Language/Spanish" << "Language/Urdu" << "Language/Scots Gaelic" << "Language/Swedish";
s4Elem3 = 25;
S4AddSkills("Martial Arts",45);
s4AffProt = 35;
// S4AddSkills("Protocol/Any",20); //SEE RULEZ!!!
s4LabelElem4 = "Protocol/Any";
s4SkillsElem4 = CreateSubSkillList("Protocol");// << "Protocol/Capellan" << "Protocol/Combine" << "Protocol/FedSuns" << "Protocol/Lyran" << "Protocol/Clan" << "Protocol/Nearest state" << "Protocol/ComStar" << "Protocol/Word of Blake" << "Protocol/Free Worlds" << "Protocol/Rasalhague";
s4Elem4 = 20;
if (s4BasicSchool.first.isEmpty() != true) {
s4LabelElem7 = "40XP x 4 skill";
s4SkillsElem7 << S4FieldSkills(s4BasicSchool.first) << S4FieldSkills(s4AdvSchool.first) << S4FieldSkills(s4SpecSchool.first);
} else {
s4LabelElem7 = "40XP x 4 skill";
s4SkillsElem7 << "Acrobatics" << "Acting" << "Administration" << "Animal Handling" << "Appraisal" << "Archery" << "Art/Any" << "Artillery" << "Career" << "Climbing" << "Communications" << "Computers" << "Cryptography" << "Demolitions" << "Disguise" << "Driving" << "Escape Artist" << "Forgery" << "Gunnery" << "Interests/Any" << "Interrogation" << "Investigation" << "Language" << "Leadership" << "Martial Arts" << "MedTech" << "Melee Weapons" << "Navigation" << "Negotiation" << "Perception" << "Piloting" << "Prestidigitation" << "Protocol" << "Running" << "Science" << "Security Systems" << "Sensor Operations" << "Small Arms" << "Stealth" << "Strategy" << "Streetwise" << "Support Weapons" << "Surgery" << "Survival" << "Swimming" << "Tactics" << "Technician" << "Thrown Weapons" << "Tracking" << "Training" << "Zero-G Operations";
}
s4SkillsElem7.removeDuplicates();
s4SkillsElem7.sort();
s4Elem7 = 40;
s4Repit7 = 4;
if (s4ComChk == true) {
s4AttrMod["WIL"] = 25;
s4AttrMod["EDG"] = -25;
S4AddTraits("Equipped", 80);
S4AddTraits("Rank", 80);