-
Notifications
You must be signed in to change notification settings - Fork 0
/
ANightAmongTheTrees.py
7733 lines (7497 loc) · 322 KB
/
ANightAmongTheTrees.py
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
########################################################
#Imports, music initialization and inventory initialization
import cv2
import pygame
import time
from inputimeout import inputimeout, TimeoutOccurred
global inventory
inventory = []
global hiddenInventory
hiddenInventory = []
global endings
endings = []
global plasma
plasma = []
global monsterCounter
monsterCounter = 0
global recallChecker
recallChecker = 0
global firstTime
firstTime = 0
global gameOverCounter
gameOverCounter = 0
global compassChecker
compassChecker = 0
global eleChecker
eleChecker = 0
global scienceChecker
scienceChecker = 0
import cred
import hintsSystem
#Imports, music initialization and inventory initialization
########################################################
########################################################
#Intial steup for A Night Among the Trees
def setupGameMusic():
pygame.mixer.init()
pygame.mixer.music.load("electric-forest-168971.mp3")
pygame.mixer.music.set_volume(0.6)
pygame.mixer.music.play(-1)
inventory.append("employee keycard")
inventory.append("factory key")
def printTitle():
print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
print(" /\\ /\\")
print(" / \\ / \\")
print(" -- -- -- --")
print(" / \\ A / \\")
print(" / \\ Night / \\")
print(" -- -- Among -- --")
print(" / \\ the / \\")
print(" / \\ Tress / \\")
print(" ---------- ----------")
print(" | | | |")
print(" | | | |")
print(" | | | |")
print(" | | | |")
print("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^")
def startGame():
global endings
global compassChecker
global eleChecker
global scienceChecker
print("\nReady to walk among the trees?")
if len(endings) != 0:
print("\n(You can also type 'endings' to see what endings you have found!)")
print("\n(For a game walkthrough, type 'helpme' to access the game walkthrough!)")
if gameOverCounter > 1:
print("\n(You can also type 'hint' to get a hint for one of the endings!)")
print("\n(You can also type 'credits' to view the credits!)")
if eleChecker != 0:
print("\nYou will now start the game with electricity turned on!")
if compassChecker != 0:
print("\nYou can also type 'lostandfound' to start the game with the bus compass!)")
if scienceChecker != 0:
print("\nYou can also type 'nightinthelab' to start the game from the research base!")
user_input = input("\nYour answer: ")
if user_input.lower() == "yes":
print("The trees await...")
pygame.mixer.music.fadeout(3000)
time.sleep(3)
elif user_input == "no":
print("Perhaps the wise choice...")
time.sleep(3)
print("But not any acceptable one.")
time.sleep(3)
startGame()
elif user_input == "endings":
endingsFound()
elif user_input == "hint":
hintOffer()
elif user_input == "lostandfound":
inventory.append("bus compass")
print("The trees await...")
pygame.mixer.music.fadeout(3000)
time.sleep(3)
elif user_input == "nightinthelab":
print("The trees await...")
pygame.mixer.music.fadeout(3000)
time.sleep(3)
researchBaseMainRoom()
elif user_input == "helpme":
hintsSystem.qAndA()
startGame()
elif user_input == "credits":
pygame.mixer.music.load("costalDrive.mp3")
pygame.mixer.music.play(-1)
time.sleep(4)
print("\nRolling credits...")
time.sleep(5)
cred.credits()
startGame()
else:
print("The trees do not take kindly to that response...")
startGame()
def endingsFound():
global endings
print("\n\nYou have found the following endings:\n")
for ending in endings:
if ending in endings:
if ending == 1:
print("Ending 1: A Watery Grave")
elif ending == 2:
print("Ending 2: An Ungrateful Guest")
elif ending == 3:
print("Ending 3: Too Much of a Good Thing")
elif ending == 4:
print("Ending 4: The Hunter")
elif ending == 5:
print("Ending 5: Harvested")
elif ending == 6:
print("Ending 6: Slip and Fall")
elif ending == 7:
print("Ending 7: One Day My Bus Will Come")
elif ending == 8:
print("Ending 8: A Sudden Shock")
elif ending == 9:
print("Ending 9: The Void")
elif ending == 10:
print("Ending 10: Eaten by Wolves")
elif ending == 11:
print("Ending 11: Hunted")
elif ending == 12:
print("Ending 12: Bear Attack")
elif ending == 13:
print("Ending 13: A Night Among the Trees")
elif ending == 14:
print("Ending 14: Safe and Sound")
elif ending == 15:
print("Ending 15: Photographic Evidence")
elif ending == 16:
print("Ending 16: Safe and Sound... and rich!")
elif ending == 17:
print("Ending 17: Safe and Sound... and rich! And you have photographic evidence!")
elif ending == 18:
print("Ending 18: Rule Breaker")
elif ending == 19:
print("Ending 19: Decapitation")
print("\nTry to reach them all! Good luck.")
input("Press enter to return to the title screen.\n\n")
startGame()
def startingArea():
if len(endings) == 0:
print("\nYou are waiting for the bus after a long day of work.")
print("The bus stop is empty except for you. Everyone else left work long ago.")
print("But you closed the factory up for the winter, and now you wait alone.\n")
time.sleep(10)
print("The road is empty.\n")
print("------------------------")
print("\n")
print(" -- -- -- -- -- --")
print("\n")
print("------------------------")
time.sleep(3)
print("\nThere is no bus in sight. The schedule says two should have come by now,\nyet no bus has traveled by.")
print("The bus stop has a schedule and bench for you to rest on.")
if "electricity" not in hiddenInventory:
print("The bus stop is supposed to be illumated by a streetlight, but it isn't on.")
print("Given the remote location, the light is powered by the factory generator, but the factory is closed.")
else:
print("The bus stop is illumated by a streetlight, allowing for an oasis of light in the dark.")
print("Given the remote location, the light is powered by the factory generator.")
time.sleep(8)
print("\nTo your north is the road leading to the lumber factory where you work.")
print("And to the east and west of you is a road stretching far beyond what your eyes can see.")
print("And surrounding all else...")
time.sleep(8)
pygame.mixer.music.load("Haunted Forest Sounds Ghostly Murmurs 1 Hour.mp3")
pygame.mixer.music.play(-1)
print("The Woods.")
time.sleep(8)
else:
print("\nYou are waiting for the bus after a long day of work.")
print("The bus stop is empty except for you. Everyone else left work long ago.")
print("But you closed the factory up for the winter, and now you wait alone.\n")
print("The road is empty.\n")
print("------------------------")
print("\n")
print(" -- -- -- -- -- --")
print("\n")
print("------------------------")
print("\nThere is no bus in sight. The schedule says two should have come by now,\nyet no bus has traveled by.")
print("The bus stop has a schedule and bench for you to rest on.")
if "electricity" not in hiddenInventory:
print("The bus stop is supposed to be illumated by a streetlight, but it isn't on.")
print("Given the remote location, the light is powered by the factory generator, but the factory is closed.")
else:
print("The bus stop is illumated by a streetlight, allowing for an oasis of light in the dark.")
print("Given the remote location, the light is powered by the factory generator.")
print("\nTo your north is the road leading to the lumber factory where you work.")
print("And to the east and west of you is a road stretching far beyond what your\neyes can see.")
print("And surrounding all else...")
pygame.mixer.music.load("Haunted Forest Sounds Ghostly Murmurs 1 Hour.mp3")
pygame.mixer.music.play(-1)
print("The Woods.")
startingChoice()
def startingChoice():
if "electricity" in hiddenInventory and "lamp notice" not in hiddenInventory:
print("\nAs you return to the bus stop you notice the streetlight is now on.")
hiddenInventory.append("lamp notice")
time.sleep(2)
global monsterCounter
monsterCounter = 0
print("\nWhat would you like to do?")
print("1. Wait for the bus.")
print("2. Take a nap on the bench.")
print("3. Walk down the road to the east.")
print("4. Walk down the road to the west.")
print("5. Walk towards the lumber factory.")
print("6. Walk into the woods.")
print("7. Check the items you have.")
print("The trees demand that you answer with a single number.")
user_input = input("I would like to... ")
if user_input == "1":
time.sleep(1)
waitForBus()
elif user_input == "2":
time.sleep(1)
napTime()
elif user_input == "3":
time.sleep(1)
lonelyBeaver()
elif user_input == "4":
time.sleep(1)
rockslide()
elif user_input == "5":
time.sleep(1)
factoryOutside()
elif user_input == "6":
time.sleep(1)
print("\nYou walk north into the woods.")
time.sleep(3)
if "bus compass" not in inventory:
woods()
else:
woodsCompass()
elif user_input == "7":
print("\nYou check to see what you have.\n")
for i in inventory:
print(i)
time.sleep(3)
startingChoice()
else:
print("The trees are not pleased...")
startingChoice()
#Intial steup for A Night Among the Trees
########################################################
########################################################
#Option 1: Wait for the bus
def waitForBus():
print("\nYou wait for the bus.")
time.sleep(8)
print("\nIt doesn't seem like it's coming.")
time.sleep(3)
print("\nWhat would you like to do?")
print("1. Wait some more.")
print("2. Reconsider your options.")
user_input = input("I would like to... ")
if user_input == "1":
waitForBus2()
else:
print("\nYou realize the bus isn't coming.")
startingChoice()
def waitForBus2():
print("\nYou wait for the bus.")
time.sleep(8)
print("\nIt doesn't seem like it's coming.")
time.sleep(3)
print("\nWhat would you like to do?")
print("1. Wait some more.")
print("2. Reconsider your options.")
user_input = input("I would like to... ")
if user_input == "1":
waitForBus3()
else:
print("\nYou realize the bus isn't coming.")
startingChoice()
def waitForBus3():
print("\nYou wait for the bus.")
time.sleep(8)
print("\nIt doesn't seem like it's coming.")
time.sleep(3)
print("\nWhat would you like to do?")
print("1. Wait some more.")
print("2. Reconsider your options.")
user_input = input("I would like to... ")
if user_input == "1":
waitForBus3half()
else:
print("\nYou realize the bus isn't coming.")
startingChoice()
def waitForBus3half():
print("\nYou wait for the bus.")
time.sleep(8)
print("\nIt doesn't seem like it's coming.")
time.sleep(3)
print("\nWhat would you like to do?")
print("1. Wait some more.")
print("2. Reconsider your options.")
user_input = input("I would like to... ")
if user_input == "1":
waitForBus4()
else:
print("\nYou realize the bus isn't coming.")
startingChoice()
def waitForBus4():
print("\nYou wait for the bus.")
time.sleep(8)
print("\nDark purple headlights appear on the horizon.")
time.sleep(3)
if "Mbus" not in hiddenInventory:
print("\nA bus you've never seen before rolls up to the bus stop.")
else:
print("\nThe Midnight Bus rolls up to the bus stop.")
print('The design on its side reads "The Midnight Bus".\n')
time.sleep(3)
print(" ________________________________ ")
print(" /________________________________\\ ")
print(" | | | | | _____ | | ")
print(" |____|____|____|____| | | | |__| ")
print(" | THE MIDNIGHT BUS | | | | ")
print(" |_____________________|__|__|____| ")
print("-------|_|__|-----------------|_|__|---------")
print("\n")
print(" -- -- -- -- -- -- -- -- -- -- -- ")
print("\n")
print("---------------------------------------------")
time.sleep(2)
print("\nIts doors roll open, inviting you in.")
print("But you cannot see the inside, it's pitch black.")
time.sleep(3)
hiddenInventory.append("bus")
print("\nWhat would you like to do?")
print("1. Board the midnight bus.")
print("2. Wait for the REAL bus.")
user_input = input("I would like to... ")
if user_input == "1":
hiddenInventory.append("Mbus")
print("\nYou step onboard, and the doors close behind you.")
time.sleep(3)
print("As soon as you step onboard you can suddenly see the interior,")
print("as if you crossed a threshold into another world.")
time.sleep(6)
midnightBus()
else:
print("\nThis is not your bus. You wait for it to go along its way.")
time.sleep(3)
waitForBus5()
def waitForBus5():
print("\nYou wait for the bus.")
time.sleep(8)
print("\nYour bus REALLY doesn't seem to be coming.")
time.sleep(3)
print("\nWhat would you like to do?")
print("1. STILL continue to wait for your bus.")
print("2. Reconsider your options.")
user_input = input("I would like to... ")
if user_input == "1":
waitForever()
else:
print("\nYou realize the bus isn't coming.")
startingChoice()
def waitForever():
print("\nYou are steadfast. You are not moving from this spot until your bus comes.")
time.sleep(3)
print("And wait you do. You wait countless hours for your bus, but it never arrives.")
print("You collapse due to dehydration. But you die peacefully knowing one day...")
time.sleep(6)
print("the bus will come.")
time.sleep(3)
gameOver(7)
def midnightBus():
pygame.mixer.music.load("analogmannequin - milk cassette x.mp3 (1 hour loop).mp3")
pygame.mixer.music.play(-1)
print("\nThe bus starts rolling down the road.")
time.sleep(3)
if "girlGone" not in hiddenInventory:
print("\nAfter you board you notice there is only you, the driver, and one other")
print("passenger about 3 rows ahead of the back.")
print("The driver looks normal enough.")
print("They're wearing a dark purple button down with a black tie and black pants.")
print("They look to be about 50 and have a clean shaven face.")
print("The passenger is staring out the window and looks to be a teenage girl.")
print("She is wearing a large pale red hoodie.")
print("The bus itself is lit by purple lighting and the seats look awfully cozy.")
print("Windows line the sides, allowing you to see the dark woods outside as the bus rushes past.")
else:
print("\nAfter you board you notice there is only you and the driver.")
print("The driver looks normal enough.")
print("They're wearing a dark purple button down with a black tie and black pants.")
print("The bus itself is lit by purple lighting and the seats look awfully cozy.")
print("Windows line the sides, allowing you to see the dark woods outside as the bus rushes past.")
time.sleep(16)
print("\nThe driver turns to you.")
print('"Bus pass please."')
time.sleep(3)
print("\nYou stare at him in confusion. You don't know about any 'bus pass'.")
time.sleep(3)
print("\nWhat do you do?")
print("1. Show him something you have.")
print("2. Inform him that you don't have a bus pass.")
user_input = input("I would like to... ")
if user_input == "1":
print("\nYou check to see what you have.\n")
for i in inventory:
print(i)
time.sleep(5)
print("\nWhat would you like to show them?")
print("The trees demand that you answer with an item, such as 'employee keycard'.")
user_input2 = input("I would like to show them my... ")
if user_input2 == "notebook" and "notebook" in inventory:
print("\nThe driver slowly nods.")
time.sleep(3)
print('\n"Welcome. Ride as long as you'+"'"+'d like."')
time.sleep(3)
boardedChoice()
elif user_input2 not in inventory:
print("\nYou don't have that item in your inventory.")
time.sleep(3)
else:
pygame.mixer.music.load("-110063.mp3.")
pygame.mixer.music.play()
print("\nThe driver slams on the breaks.")
time.sleep(3)
print('"You mean to tell me that you did not bring your pass?"')
time.sleep(3)
print("\nYou look around, unsure of what to say.")
time.sleep(3)
print("\nSuddenly you can't see anything.")
print("You back up in confusion, but you don't bump into the side of the bus.")
time.sleep(5)
print("You try to run but you still make no contact with anything.")
print("You scream, but your cries accomplish nothing.")
print("You try to feel for the floor, but you feel nothing, as if nothing was there.")
time.sleep(6)
print("You are never seen again.")
time.sleep(3)
voidEnding()
if user_input == "2":
print("\nYou let them know you don't have a bus pass.")
time.sleep(3)
pygame.mixer.music.load("-110063.mp3.")
pygame.mixer.music.play()
print("\nThe driver slams on the breaks.")
time.sleep(3)
print('"You mean to tell me that you did not bring your pass?"')
time.sleep(3)
print("\nYou look around, unsure of what to say.")
time.sleep(3)
print("\nSuddenly you can't see anything.")
print("You back up in confusion, but you don't bump into the side of the bus.")
time.sleep(5)
print("\nYou try to run but you still make no contact with anything.")
print("You scream, but your cries accomplish nothing.")
print("You try to feel for the floor, but you feel nothing, as if nothing was there.")
time.sleep(6)
print("You are never seen again.")
time.sleep(3)
voidEnding()
else:
print("\nYou stare at them, not moving.")
time.sleep(3)
pygame.mixer.music.load("-110063.mp3.")
pygame.mixer.music.play()
print("\nThe driver slams on the breaks.")
time.sleep(3)
print('"You mean to tell me that you did not bring your pass?"')
time.sleep(3)
print("\nYou look around, unsure of what to say.")
time.sleep(3)
print("\nSuddenly you can't see anything.")
print("You back up in confusion, but you don't bump into the side of the bus.")
time.sleep(5)
print("You try to run but you still make no contact with anything.")
print("You scream, but your cries accomplish nothing.")
print("You try to feel for the floor, but you feel nothing, as if nothing was there.")
time.sleep(6)
print("You are never seen again.")
time.sleep(3)
voidEnding()
def boardedChoice():
if "girlGone" not in hiddenInventory:
print("\nWhat would you like to do?")
print("1. Chat with the bus driver.")
print("2. Strike up a conversation with the other passenger.")
print("3. Go sit down.")
user_input = input("I would like to... ")
if user_input == "1":
driver()
elif user_input == "2":
if "hug" not in hiddenInventory:
passenger()
else:
print("\nShe probably doesn't want to talk to you.")
time.sleep(3)
boardedChoice()
elif user_input == "3":
print("\nYou go sit down in an empty seat.")
time.sleep(3)
seat()
else:
print("\nYou mull over your options.")
else:
print("\nWhat would you like to do?")
print("1. Chat with the bus driver.")
print("2. Go sit down.")
user_input2 = input("I would like to... ")
if user_input2 == "1":
driver()
elif user_input2 == "2":
print("\nYou go sit down in an empty seat.")
time.sleep(3)
seat()
else:
print("\nYou mull over your options.")
def driver():
print("\nYou walk over to the bus driver.")
time.sleep(3)
print("\nHe doesn't look at you.")
print("He just keeps driving.")
time.sleep(5)
driverChoice(0)
def driverChoice(annoyed):
global compassChecker
annoyed += 1
print("\nWhat would you like to do?")
print("1. Say hello.")
print("2. Ask him what this bus is.")
print("3. Tell him you'd like to get off.")
print("4. Decide to do something else.")
if annoyed > 2 and "bus compass" not in inventory:
print("5. Say something specfic.")
user_input = input("I would like to... ")
if user_input == "1":
print("\nYou say hello to the driver.")
time.sleep(3)
print("They don't respond.")
time.sleep(3)
driverChoice(annoyed)
elif user_input == "2":
print("\nYou ask the driver what this bus is.")
time.sleep(3)
print("They don't respond.")
time.sleep(3)
driverChoice(annoyed)
elif user_input == "3":
print("\nYou tell the driver you'd like to get off.")
time.sleep(3)
print("\nThe driver slowly nods.")
time.sleep(3)
print("\nThe bus rolls to a stop, and you get off the bus.")
print("You are back at the bus stop you got on at.")
time.sleep(3)
print("\nThe Midnight Bus drives down the road, leaving you alone.")
time.sleep(3)
pygame.mixer.music.load("Haunted Forest Sounds Ghostly Murmurs 1 Hour.mp3")
pygame.mixer.music.play(-1)
startingChoice()
elif user_input == "4":
print("\nYou decide to do something else.")
time.sleep(3)
boardedChoice()
elif user_input == "5" and annoyed > 2 and "bus compass" not in inventory:
print("\nType a sentence of what you'd like to say.")
print("The trees demand you do not include any punctuation.")
statement = input("\nI would like to say... ").lower()
if statement == "i want to come back" or "i want to come back.":
print("\nThe bus driver slowly nods.")
time.sleep(3)
print("They pull out a small, round compass and hand it to you.")
time.sleep(3)
print('"This will always point you to the nearest bus stop."')
print('"And if you are in need of it, the Midnight Bus will come."')
time.sleep(6)
pygame.mixer.music.load("success_bell-6776.mp3")
pygame.mixer.music.play()
print("\nYou have gotten the midnight compass!")
print("Now you will be able to always find your way back to the bus stop.")
print("No matter how lost you are.")
inventory.append("bus compass")
compassChecker += 1
time.sleep(9)
pygame.mixer.music.load("analogmannequin - milk cassette x.mp3 (1 hour loop).mp3")
pygame.mixer.music.play(-1)
driverChoice(annoyed)
else:
print("\nThey don't respond.")
time.sleep(3)
driverChoice(annoyed)
else:
print("\nThis sure is one reserved bus driver...")
driverChoice()
def passenger():
print("\nYou walk over to the other passenger.")
time.sleep(3)
print("\nShe doesn't look at you.")
print("She just stares out the window.")
time.sleep(5)
print("\nWhat do you do?")
print("1. Say hello.")
print("2. Sit next to her and say nothing.")
print("3. Decide to do something else.")
user_input = input("I would like to... ")
if user_input == "1":
print("\nYou say hello to her.")
time.sleep(3)
print("\nShe looks at you.")
print("It looks like she's been crying.")
time.sleep(3)
print('\n"Hi."')
time.sleep(3)
print("\nWhat do you say?")
print('1. "Buses, am I right?"')
print('2. "Why were you crying?"')
print('3. "What is this bus?"')
print("4. Decide to do something else.")
user_input2 = input("I say... ")
if user_input2 == "1":
print("\nShe rolls her eyes.")
time.sleep(3)
print('\n"Uh, sure."')
time.sleep(3)
print("\nShe stares out the window.")
time.sleep(3)
girlConvo()
elif user_input2 == "2":
print("\nYou ask her why she's been crying.")
time.sleep(3)
crying()
elif user_input2 == "3":
print("\nYou ask her what this bus is.")
time.sleep(3)
girlBus()
elif user_input2 == "4":
print("\nYou decide you don't really know what to say.")
time.sleep(3)
boardedChoice()
else:
print("\nYou decide you don't really know what to say.")
time.sleep(3)
boardedChoice()
elif user_input == "2":
print("\nYou go sit down next to her without saying anything.")
time.sleep(3)
print("\nShe seems uncomfortable.")
time.sleep(3)
print("\nShe gets up and moves to a different seat.")
time.sleep(3)
print("\nClearly that was not the best way to start a conversation.")
print("You get up and reconsider your options.")
time.sleep(3)
boardedChoice()
elif user_input == "3":
print("\nYou decide to do something else.")
time.sleep(3)
boardedChoice()
else:
print("\nIt's tough striking up a conversation with a stranger.")
passenger()
def girlConvo():
print("\nWhat do you say to her?")
print('1. "Buses, am I right?"')
print('2. "Why were you crying?"')
print('3. "What is this bus?"')
print("4. Decide to do something else.")
user_input = input("I say... ")
if user_input == "1":
print("\nShe rolls her eyes.")
time.sleep(3)
print('\n"Uh, sure."')
time.sleep(3)
print("\nShe stares out the window.")
time.sleep(3)
girlConvo()
elif user_input == "2":
print("\nYou ask her why she's been crying.")
time.sleep(3)
crying()
elif user_input == "3":
print("\nYou ask her what this bus is.")
time.sleep(3)
girlBus()
elif user_input == "4":
print("\nYou decide you don't really know what to say.")
time.sleep(3)
boardedChoice()
else:
print("\nYou decide you don't really know what to say.")
time.sleep(3)
boardedChoice()
def crying():
print('\n"I don'+"'"+'t really want to talk about it."')
time.sleep(3)
print("\nWhat would you like to do?")
print("1. Tell her it's ok to talk about it.")
print("2. Tell her you understand.")
print("3. Give her a hug.")
print("4. Give up talking to her and do something else.")
user_input = input("I would like to... ")
if user_input == "1":
print("\nYou tell her it's ok to talk about it.")
time.sleep(3)
print("\nShe shakes her head and looks away.")
time.sleep(3)
girlConvo()
elif user_input == "2":
print("\nYou tell her you understand.")
time.sleep(3)
print("\nShe looks away from you and starts crying.")
time.sleep(3)
herStory()
elif user_input == "3":
print("\nYou give her a h-")
print('\n"WHAT THE HECK! GET OFF OF ME!"')
time.sleep(5)
print("\nShe gets up and moves to another seat.")
time.sleep(3)
print("\nClearly it was not the best decision to suddenly hug a stranger.")
hiddenInventory.append("hug")
time.sleep(3)
boardedChoice()
elif user_input == "4":
print("\nYou decide to talk about something else.")
time.sleep(3)
girlConvo()
else:
print("\nIt's tough knowing what to say in this situation.")
crying()
def herStory():
print("\nAfter some time she speaks again.")
time.sleep(3)
print('\n"I killed my boyfriend."')
print('"Every time I think about it I start crying."')
print('"I know once I go back my life is over."')
print('"That'+"'"+'s why I'+"'"+'ve been here so long."')
time.sleep(12)
print("\nShe lets out a slight laugh.")
time.sleep(3)
print('\n"I am so dumb."')
print('"It'+"'"+'s just that he cheated on me and..."')
time.sleep(6)
print('"He told me while were on the literal edge of a cliff!"')
time.sleep(3)
print('"So I pushed him. And he fell."')
time.sleep(3)
print('"I know I did mean to kill him in that moment but I would never..."')
time.sleep(3)
print("\nShe lets a deep breath.")
print("She shakes her head.")
time.sleep(5)
print('\n"You have to believe me! I would never, ever do that normally."')
print('"It was just in the heat of the moment, you know?"')
time.sleep(9)
print("\nShe closes her eyes and takes a deep breath.")
time.sleep(3)
print("You let her reflect for a bit.")
time.sleep(12)
print('\n"You'+"'"+'re the first person I'+"'"+'ve told."')
print('"No one else has ridden since I'+"'"+'ve got on."')
time.sleep(6)
print("\nShe lets out another laugh.")
time.sleep(3)
print('"However long that'+"'"+'s been."')
time.sleep(9)
print('\n"I'+"'"+'m human garbage."')
time.sleep(6)
print("\nShe looks at you again.")
time.sleep(3)
print('"It'+"'"+'s about time I face what I'+"'"+'ve done..."')
time.sleep(3)
print("\nShe closes her eyes and takes a deep breath.")
time.sleep(9)
print("\nShe stands up and walks up to the bus driver.")
time.sleep(3)
print("\nShe says something to him and he nods.")
time.sleep(3)
print("\nThe bus slowly comes to a stop, and she walks off.")
time.sleep(3)
print("\nYou take a moment to take in what she just told you.")
hiddenInventory.append("girlGone")
time.sleep(3)
boardedChoice()
def girlBus():
print("\nShe shrugs.")
time.sleep(3)
print('\n"I don'+"'"+'t really know."')
print('"My friend told me there'+"'"+'s this bus where time doesn'+"'"+'t pass."')
print('"You can just ride as long as you like."')
time.sleep(9)
print('"All you need is a notebook. She told me that was important."')
time.sleep(3)
print("\nWhat do you say?")
print('1. "What'+"'"+'s important about the notebook?"')
print('2. "How long have you been riding?"')
print('3. What do you mean by '+"'"+'time doesn'+"'"+'t pass'+"'"+'?"')
user_input = input("I say... ")
if user_input == "1":
print('\n"I guess that you'+"'"+'re supposed to journal your feelings."')
time.sleep(3)
print('\n"And anything you write here you can only read in here."')
print('"The lights in here or something makes what you write down appear."')
hiddenInventory.append("notebookRealize")
time.sleep(6)
print('\n"I haven'+"'"+'t put much in mine. This is all I'+"'"+'ve done."')
time.sleep(3)
print("\nShe shows you the first page of your notebook.")
time.sleep(2)
print("\n\n\n")
print(" ____ ______------____ ")
print(" _______-- -----____ -________________------ ")
print(" -----_____________---- ")
print("\n\n\n\n\n\n\n")
print(" o ")
print(" // ")
print(" // ")
print("\n\n\n")
time.sleep(3)
girlConvo()
elif user_input == "2":
print("\nShe tears up, and turns away from you and looks out the window.")
time.sleep(3)
girlConvo()
elif user_input == "3":
print('\n"I don'+"'"+'t really know."')
print('I guess that time pauses or something while you'+"'"+'re here."')
time.sleep(5)
girlConvo()
else:
print("\nYou consider what you should say next.")
girlConvo()
def seat():
print("\nWhat would you like to do?")
print("1. Reflect on your current situation.")
print("2. Check out the notebook.")
print("3. Stand up and do something else.")
user_input = input("I would like to... ")
if user_input == "1":
reflect()
elif user_input == "2":
if "notebookRealize" in hiddenInventory:
print("\nJust as she told you, the notebook now shows writing upder the purple glow.")
else:
print("\nSomehow, the notebook now has writing in it.")
print("There are 7 entries.")
time.sleep(5)
notebook()
elif user_input == "3":
print("You have had enough sitting and decide to do something else.")
time.sleep(3)
boardedChoice()
else:
print("\nYou consider what to do.")
def reflect():
print("\nThis night has definitely turned into something else.")
time.sleep(3)
print("\nFirst off, you already had to close up the factory by yourself.")
print("No one stuck around to help you.")
time.sleep(5)
print("\nAnd then the bus wasn't showing up.")
if rockslide in hiddenInventory:
print("That rockslide has completely cut you off any chance of it coming.")
else:
print("Why hasn't the bus come?")
time.sleep(3)
if "figure" in hiddenInventory:
print("\nAnd that figure was very unnerving.")
print("It's a miracle you were able to escape him.")
time.sleep(6)
if "shop" in hiddenInventory:
print("\nAt least it was nice to see the old gift shop.")
print("Even though there wasn't much to do there.")
time.sleep(6)
if "backdoor" in hiddenInventory:
print("\nBut was with that backdoor? It's security was insane.")
print("And for a gift shop backdoor?")
time.sleep(6)
if "woods" in hiddenInventory:
print("\nThese woods are unerving. It's so easy to get lost.")
print("You wonder if you've gone straight, right, left, right, back yet.")
time.sleep(6)
print("\nAnd to top it all off you are now riding a mysterious bus.")
time.sleep(3)
print("\nYou stare out the window sprinkled with rain, contemplating the night's events.")
time.sleep(2)
print(" _____________________ ")
print("[ / \\*/ \\ / \\ */ \\ ]")
print("[ * --- -*- --* --- ]")
print("[ *| |* | * | *]")
print("[ * | | |* | ]")
print("[^^*^^^^^^*^^^*^^^^^^^]")
print("[__*_______*______*___]")
time.sleep(6)
print("\nAt least this is peaceful.")
time.sleep(3)
seat()
def notebook():
print("\nWhat would you like to do?")
print("1. Read the first entry.")
print("2. Read the second entry.")
print("3. Read the third entry.")
print("4. Read the fourth entry.")
print("5. Read the fifth entry.")
print("6. Read the sixth entry.")
print("7. Read the seventh entry.")
print("8. Read the last page entry.")
print("9. Do something else.")
user_input = input("I would like to... ")
if user_input == "1":
print("\nThis is what it reads:")
time.sleep(3)
entryOne()
elif user_input == "2":
print("\nThis is what it reads:")
time.sleep(3)
entryTwo()
elif user_input == "3":
print("\nThis is what it reads:")
time.sleep(3)
entryThree()
elif user_input == "4":
print("\nThis is what it reads:")
time.sleep(3)
entryFour()
elif user_input == "5":
print("\nThis is what it reads:")
time.sleep(3)
entryFive()
elif user_input == "6":
print("\nThis is what it reads:")
time.sleep(3)
entrySix()
elif user_input == "7":
print("\nThis is what it reads:")
time.sleep(3)
entrySeven()
elif user_input == "8":
print("\nThis is what it reads:")
time.sleep(3)
entryEight()
elif user_input == "9":
print("\nYou decide to do something else.")
seat()
else:
print("\nThis is all so wild.")