-
Notifications
You must be signed in to change notification settings - Fork 217
/
charCreation.as
2331 lines (2286 loc) · 86.8 KB
/
charCreation.as
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
const CUSTOM_PC_ENABLED:int = 759;
function newGameGo(e:MouseEvent):void {
funcs = new Array();
args = new Array();
eventTestInput.x = -10207.5;
eventTestInput.y = -1055.1;
hideStats();
hideUpDown();
nameBox.visible = true;
nameBox.width = 165;
appearanceText.visible = false;
appearanceBG.visible = false;
dataText.visible = false;
dataBG.visible = false;
levelBG.visible = false;
levelText2.visible = false;
perksText.visible = false;
perksBG.visible = false;
//Hide perk boxes
aCb.visible = false;
//If first PC, track status of EZ mode and other such nonsense.
var silly:Boolean = false;
var easy:Boolean = false;
var sprite:Boolean = false;
//If at initial title
if(flags[273] > 0) sprite = true;
if(flags[99] > 0) easy = true;
if(flags[305] > 0) silly = true;
b1Text.text = "Newgame";
flags[CUSTOM_PC_ENABLED] = 0;
outputText("You grew up in the small village of Ingnam, a remote village with rich traditions, buried deep in the wilds. Every year for as long as you can remember, your village has chosen a champion to send to the cursed Demon Realm. Legend has it that in years Ingnam has failed to produce a champion, chaos has reigned over the countryside. Children disappear, crops wilt, and disease spreads like wildfire. This year, <b>you</b> have been selected to be the champion.\n\nWhat is your name?", true);
/*CODE FROM CMACLOAD HERE
Multiple line case. A text field GeneralTextField, positioning a movieclip AskQuestions below it
GeneralTextField.wordWrap = true;
GeneralTextField.autoSize = true;
GeneralTextField.htmlText = "whatevevr.......";
AskQuestions._x = GeneralTextField._x;
AskQuestions._y = GeneralTextField._y + 3 + GeneralTextField._height;
again replace _x, _y, _width with x, y, width*/
//mainText.autoSize = true;
//mainText.autoSize = TextFieldAutoSize.LEFT;
simpleChoices("OK",10034,"",0,"",0,"",0,"",0);
nameBox.x = mainText.x + 5;
nameBox.y = mainText.y + 3 + mainText.textHeight;
//OLD
//nameBox.x = 510;
//nameBox.y = 265;
nameBox.text = "";
//Reset autosave
player.slotName = "VOID";
player.autoSave = false;
//RESET DUNGEOn
inDungeon = false;
dungeonLoc = 0;
//Hold onto old data for NG+
var oldPlayer:creature = player;
//Reset all standard stats
player = new creature();
player.str = 15;
player.tou = 15;
player.spe = 15;
player.inte = 15;
player.sens = 15;
player.lib = 15;
player.cor = 0;
notes = "No Notes Available.";
player.lust = 15;
player.XP = flags[187];
player.level = 1;
player.HP = maxHP();
player.gems = flags[188];
player.hairLength = 5;
player.skinType = 0;
player.faceType = 0;
player.tailType = 0;
player.tongueType = 0;
player.femininity = 50;
player.beardLength = 0;
player.beardStyle = 0;
player.tone = 50;
player.thickness = 50;
player.skinDesc = "skin";
player.balls = 0;
player.cumMultiplier = 1;
player.ballSize = 0;
player.hoursSinceCum = 0;
player.clitLength = 0;
player.ass.analLooseness = 0;
player.ass.analWetness = 0;
player.ass.fullness = 0;
player.fertility = 5;
player.fatigue = 0;
player.horns = 0;
player.tallness = 0;
player.tailVenom = 0;
player.tailRecharge = 0;
player.wingType = 0;
player.wingDesc = "non-existant";
//Exploration
player.explored = 0;
player.exploredForest = 0;
player.exploredDesert = 0;
player.exploredMountain = 0;
player.exploredLake = 0;
//Inventory clear
itemSlot1.unlocked = true;
itemSlot1.shortName = "";
itemSlot1.quantity = 0;
itemSlot2.unlocked = true;
itemSlot2.quantity = 0;
itemSlot2.shortName = "";
itemSlot3.unlocked = true;
itemSlot3.quantity = 0;
itemSlot3.shortName = "";
itemSlot4.unlocked = false;
itemSlot4.quantity = 0;
itemSlot4.shortName = "";
itemSlot5.unlocked = false;
itemSlot5.quantity = 0;
itemSlot5.shortName = "";
//PIERCINGS
player.nipplesPierced = 0;
player.nipplesPShort = "";
player.nipplesPLong = "";
player.lipPierced = 0;
player.lipPShort = "";
player.lipPLong = "";
player.tonguePierced = 0;
player.tonguePShort = "";
player.tonguePLong = "";
player.eyebrowPierced = 0;
player.eyebrowPShort = "";
player.eyebrowPLong = "";
player.earsPierced = 0;
player.earsPShort = "";
player.earsPLong = "";
player.nosePierced = 0;
player.nosePShort = "";
player.nosePLong = "";
//PLOTZ
monk = 0;
whitney = 0;
sand = 0;
beeProgress = 0;
giacomo = 0;
//Lets get this bitch started
gameState = 0;
//NG+ Clothes reset
if(flags[187] + flags[188] > 0) {
//Clear Raphael's training variable so it does not effect
//Weapon strength post-newgame.
flags[137] = 0;
player.armorName= oldPlayer.armorName;
player.weaponName= oldPlayer.weaponName;
player.weaponVerb= oldPlayer.weaponVerb;
player.armorDef= oldPlayer.armorDef;
player.armorPerk= oldPlayer.armorPerk;
player.weaponAttack= fixedDamage(player.weaponName);
player.weaponPerk= oldPlayer.weaponPerk;
player.weaponValue= oldPlayer.weaponValue;
player.armorValue= oldPlayer.armorValue;
applyArmorStats(player.armorName, false);
}
//Clothes clear
else {
player.armorName= "comfortable clothes";
player.weaponName= "fists";
player.weaponVerb= "punch";
player.armorDef= 0;
player.armorPerk= "";
player.weaponAttack= 0;
player.weaponPerk= "";
player.weaponValue= 0;
player.armorValue= 0;
}
//Clear plot storage array!
for(var i=0;i < 3000;i++) {
flags[i] = 0;
}
//Remember silly/sprite/etc
if(sprite) flags[273] = 1;
if(easy) flags[99] = 1;
if(silly) flags[305] = 1;
//Set that jojo debug doesn't need to run
flags[102] = 1;
flags[2999] = 3;
//Time reset
days = 0;
hours = 0;
//Clear cocks
while(player.cocks.length > 0)
{
player.removeCock(0,1);
trace("1 cock purged.");
}
//Clear vaginas
while(player.vaginas.length > 0)
{
player.removeVagina(0,1);
trace("1 vagina purged.");
}
//Clear breasts
while(player.breastRows.length > 0)
{
player.removeBreastRow(0,1);
trace("1 row of breasts purged.");
}
//Clear Statuses
while(player.statusAffects.length > 0) {
player.removeStatuses();
}
//Clear old camp slots
clearStorage();
clearGearStorage();
//Initialize gearStorage
initializeGearStorage();
}
function doCreation(eventNo:Number):void {
var e:MouseEvent;
var historyPerk:String = "";
//MAN
if(eventNo == 10000) {
player.str+=3;
player.tou+=2;
player.balls = 2;
player.ballSize = 1;
player.createCock();
player.tallness = 71;
player.tone = 60;
player.cocks[0].cockLength = 5.5;
player.cocks[0].cockThickness = 1;
player.cocks[0].cockType = 0;
player.cocks[0].knotMultiplier = 1;
player.createBreastRow();
player.breastRows[0].breastRating = 0;
outputText("\n\n\n\n\nYou are a man. Your upbringing has provided you an advantage in strength and toughness.\n\nWhat type of build do you have?", true);
simpleChoices("Lean", 10003, "Average", 10002, "Thick", 10005, "Girly", 10004, "", 0);
player.gender = 1;
player.hairLength=1;
}
//WOMAN
if(eventNo == 10001) {
player.spe+=3;
player.inte+=2;
player.clitLength = .5;
player.tone = 30;
player.fertility = 10;
player.hairLength=10;
player.createBreastRow();
player.createVagina();
player.tallness = 67;
player.breastRows[0].breastRating = 3;
outputText("\n\n\n\n\nYou are a woman. Your upbringing has provided you an advantage in speed and intellect.\n\nWhat type of build do you have?", true);
simpleChoices("Slender", 10003, "Average", 10002, "Curvy", 10005, "Tomboyish", 10006, "", 0);
player.gender = 2;
}
//Average b-type
if(eventNo == 10002) {
if(player.gender == 1) {
player.hipRating = 4;
player.buttRating = 4;
player.femininity = 30;
}
if(player.gender == 2) {
player.hipRating = 6;
player.buttRating = 6;
player.femininity = 70;
}
eventParser(10007);
}
//lean b-type
if(eventNo == 10003) {
if(player.gender == 1) {
player.hipRating = 2;
player.buttRating = 2;
player.femininity = 34;
player.thickness = 30;
}
if(player.gender == 2) {
player.hipRating = 6;
player.buttRating = 2;
player.femininity = 66;
player.thickness = 30;
player.tone += 5;
}
player.str -= 1;
player.spe += 1;
eventParser(10007);
}
//girly b-type
if(eventNo == 10004) {
player.hipRating = 2;
player.buttRating = 6;
player.breastRows[0].breastRating = 1;
player.femininity = 50;
eventParser(10007);
player.str -= 2;
player.spe += 2;
player.tone = 26;
}
//thick b-type
if(eventNo == 10005) {
if(player.gender == 1) {
player.hipRating = 4;
player.buttRating = 6;
player.spe -= 4;
player.str += 2;
player.tou += 2;
player.femininity = 29;
player.thickness = 70;
player.tone -= 5;
}
if(player.gender == 2) {
player.spe -= 2;
player.str += 1;
player.tou += 1;
player.femininity = 71;
player.hipRating = 8;
player.buttRating = 8;
player.thickness = 70;
player.breastRows[0].breastRating++;
}
eventParser(10007);
}
//tomboy b-type
if(eventNo == 10006) {
player.femininity = 56;
player.hipRating = 2;
player.buttRating = 0;
player.breastRows[0].breastRating = 2;
player.tone = 50;
eventParser(10007);
}
//Choose complexion
if(eventNo == 10007) {
outputText("\n\n\n\n\nWhat is your complexion?", true);
simpleChoices("Light", 10008, "Olive", 10009, "Dark", 10010, "Ebony", 10011, "", 0);
}
if(eventNo == 10008) {
player.skinTone = "light";
eventParser(10012);
}
if(eventNo == 10009) {
player.skinTone = "olive";
eventParser(10012);
}
if(eventNo == 10010) {
player.skinTone = "dark";
eventParser(10012);
}
if(eventNo == 10011) {
player.skinTone = "ebony";
eventParser(10012);
}
if(eventNo == 10012) {
outputText("\n\n\nYou selected a " + player.skinTone + " complexion.\n\nWhat color is your hair?", true);
choices("Blonde", 10013, "Brown", 10014, "Black", 10015, "Red", 10016, "Gray", 10017, "White", 10018, "Auburn", 10019, "", 0, "", 0, "", 0);
}
//Set blonde hair
if(eventNo == 10013) {
player.hairColor = "blonde";
eventParser(10020);
}
//set brown hair
if(eventNo == 10014) {
player.hairColor = "brown";
eventParser(10020);
}
//set black hair
if(eventNo == 10015) {
player.hairColor = "black";
eventParser(10020);
}
//set red hair
if(eventNo == 10016) {
player.hairColor = "red";
eventParser(10020);
}
//set gray hair
if(eventNo == 10017) {
player.hairColor = "gray";
eventParser(10020);
}
//set white hair
if(eventNo == 10018) {
player.hairColor = "white";
eventParser(10020);
}
//set auburn hair
if(eventNo == 10019) {
player.hairColor = "auburn";
eventParser(10020);
}
//Gender endowment choices
if(eventNo == 10020) {
outputText("You have " + hairDescript() + ".", true);
outputText("\n\nEvery person is born with a gift. What's yours?", true);
if(player.gender == 1) choices("Strength", 10021, "Toughness", 10022, "Speed", 10023, "Smarts", 10024, "Libido", 10025, "Touch", 10026, "Big Cock", 10027, "Lots of Jizz", 10028, "", 0, "", 0);
if(player.gender == 2) choices("Strength", 10021, "Toughness", 10022, "Speed", 10023, "Smarts", 10024, "Libido", 10025, "Touch", 10026, "Big Breasts", 10029, "Big Clit", 10030, "Fertile", 10031, "Wet Vagina", 10032);
}
//Strong
if(eventNo == 10021) {
outputText("Are you stronger than normal? (+5 Strength)\n\nStrength increases your combat damage, and your ability to hold on to an enemy or pull yourself away.\n", true);
doYesNo(10033, 10020);
temp = 1;
}
//Tough
if(eventNo == 10022) {
outputText("Are you unusually tough? (+5 Toughness)\n\nToughness gives you more HP and increases the chances an attack against you will fail to wound you.\n", true);
doYesNo(10033, 10020);
temp = 2;
}
//Fast
if(eventNo == 10023) {
outputText("Are you very quick? (+5 Speed)\n\nSpeed makes it easier to escape combat and grapples. It also boosts your chances of evading an enemy attack and successfully catching up to enemies who try to run.\n", true);
doYesNo(10033, 10020);
temp = 3;
}
//Smart
if(eventNo == 10024) {
outputText("Are you a quick learner? (+5 Intellect)\n\nIntellect can help you avoid dangerous monsters or work with machinery. It will also boost the power of any spells you may learn in your travels.\n", true);
doYesNo(10033, 10020);
temp = 4;
}
//Libido
if(eventNo == 10025) {
outputText("Do you have an unusually high sex-drive? (+5 Libido)\n\nLibido affects how quickly your lust builds over time. You may find a high libido to be more trouble than it's worth...\n", true);
temp = 5;
doYesNo(10033, 10020);
}
//Light Touch
if(eventNo == 10026) {
outputText("Is your skin unusually sensitive? (+5 Sensitivity)\n\nSensitivity affects how easily touches and certain magics will raise your lust. Very low sensitivity will make it difficult to orgasm.\n", true);
temp = 6;
doYesNo(10033, 10020);
}
//Big Cock
if(eventNo == 10027) {
outputText("Do you have a big cock? (+2\" Cock Length)\n\nA bigger cock will make it easier to get off any sexual partners, but only if they can take your size.\n", true);
temp = 7;
doYesNo(10033, 10020);
}
//Messy Orgasms
if(eventNo == 10028) {
outputText("Are your orgasms particularly messy? (+50% Cum Multiplier)\n\nA higher cum multiplier will cause your orgasms to be messier.\n", true);
doYesNo(10033, 10020);
temp = 8;
}
//Big Tits
if(eventNo == 10029) {
outputText("Are your breasts bigger than average? (DD cups)\n\nLarger breasts will allow you to lactate greater amounts, tit-fuck larger cocks, and generally be a sexy bitch.\n", true);
doYesNo(10033, 10020);
temp = 9;
}
//Big clit
if(eventNo == 10030) {
outputText("Do you have a big clit? (1\" Long)\n\nA large enough clit may eventually become as large as a cock. It also makes you gain lust much faster during oral or manual stimulation.\n", true);
doYesNo(10033, 10020);
temp = 10;
}
//Fertility
if(eventNo == 10031) {
outputText("Is your family particularly fertile? (+15% Fertility)\n\nA high fertility will cause you to become pregnant much more easily. Pregnancy may result in: Strange children, larger bust, larger hips, a bigger ass, and other weirdness.\n", true);
temp = 11;
doYesNo(10033, 10020);
}
//Wet pussy
if(eventNo == 10032) {
outputText("Does your pussy get particularly wet? (+1 Vaginal Wetness)\n\nVaginal wetness will make it easier to take larger cocks, in turn helping you bring the well-endowed to orgasm quicker.\n", true);
doYesNo(10033, 10020);
temp = 12;
}
if(eventNo == 10033) {
if(temp == 1) {
player.str += 5;
player.tone += 7;
player.thickness += 3;
//Add bonus +25% strength gain
player.createPerk("Strong", 0.25, 0, 0, 0,"Gain strength 25% faster.");
}
if(temp == 2) {
player.tou += 5;
player.tone += 5;
player.thickness += 5;
player.createPerk("Tough", 0.25, 0, 0, 0,"Gain toughness 25% faster.");
player.HP = maxHP();
}
if(temp == 3) {
player.spe += 5;
player.tone += 10;
player.createPerk("Fast", 0.25, 0, 0, 0,"Gain speed 25% faster.");
}
if(temp == 4) {
player.inte += 5;
player.thickness -= 5;
player.createPerk("Smart", 0.25, 0, 0, 0,"Gain intelligence 25% faster.");
}
if(temp == 5) {
player.lib += 5;
player.createPerk("Lusty", 0.25, 0, 0, 0,"Gain lust 25% faster.");
}
if(temp == 6) {
player.sens += 5;
player.createPerk("Sensitive", 0.25, 0, 0, 0,"Gain sensitivity 25% faster.");
}
if(temp == 7) {
player.femininity -= 5;
player.cocks[0].cockLength = 8;
player.cocks[0].cockThickness = 1.5;
trace("Creation - cock modded to 8inches");
player.createPerk("Big Cock", 1.25, 0, 0, 0,"Gain cock size 25% faster and grow larger easier.");
}
if(temp == 8) {
player.femininity -= 2;
player.cumMultiplier = 1.5;
player.createPerk("Messy Orgasms", 1.25, 0, 0, 0,"Produces 50% more cum volume.");
}
if(temp == 9) {
player.femininity += 5;
player.breastRows[0].breastRating += 2;
player.createPerk("Big Tits", 1.5, 0, 0, 0,"Makes your tits grow larger more easily.");
}
if(temp == 10) {
player.femininity -= 5;
player.clitLength = 1;
player.createPerk("Big Clit", 1.25, 0, 0, 0,"Allows your clit to grow larger faster.");
}
if(temp == 11) {
player.femininity += 5;
player.fertility += 25;
player.hipRating+=2;
player.createPerk("Fertile", 1.5, 0, 0, 0,"Makes you 15% more likely to become pregnant.");
}
if(temp == 12) {
player.femininity += 7;
player.vaginas[0].vaginalWetness = 2;
player.createPerk("Wet Pussy",2,0,0,0,"Keeps your pussy from ever being anything less than wet.");
}
eventParser(10036);
}
//Choose name
if(eventNo == 10034) {
if(nameBox.text == "") {
//If part of newgame+, don't fully wipe.
if(player.XP > 0 && player.explored == 0) {
flags[187] = player.XP;
if(flags[187] == 0) flags[187] = 1;
while(player.level > 1) {
flags[187] += player.level * 100;
player.level--;
}
flags[188] = player.gems;
}
newGameGo(e);
outputText("\n\n\n<b>You must select a name.</b>", false);
return;
}
else if(customName(nameBox.text)) {
clearOutput();
outputText("This name, like you, is special. Do you live up to your name or continue on, assuming it to be coincidence?");
nameBox.visible = false;
menu();
addButton(0,"SpecialName",useCustomProfile);
addButton(1,"Continue On",noCustomProfile);
return;
}
player.short = nameBox.text;
nameBox.visible = false;
outputText("\n\n\n\nAre you a man or a woman?", true);
simpleChoices("Man", 10000, "Woman", 10001, "", 0, "", 0, "", 0);
}
//New Game+
if(eventNo == 10035) {
flags[187] = player.XP;
if(flags[187] == 0) flags[187] = 1;
while(player.level > 1) {
flags[187] += player.level * 100;
player.level--;
}
flags[188] = player.gems;
newGameGo(e);
return;
}
//======================
// HISTORIEZ
//======================
if(eventNo == 10036) {
outputText("Before you became a champion, you had other plans for your life. What were you doing before?", true);
choices("Alchemy",10037,"Fighting",10038,"Healing",10039,"Religion",10040,"Schooling",10041,"Slacking",10042,"Slutting",10046,"Smithing",10043,"Whoring",10047,"",0);
return;
}
//Alchemy
if(eventNo == 10037) {
outputText("You spent some time as an alchemist's assistant, and alchemical items always seem to be more reactive in your hands. Is this your history?", true);
temp = 10037;
doYesNo(10044,10036);
return;
}
//Fightan'
if(eventNo == 10038) {
outputText("You spent much of your time fighting other children, and you had plans to find work as a guard when you grew up. You do 10% more damage with physical attacks. Is this your history?", true);
temp = 10038;
doYesNo(10044,10036);
return;
}
//Healin'
if(eventNo == 10039) {
outputText("You often spent your free time with the village healer, learning how to tend to wounds. Healing items and effects are 20% more effective. Is this your history?", true);
temp = 10039;
doYesNo(10044,10036);
return;
}
//Religions
if(eventNo == 10040) {
outputText("You spent a lot of time at the village temple, and learned how to meditate. The 'masturbation' option is replaced with 'meditate' when corruption is at or below 66. Is this your history?", true);
temp = 10040;
doYesNo(10044,10036);
return;
}
//Scholar
if(eventNo == 10041) {
outputText("You spent much of your time in school, and even begged the richest man in town, Mr. Savin, to let you read some of his books. You are much better at focusing, and spellcasting uses 20% less fatigue. Is this your history?", true);
temp = 10041;
doYesNo(10044,10036);
return;
}
//Slacker
if(eventNo == 10042) {
outputText("You spent a lot of time slacking, avoiding work, and otherwise making a nuisance of yourself. Your efforts at slacking have made you quite adept at resting, and your fatigue comes back 20% faster. Is this your history?", true);
temp = 10042;
doYesNo(10044,10036);
return;
}
//Smith
if(eventNo == 10043) {
outputText("You managed to get an apprenticeship with the local blacksmith. Because of your time spent at the blacksmith's side, you've learned how to fit armor for maximum protection. Is this your history?", true);
temp = 10043;
doYesNo(10044,10036);
return;
}
if(eventNo == 10044) {
//Alchemist
if(temp == 10037) historyPerk = "History: Alchemist";
else if(temp == 10038) historyPerk = "History: Fighter";
else if(temp == 10039) historyPerk = "History: Healer";
else if(temp == 10040) historyPerk = "History: Religious";
else if(temp == 10041) historyPerk = "History: Scholar";
else if(temp == 10042) historyPerk = "History: Slacker";
else if(temp == 10046) {
historyPerk = "History: Slut";
if(player.hasVagina()) {
player.vaginas[0].virgin = false;
player.vaginas[0].vaginalLooseness = 2;
}
player.ass.analLooseness = 1;
}
else if(temp == 10047) {
historyPerk = "History: Whore";
if(player.hasVagina()) {
player.vaginas[0].virgin = false;
player.vaginas[0].vaginalLooseness = 2;
}
player.ass.analLooseness = 1;
}
else historyPerk = "History: Smith";
player.createPerk(historyPerk,0,0,0,0,"YOU GOT HISTORY BRO!");
if(flags[418] == 0) {
eventParser(10045);
flags[418] = 1;
}
else {
flags[418] = 1;
eventParser(1);
}
return;
}
if(eventNo == 10045) {
if(flags[CUSTOM_PC_ENABLED] == 1) {
clearOutput();
flags[CUSTOM_PC_ENABLED] = 0;
customPCSetup();
doNext(10045);
return;
}
statScreenRefresh();
hours = 11
outputText("You are prepared for what is to come. Most of the last year has been spent honing your body and mind to prepare for the challenges ahead. You are the Champion of Ingnam. The one who will journey to the demon realm and guarantee the safety of your friends and family, even though you'll never see them again. You wipe away a tear as you enter the courtyard and see Elder Nomur waiting for you. You are ready.\n\n", true);
outputText("The walk to the tainted cave is long and silent. Elder Nomur does not speak. There is nothing left to say. The two of you journey in companionable silence. Slowly the black rock of Mount Ilgast looms closer and closer, and the temperature of the air drops. You shiver and glance at the Elder, noticing he doesn't betray any sign of the cold. Despite his age of nearly 80, he maintains the vigor of a man half his age. You're glad for his strength, as assisting him across this distance would be draining, and you must save your energy for the trials ahead.\n\n", false);
outputText("The entrance of the cave gapes open, sharp stalactites hanging over the entrance, giving it the appearance of a monstrous mouth. Elder Nomur stops and nods to you, gesturing for you to proceed alone.\n\n", false);
outputText("The cave is unusually warm and damp, ", false);
if(player.gender == 2) outputText("and your body seems to feel the same way, flushing as you feel a warmth and dampness between your thighs. ", false);
else outputText("and your body reacts with a sense of growing warmth focusing in your groin, your manhood hardening for no apparent reason. ", false);
outputText("You were warned of this and press forward, ignoring your body's growing needs. A glowing purple-pink portal swirls and flares with demonic light along the back wall. Cringing, you press forward, keenly aware that your body seems to be anticipating coming in contact with the tainted magical construct. Closing your eyes, you gather your resolve and leap forwards. Vertigo overwhelms you and you black out...", false);
showStats();
stats(0,0,0,0,0,0,+15,0);
doNext(2000);
return;
}
//Slut
if(eventNo == 10046) {
outputText("You managed to spend most of your time having sex. Quite simply, when it came to sex, you were the village bicycle - everyone got a ride. Because of this, your body is a bit more resistant to penetrative stretching, and has a higher upper limit on what exactly can be inserted. Is this your history?", true);
temp = 10046;
doYesNo(10044,10036);
return;
}
//Whore
if(eventNo == 10047) {
outputText("You managed to find work as a whore. Because of your time spent trading seduction for profit, you're more effective at teasing (+15% tease damage). Is this your history?", true);
temp = 10047;
doYesNo(10044,10036);
return;
}
if(eventNo == 10048) {
return;
}
if(eventNo == 10049) {
return;
}
if(eventNo == 10050) {
return;
}
}
function useCustomProfile():void {
flags[CUSTOM_PC_ENABLED] = 1;
clearOutput();
player.short = nameBox.text;
nameBox.visible = false;
if(specialName(nameBox.text)) {
outputText("Your name defines everything about you, and as such, it is time to wake...\n\n");
flags[CUSTOM_PC_ENABLED] = 0;
customPCSetup();
doNext(10045);
}
else {
outputText("There is something different about you, but first, what is your basic gender? An individual such as you may later overcome this, of course...");
outputText("\n\n\n\nAre you a man or a woman?", true);
simpleChoices("Man", 10000, "Woman", 10001, "", 0, "", 0, "", 0);
}
}
function noCustomProfile():void {
clearOutput();
flags[CUSTOM_PC_ENABLED] = -1;
player.short = nameBox.text;
nameBox.visible = false;
outputText("Your name carries little significance beyond it being your name. What is your gender?");
simpleChoices("Male", 10000, "Female", 10001, "", 0, "", 0, "", 0);
}
//Determines if has character creation bonuses
function customName(arg:String):Boolean {
switch(arg) {
case "Mara":
case "Mirvanna":
case "Sera":
case "Gundam":
case "Tyriana":
case "Katti":
case "Annetta":
case "Cody":
case "Charlie":
case "Rope":
case "Isaac":
case "Hikari":
case "Navorn":
case "Charaun":
case "Rann Rayla":
case "Lucina":
case "Aria":
case "Mihari":
case "Prismere":
case "Ceveo":
case "Nami":
case "Betram":
case "Siveen":
case "Galatea":
case "Nixi":
case "Sora":
case "Lukaz":
case "Leah":
case "Vahdunbrii":
return true;
default:
return false;
}
return false;
}
//Does PC skip creation?
function specialName(arg:String):Boolean {
switch(arg) {
case "Ceveo":
case "Mara":
case "Mirvanna":
case "Sera":
case "Tyriana":
case "Annetta":
case "Charlie":
case "Isaac":
case "Rann Rayla":
case "Mihari":
case "Prismere":
case "Nami":
case "Siveen":
case "Nixi":
case "Lukaz":
case "Leah":
case "Vahdunbrii":
return true;
default:
return false;
}
return false;
}
//Set custom stats and display a blurb about them. No need to set up buttons, handled outside in 10045
function customPCSetup():void {
//Set as having history perk
flags[418] = 1;
if(player.short == "Vahdunbrii") {
player.createBreastRow();
player.createVagina();
player.breastRows[0].breastRating = 3;
player.clitLength = .5;
player.fertility = 10;
player.gender = 2;
player.hipRating = 6;
player.buttRating = 6;
player.str = 15;
player.tou = 15;
player.spe = 18;
player.inte = 17;
player.sens = 15;
player.lib = 15;
player.cor = 0;
notes = "No Notes Available.";
player.HP = maxHP();
player.hairLength=10;
player.skinType = 0;
player.faceType = 0;
player.tailType = 0;
player.tongueType = 0;
player.femininity = 70;
player.beardLength = 0;
player.beardStyle = 0;
player.tone = 30;
player.thickness = 50;
player.skinDesc = "skin";
player.skinTone = "light";
player.hairColor = "brown";
player.balls = 0;
player.cumMultiplier = 1;
player.ballSize = 0;
player.hoursSinceCum = 0;
player.clitLength = 0;
player.ass.analLooseness = 0;
player.ass.analWetness = 0;
player.ass.fullness = 0;
player.fertility = 5;
player.fatigue = 0;
player.horns = 0;
player.tallness = 67;
player.tailVenom = 0;
player.tailRecharge = 0;
player.wingType = 0;
player.wingDesc = "non-existant";
player.earType = 5;
player.lowerBody = 9;
player.tailType = 8;
player.createPerk("Incorporeality",0,0,0,0,"You seem to have inherited some of the spiritual powers of the residents of the afterlife! While you wouldn't consider doing it for long due to its instability, you can temporarily become incorporeal for the sake of taking over enemies and giving them a taste of ghostly libido.");
player.wingType = 9;
player.armType = 1;
player.hornType = 3;
player.horns = 4;
player.faceType = 10;
player.hairLength = 69.2;
player.hairColor = "dark blue";
player.hairType = 2;
player.skinAdj = "smooth";
player.skinTone = "sanguine";
player.tallness = 68;
player.hipRating = 7;
player.buttRating = 6;
player.thickness = 4;
player.tone = 98;
player.breastRows[0].breastRating = 3;
player.clitLength = 0.2;
player.femininity = 85;
//Beautiful Sword
player.weaponName = "beautiful sword";
player.weaponAttack = fixedDamage("beautiful sword");
player.weaponVerb = "slash";
player.weaponPerk = "holySword";
player.weaponValue = itemValue("beautiful sword");
player.weaponAttack = fixedDamage("beautiful sword");
player.armorName = "spider-silk armor";
player.armorDef = 25;
player.armorPerk = "";
player.armorValue = itemValue("spider-silk armor");
//Bow skill 100 (Sorry Kelt, I can't hear your insults over my mad Robin Hood skillz)
player.createStatusAffect("Kelt",100,0,0,0);
player.createKeyItem("Bow",0,0,0,0);
createStorage();
createStorage();
createStorage();
createStorage();
createStorage();
createStorage();
player.createKeyItem("Camp - Chest",0,0,0,0);
player.createKeyItem("Equipment Rack - Weapons",0,0,0,0);
flags[254] = 1;
player.createKeyItem("Equipment Rack - Armor",0,0,0,0);
flags[255] = 1;
//(Flexibility), (Incorporeality), History: Religious, Dragonfire, Brood Mother, Magical Fertility, Wet Pussy, Tough, Strong, Fast, Smart, History: Scholar, History: Slacker, Strong Back, Strong Back 2: Stronger Harder
player.createPerk("Flexibility",0,0,0,0,"Due to your cat-like body, you're able to dodge attacks more often.");
player.createPerk("History: Religious",0,0,0,0,"");
player.createPerk("Dragonfire",0,0,0,0,"You're a cheater, cheater.")
player.createPerk("Brood Mother",0,0,0,0,"Pregnancy moves twice as fast as a normal woman's.");
player.createPerk("Fertile",1.5,0,0,0,"CHEATER JACKASS JERKFACE");
player.vaginas[0].vaginalWetness = 2;
player.createPerk("Wet Pussy",2,0,0,0,"Keeps your pussy from ever being anything less than wet.");
player.createPerk("Tough", 0.25, 0, 0, 0,"Gain toughness 25% faster.");
player.createPerk("Strong", 0.25, 0, 0, 0,"Gain strength 25% faster.");
player.createPerk("Fast", 0.25, 0, 0, 0,"Gain speed 25% faster.");
player.createPerk("Smart", 0.25, 0, 0, 0,"Gain intelligence 25% faster.");
player.createPerk("History: Scholar", 0, 0, 0, 0,"You cheated.");
player.createPerk("Strong Back",0,0,0,0,"Cheating Nerd!");
itemSlot4.unlocked = true;
itemSlot5.unlocked = true;
player.createPerk("Strong Back 2: Strong Harder",0,0,0,0,"Cheating Nerd!");
player.createPerk("History: Slacker",0,0,0,0,"Cheating Nerd!");
player.str += 4;
player.tou += 4;
player.inte += 2;
player.spe += 2;
player.gems += 300;
outputText("You're something of a powerhouse, and you wager that between your odd mutations, power strong enough to threaten the village order, and talents, you're the natural choice to send through the portal.");
}
if(player.short == "Leah") {
player.armorName = "leather armor segments";
player.armorDef = 5;
player.armorPerk = "Light";
player.armorValue = itemValue("leather armor segments");
if(player.hasPerk("Wizard's Endurance") < 0) player.createPerk("Wizard's Endurance",30,0,0,0,"Your spellcasting equipment makes it harder for spell-casting to fatigue you!");
player.weaponName = "wizard's staff";
player.weaponVerb = "smack";
player.weaponValue = itemValue("wizard's staff");
player.weaponAttack = fixedDamage("wizard's staff");
itemSlot1.shortName = "B. Book";
itemSlot1.quantity = 1;
itemSlot1.shortName = "W. Book";
itemSlot1.quantity = 2;
player.createBreastRow();
player.createVagina();
player.breastRows[0].breastRating = 4;
player.clitLength = .5;
player.fertility = 10;
player.gender = 2;
player.hipRating = 8;
player.buttRating = 8;
player.str = 15;
player.tou = 15;
player.spe = 18;
player.inte = 17;
player.sens = 15;
player.lib = 15;
player.cor = 0;
notes = "No Notes Available.";
player.HP = maxHP();
player.hairLength=13;
player.skinType = 0;
player.faceType = 0;
player.tailType = 0;
player.tongueType = 0;
player.femininity = 85;
player.beardLength = 0;
player.beardStyle = 0;
player.tone = 30;
player.thickness = 50;
player.skinDesc = "skin";
player.skinTone = "olive";
player.hairColor = "black";
player.balls = 0;
player.cumMultiplier = 1;
player.ballSize = 0;
player.hoursSinceCum = 0;
player.clitLength = 0;
player.ass.analLooseness = 0;