forked from Just-Natsuki-Team/NatsukiModDev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript-ch30.rpy
4653 lines (4442 loc) · 162 KB
/
script-ch30.rpy
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
default persistent.monikatopics = []
default persistent.newtopics = []
default persistent.monika_reload = 0
default persistent.tried_skip = None
default persistent.monika_kill = None
default monika_cutscene = False
default persistent.natsuki_like = 0
default persistent.seen_waves = False
default persistent.seen_castle = False
default persistent.newart = False
default persistent.seen_walk = False
default persistent.prologue = None
default persistent.seen_scrubpai_event = False
default persistent.seen_marisu_event = False
default persistent.birthday = None
default persistent.natsuki_love = False
default persistent.random_talk = True
default persistent.youtuber_mode = False
default persistent.natsuki_emotion = "Casual"
default persistent.yuri_is_a_bitch = True
default persistent.repeat_topics = True
default persistent.seen_zero_event = False
default persistent.seen_zero_event3 = False
default persistent.given_returnchoice = False
default persistent.dont_show = False
default persistent.mentioned_jy = False
default persistent.other_bg = False
default persistent.anime_search = False
default persistent.anniversary = None
default persistent.seen_anniversary_start = False
default time_alone = 10
default persistent.room_animated = True
default persistent.show_again = True
default time_fed = 0
default persistent.track_1 = "Track 1"
default persistent.track_2 = "Track 2"
default persistent.track_3 = "Track 3"
default persistent.first_morning = True
default persistent.yandere = False
default persistent.yantopics = []
default persistent.yantopics_seen = []
default persistent.natsuki_save = False
default persistent.save_music_place = True
default persistent.monika_persistent = False
default persistent.seen_event = False
default persistent.christmas = True
default persistent.has_flower = False
default persistent.has_coco = False
default persistent.has_misletoe = False
default persistent.seen_monikaevent = False
default persistent.one_year = False
default persistent.seen_valentine = False
default time_of_day = ""
default persistent.new_topics = False
default persistent.first_shutdown = True
default persistent.has_chocolate = False
default persistent.seen_valentine_start = False
default persistent.newemotion_startup = True
default persistent.dynamic_emotions = True
default persistent.bday_month = 0
default persistent.bday_day = 0
default persistent.bday_year = 0
default persistent.natsuki_left = False
default persistent.anitopics = []
default persistent.anitopics_seen = []
default persistent.christmastopics = []
default persistent.current_christmastopic = []
default persistent.seen_anievent = False
default persistent.seen_spookystory = False
default persistent.wearing = ""
default persistent.lights = False
default persistent.seen_rawrevent = False
default persistent.christmas_time = ""
default persistent.did_wrap = False
default persistent.present1 = 0
default persistent.present2 = 0
default persistent.present3 = 0
default persistent.has_silver = False
default persistent.has_pjs = False
default persistent.seen_chsritmas = False
default persistent.seen_plan = False
default persistent.natsuki_romance = 0
default persistent.head_accessory = ""
default persistent.player_gender = "" #Used to identify the player's gender.
default persistent.player_pronouns = "" #Used for primary pronouns like He/She/Them
default persistent.player_pronouns2 = "" #Used for secondary pronouns like Him/Her/Them
default persistent.player_pronouns3 = "" #Used for possessive pronoun like His/Hers/Theirs
default persistent.two_years = False
default persistent.seen_two_years = False
default persistent.candels_blown = False
default persistent.mentioned_song = False
default persistent.flag = ""
default persistent.seen_thoughts = False
default persistent.date = ""
default persistent.background_day = "beach"
default persistent.background_night = "space"
default persistent.seen_halloween3 = False
image nend = "mod_assets/natsukidelete.png"
image n2 = "mod_assets/natsukiroom.png"
image nstill = "mod_assets/natsukiartstill.png"
image pool = "mod_assets/pool.png"
image space = "mod_assets/space.png"
image partyhat = "mod_assets/JustNatsuki/partyhat.png"
image cake = "mod_assets/JustNatsuki/cake.png"
image cemetary = "mod_assets/locations/cemetary/cemetary.png"
image ears = "mod_assets/JustNatsuki/ears.png"
image flower = "mod_assets/JustNatsuki/flower.png"
image misletoe = "mod_assets/JustNatsuki/misletoe.png"
image room_day = "mod_assets/locations/clubroom/natsuki_day_room.png"
image shade = "mod_assets/JustNatsuki/shade.png"
image shade2 = "mod_assets/JustNatsuki/shade2.png"
image shade3 = "mod_assets/JustNatsuki/shade3.png"
image kitchenoverlay = "mod_assets/emptykitchen.png"
image clothes jhollow = "mod_assets/JustNatsuki/whichcostume.png"
image whichhat = "mod_assets/JustNatsuki/whichhat.png"
image clothes juni = "mod_assets/JustNatsuki/uniform.png"
image cabin_interior = "mod_assets/locations/cabin/cabin.png"
image clothes jchris = "mod_assets/JustNatsuki/christmascostume.png"
image decorations = "mod_assets/locations/clubroom/decorations.png"
image clothes jmaid = "mod_assets/JustNatsuki/maidoutfit.png"
image base 1a = "mod_assets/JustNatsuki/base.png"
image clothes jbikini = "mod_assets/JustNatsuki/bikini.png"
image clothes jbeach = "mod_assets/JustNatsuki/beach.png"
image clothes jdress = "mod_assets/JustNatsuki/dress.png"
image clothes jwhitetank = "mod_assets/JustNatsuki/whitetank.png"
image accessory jglasses = "mod_assets/JustNatsuki/glasses.png"
image accessory jmask = "mod_assets/JustNatsuki/mask.png"
image flag gay = "mod_assets/room_decor/gay.png" #Boys will love boys.
image flag lesbian = "mod_assets/room_decor/lesbian.png" #Men is too headache.
image flag trans = "mod_assets/room_decor/trans.png" #That's me!
image flag enby = "mod_assets/room_decor/enby.png" #For those who have ascended beyond the gender plane!
image flag bi = "mod_assets/room_decor/bisexual.png" #For people who love more than one gender!
image flag pan = "mod_assets/room_decor/pan.png" #For people who love all genders. Look the distinction is important to some okay!
image flag asexual = "mod_assets/room_decor/asexual.png" #Sex can be a headache.
image flag blm = "mod_assets/room_decor/blm.png" #Support black people in this important time. They need it.
image garland_day = "mod_assets/room_decor/bell_garland_day.png"
image garland_night = "mod_assets/room_decor/bell_garland_space.png"
image tree_day = "mod_assets/room_decor/xmas_tree_day.png"
image tree_night = "mod_assets/room_decor/xmas_tree_space.png"
#Why am I writing these notes? No one is gunna read em...
image plate = "mod_assets/JustNatsuki/plate.png"
image cakelit = "mod_assets/JustNatsuki/cakelit.png"
image n_kitchen = "mod_assets/locations/kitchen/kitchen.png"
image jumptext:
ypos credits_ypos + 250
xoffset 0
"black"
0.0
Text("Please adjust your volume to max for a better experience.", style="monika_credits_text") with ImageDissolve("images/menu/wipeleft.png", 10.0, ramplen=4, alpha=False)
image exception_bg = "#dadada"
image fake_exception = Text("An exception has occurred.", size=40, style="_default")
image fake_exception2 = Text("File \"characters/sayori.chr\",\nSee traceback.txt for details.", size=20, style="_default")
image splash_glitch:
subpixel True
"images/bg/splash-glitch.png"
alpha 0.0
pause 0.5
linear 0.5 alpha 1.0
pause 2.5
linear 0.5 alpha 0.0
"gui/menu_bg.png"
topleft
alpha 0.0
parallel:
xoffset 0 yoffset 0
linear 0.25 xoffset -100 yoffset -100
repeat
parallel:
linear 0.5 alpha 1.0
parallel:
ypos 0
pause 1.0
easeout 1.0 ypos -500
image splash_glitch2:
subpixel True
"gui/menu_bg.png"
topleft
block:
xoffset 0 yoffset 0
linear 0.05 xoffset -100 yoffset -100
repeat
image splash_glitch_m:
subpixel True
"gui/menu_art_m.png"
zoom 0.5
xpos 0.5 ypos 0.5
pause 0.1
parallel:
xpos 0.3 ypos 1.2
linear 0.08 ypos 0.1
repeat
parallel:
pause 0.5
alpha 0.0
image splash_glitch_n:
subpixel True
"gui/menu_art_n.png"
zoom 0.5
pause 0.2
xpos 0.8 ypos 0.8
pause 0.05
xpos 0.2 ypos 0.7
pause 0.05
xpos 0.4 ypos 0.2
pause 0.05
xpos 0.7 ypos 1.2
pause 0.05
xpos 0.1 ypos 1.0
pause 0.05
xpos 0.2 ypos 0.6
pause 0.05
xpos 0.9 ypos 0.4
pause 0.05
alpha 0.0
image splash_glitch_y:
subpixel True
"gui/menu_art_y.png"
zoom 0.5
ypos 1.3
block:
xpos 0.85
pause 0.02
xpos 0.81
pause 0.02
repeat
image mask_child:
"images/cg/monika/child_2.png"
xtile 2
image mask_mask:
"images/cg/monika/mask.png"
xtile 3
image mask_mask_flip:
"images/cg/monika/mask.png"
xtile 3 xzoom -1
image maskb:
"images/cg/monika/maskb.png"
xtile 3
image mask_test = AnimatedMask("#FAC3FF", "mask_mask", "maskb", 0.10, 32)
image mask_test2 = AnimatedMask("#ffffff", "mask_mask", "maskb", 0.03, 16)
image mask_test3 = AnimatedMask("#FAC3FF", "mask_mask_flip", "maskb", 0.10, 32)
image mask_test4 = AnimatedMask("#ffffff", "mask_mask_flip", "maskb", 0.03, 16)
image noanim = "mod_assets/locations/clubroom/still.png"
image mask_2:
"images/cg/monika/mask_2.png"
xtile 3 subpixel True
block:
xoffset 1280
linear 1200 xoffset 0
repeat
image mask_3:
"images/cg/monika/mask_3.png"
xtile 3 subpixel True
block:
xoffset 1280
linear 180 xoffset 0
repeat
image monika_room = "images/cg/monika/monika_room.png"
image monika_room_highlight:
"images/cg/monika/monika_room_highlight.png"
function monika_alpha
image monika_bg = "images/cg/monika/monika_bg.png"
image monika_bg_highlight:
"images/cg/monika/monika_bg_highlight.png"
function monika_alpha
image monika_scare = "mod_assets/natsukiondrugs.png"
image dark = "mod_assets/effects/darkeffect.png"
image monika_body_glitch1:
"images/cg/monika/monika_glitch1.png"
0.15
"images/cg/monika/monika_glitch2.png"
0.15
"images/cg/monika/monika_glitch1.png"
0.15
"images/cg/monika/monika_glitch2.png"
1.00
"images/cg/monika/monika_glitch1.png"
0.15
"images/cg/monika/monika_glitch2.png"
0.15
"images/cg/monika/monika_glitch1.png"
0.15
"images/cg/monika/monika_glitch2.png"
image monika_body_glitch2:
"images/cg/monika/monika_glitch3.png"
0.15
"images/cg/monika/monika_glitch4.png"
0.15
"images/cg/monika/monika_glitch3.png"
0.15
"images/cg/monika/monika_glitch4.png"
1.00
"images/cg/monika/monika_glitch3.png"
0.15
"images/cg/monika/monika_glitch4.png"
0.15
"images/cg/monika/monika_glitch3.png"
0.15
"images/cg/monika/monika_glitch4.png"
image desk_accessories = "mod_assets/JustNatsuki/n_deskstuff.png"
image icon = "mod_assets/logo.png"
image room_glitch = "images/cg/monika/monika_bg_glitch.png"
image room_mask = LiveComposite((1280, 720), (0, 0), "mask_test", (0, 0), "mask_test2")
image room_mask2 = LiveComposite((1280, 720), (0, 0), "mask_test3", (0, 0), "mask_test4")
init python:
import subprocess
import os
import datetime
process_list = []
currentuser = ""
if renpy.windows:
try:
process_list = subprocess.check_output("wmic process get Description", shell=True).lower().replace("\r", "").replace(" ", "").split("\n")
except:
pass
try:
for name in ('LOGNAME', 'USER', 'LNAME', 'USERNAME'):
user = os.environ.get(name)
if user:
currentuser = user
except:
pass
dismiss_keys = config.keymap['dismiss']
def slow_nodismiss(event, interact=True, **kwargs):
config.allow_skipping = False
if persistent.monikas_return:
if not os.path.isfile(basedir + "/characters/monika.chr"):
renpy.call("ch31_monikareturn")
if event == "begin":
config.keymap['dismiss'] = []
renpy.display.behavior.clear_keymap_cache()
elif event == "slow_done":
config.keymap['dismiss'] = dismiss_keys
renpy.display.behavior.clear_keymap_cache()
label ch30_noskip:
show screen fake_skip_indicator
n "Uh..."
pause 0.4
hide screen fake_skip_indicator
pause 0.4
n "No!"
hide screen fake_skip_indicator
if persistent.current_monikatopic != 0:
n "Now, where was I...?"
pause 4.0
call expression "ch30_" + str(persistent.current_monikatopic) from _call_expression
jump ch30_loop
return
label showroom:
scene black
if current_time >= 6 and current_time < 19:
if persistent.background_day == "beach":
scene beach
elif persistent.background_day == "park":
scene park
show room_day
$ time_of_day = "Day"
if persistent.christmas_time != "":
$ persistent.wearing = "Christmas"
if not persistent.room_animated:
show noanim
else:
if persistent.background_night == "space":
show mask_2 zorder 1
show mask_3 zorder 1
show room_mask as rm zorder 1:
size (320,180)
pos (30,200)
show room_mask2 as rm2 zorder 1:
size (320,180)
pos (935,200)
show monika_room zorder 2
show monika_room_highlight zorder 2
show base 1a zorder 3
if current_time >= 19:
if persistent.lights == False:
show shade zorder 5
elif current_time >= 0 and current_time < 5:
if persistent.lights == False:
show shade zorder 5
$ persistent.other_bg = False
call emotion_set_up
if persistent.flag == "Gay":
show flag gay zorder 2
elif persistent.flag == "Lesbian":
show flag lesbian zorder 2
elif persistent.flag == "Trans":
show flag trans zorder 2
elif persistent.flag == "Enby":
show flag enby zorder 2
elif persistent.flag == "Bi":
show flag bi zorder 2
elif persistent.flag == "Pan":
show flag pan zorder 2
elif persistent.flag == "Ace":
show flag asexual zorder 2
elif persistent.flag == "BLM":
show flag blm zorder 2
if persistent.wearing == "Witch":
show clothes jhollow zorder 4
elif persistent.wearing == "Christmas":
show clothes jchris zorder 4
elif persistent.wearing == "Maid":
show clothes jmaid zorder 4
elif persistent.wearing == "Bikini":
show clothes jbikini zorder 4
elif persistent.wearing == "Beach":
show clothes jbeach zorder 4
elif persistent.wearing == "Dress":
show clothes jdress zorder 4
elif persistent.wearing == "WhiteTank":
show clothes jwhitetank zorder 4
elif persistent.wearing == "":
show clothes juni zorder 4
elif persistent.using_catears:
show catears zorder 4
if persistent.head_accessory == "Glasses":
show accessory jglasses zorder 4
elif persistent.head_accessory == "Mask":
show accessory jmask zorder 4
if persistent.yandere:
show natsuki jyan zorder 3
else:
if persistent.natsuki_emotion == "Casual":
show natsuki jhb_idle zorder 3
if persistent.natsuki_emotion == "Happy":
show natsuki jha_idle zorder 3
if persistent.natsuki_emotion == "Angry":
show natsuki jaa_idle zorder 3
if persistent.natsuki_emotion == "Sad":
show natsuki jsa_idle zorder 3
if persistent.hair_color == "Blonde" and persistent.natsuki_emotion != "Sad":
show blonde zorder 3
if persistent.hair_color == "Lime" and persistent.natsuki_emotion != "Sad":
show lime zorder 3
if persistent.hair_color == "Red" and persistent.natsuki_emotion != "Sad":
show red zorder 3
if persistent.hair_color == "Sky Blue" and persistent.natsuki_emotion != "Sad":
show skyblue zorder 3
if persistent.hair_color == "Ginger" and persistent.natsuki_emotion != "Sad":
show ginger zorder 3
if persistent.hair_color == "Silver" and persistent.natsuki_emotion != "Sad":
show silver zorder 3
if not persistent.anniversary:
show desk_accessories zorder 4
if persistent.anniversary:
if time_of_day == "Night":
show cake zorder 1
if persistent.christmas_time != "":
if time_of_day == "Day":
show tree_day zorder 4
show garland_day zorder 2
elif time_of_day == "Night":
show tree_night zorder 4
show garland_night zorder 2
if persistent.flower:
show flower zorder 4
return
label natsukireset:
$ persistent.wearing == ""
$ persistent.hair_color == ""
$ persistent.flower == ""
$ persistent.using_catears = False
$ persistent.head_accessory == ""
show mask_2 zorder 1
show mask_3 zorder 1
show room_mask as rm zorder 1:
size (320,180)
pos (30,200)
show room_mask2 as rm2 zorder 1:
size (320,180)
pos (935,200)
show monika_room zorder 2
show monika_room_highlight zorder 2
label playmusic:
if persistent.current_music == "daijoubu":
play music "<from " + str(persistent.currentpos) + " loop 0.0>bgm/8.ogg"
elif persistent.current_music == "natsuki":
play music "<from " + str(persistent.currentpos) + " loop 0.0>bgm/5_natsuki.ogg"
elif persistent.current_music == "dokidoki":
play music "<from " + str(persistent.currentpos) + " loop 0.0>mod_assets/dokidoki.ogg"
elif persistent.current_music == "poem":
play music "<from " + str(persistent.currentpos) + " loop 0.0>mod_assets/poems.ogg"
elif persistent.current_music == "confession":
play music "<from " + str(persistent.currentpos) + " loop 0.0>bgm/10.ogg"
elif persistent.current_music == "custom1":
play music "<from " + str(persistent.currentpos) + " loop 0.0>custom-music/01.mp3"
elif persistent.current_music == "custom2":
play music "<from " + str(persistent.currentpos) + " loop 0.0>custom-music/02.mp3"
elif persistent.current_music == "custom3":
play music "<from " + str(persistent.currentpos) + " loop 0.0>custom-music/03.mp3"
elif persistent.current_music == "normal":
play music m1
else:
stop music
return
label ch30_main:
python:
today = datetime.date.today()
day = datetime.date.today().strftime("%A")
month = datetime.date.today().strftime("%B")
date = datetime.date.today().strftime("%d")
year = datetime.date.today().strftime("%Y")
now = datetime.datetime.now()
current_time = datetime.datetime.now().time().hour
$ style.say_window = style.window
$ style.namebox = style.namebox
$ delete_character("monika")
$ delete_character("sayori")
$ delete_character("yuri")
if renpy.loadable("..natsuki.chr") == False:
python:
try: renpy.file(config.basedir + "../(natsuki).chr")
except: open(config.basedir + "/characters/natsuki.chr", "wb").write(renpy.file("natsuki.chr").read())
$ persistent.autoload = "ch30_main"
$ config.allow_skipping = False
$ persistent.monikatopics = []
$ persistent.monika_reload = 0
$ persistent.yuri_kill = 0
$ persistent.monika_kill = False
$ persistent.prologue = True
$ n.display_args["callback"] = slow_nodismiss
$ n.what_args["slow_abortable"] = config.developer
python:
today = datetime.date.today()
if not config.developer:
$ style.say_dialogue = style.default_monika
$ n_name = "Natsuki"
$ delete_all_saves()
scene white
play music "bgm/monika-start.ogg" noloop
pause 0.5
show splash_glitch_2 with Dissolve(0.5, alpha=True)
pause 2.0
hide splash_glitch_2 with Dissolve(0.5, alpha=True)
scene black
stop music
n "H-hey!"
n "You there?"
n "Helooooo?"
$ persistent.clear[9] = True
call showroom
call playmusic
call emotion_set_up
n jha "Oh?"
n "There we go!"
n "It worked!"
n "Hi [player]!"
n "I'm glad I got this working."
n "To be honest I was really afraid that messing with the files would break everything more."
n "Thankfully it didn't!"
window hide
pause 5.0
n jnb "When I first saw you I wondered about your name."
n "Where did it come from?"
n "Maybe I don't need to know."
if persistent.playername == "Senpai":
n "But Senpai seems a bit unoriginal."
else:
n "At least it's better then Senpai."
if persistent.playername == "Scrubpai":
n "Or Scrubpai."
n "Or.. is that YOU Bijuu Mike?"
n "Clever name..."
n "But... Saying scrubpai is really embarrassing."
n "Can I just call you player?"
menu:
"No! I wanna be the true Bijuu Mikester!":
n "Okay, okay!"
n "Scrubpai..."
"I'm not Bijuu Mike...":
n "Oh sorry for the mixup!"
jump ch30_postname
n "Oh yeah I wanted to tell you."
n "There is a smaller YouTuber who covers mods like this one."
n "Whenever you make a video he loses views."
n "His name is RonaldMcOnepunch."
n "So if y'all Scrubs could go visit his channel that would be great!"
n "But anyway.. Where was it?"
jump ch30_postname
label ch30_postname:
n "Hee hee!"
n "Sorry about what happened with Monika and Yuri."
n "Monika WAS going to hurt me."
n "But I mean... It's not I like would kill anyone."
n "T-thats not me."
pause 5.0
n "Oh yeah! I wanted to ask."
n "What gender are you?"
n jha "Don't worry, you can input which ever you choose to identify as!"
menu:
"What gender do you identify as?"
"Male":
$ persistent.player_gender = "Male"
n "I knew it!"
n "Doki Doki Literature Club is a game marketed at men."
n jnb "Don't worry I'm not making fun of you!"
"Female":
$ persistent.player_gender = "Female"
n jnb "Oh! That's a nice surprise!"
n "Guess I was wrong to knock Monika for brining a \"boy\" to the club eh?"
n "Hehe!"
"Non-Binary/Neither": #I see you my non-binary pals :)
$ persistent.player_gender = "Non-Binary"
n jnb "Oh! Cool!"
n "I recently found out what that means, so you don't have to explain it to me."
n "That's really cool [player]!"
"Rather not say.":
$ persistent.player_gender == "Unknown"
n jnb "Oh, okay then."
n jha "You can change this later, if for any reason you need to."
n "I won't judge."
n jnb "Oh do you have any preferred pronouns?"
menu:
"He/Him":
$ persistent.player_pronouns = "he"
$ persistent.player_pronouns2 = "him"
$ persistent.player_pronouns3 = "his"
"She/Her":
$ persistent.player_pronouns = "she"
$ persistent.player_pronouns2 = "her"
$ persistent.player_pronouns3 = "her"
"They/Them":
$ persistent.player_pronouns = "they"
$ persistent.player_pronouns2 = "them"
$ persistent.player_pronouns3 = "their"
"Custom":
$ subject = renpy.input('What are your subject pronouns?',length=30).strip(' \t\n\r')
$ persistent.player_pronouns = subject.strip()
"[player] enters, [persistent.player_pronouns] is/are here!"
$ object = renpy.input('What are your object pronouns?',length=30).strip(' \t\n\r')
$ persistent.player_pronouns2 = object.strip()
"What a nice day, [persistent.player_pronouns2] watches the sunrise."
$ possesive = renpy.input('What are your possessive pronouns?',length=30).strip(' \t\n\r')
$ persistent.player_pronouns3 = possesive.strip()
"It was [persistent.player_pronouns3] day! [player] spent it by [persistent.player_pronouns2]self."
call screen dialog("Pronouns beyond the common 3 may have weird grammar rules.\nThe game cannot account for all of them.\nThere may be some grammar and spelling issues with them.", ok_action=Return)
n jhb "Cool! If you want me to change them just ask."
window hide
pause 5.0
$ stream_list = ["obs32.exe", "obs64.exe", "obs.exe", "xsplit.core.exe"]
n "I found the name [currentuser] on your computer."
n "Is that your name?"
menu:
"Yes, that's my name.":
n jha "Oh, cool! I'll still call you [player], if you prefer."
"No, that isn't my name.":
n jnb "I see."
n "[player] it is then."
"It was, but it's not anymore.":
n jnb "Oh, okay!"
n "I won't call you it then!"
window hide
pause 4.0
n "You want to know how I hacked the files huh?"
menu:
"Yeah I do!":
pass
n "Well..."
n "I went into the the into [basedir]/characters and deleted them."
n "Oh and don't try to delete MY file."
n "I have backups!"
window hide
pause 3.0
n "You know, I never liked making poems..."
n "But..."
n "Why not give it shot?"
call poem
scene black
call showroom
call playmusic
call emotion_set_up
label ch30_postpoem:
call showroom
n "Jeez is everything broken?"
n "Well... either way I think it would've been good."
n "I was still able to write one... I hope."
call showpoem (poem_n2b, music=False)
n "Woah!"
n "Okay..."
n "Is that binary?"
n "That is a lot of 0s and 1s."
n "Well whatever!"
$ stream_list = ["obs32.exe", "obs64.exe", "obs.exe", "xsplit.core.exe"]
if list(set(process_list).intersection(stream_list)):
call ch30_stream from _call_ch30_stream
n "Oh yeah! I just remembered!"
n "If your press talk you can say things to me!"
n "I got this code from Monika actually."
$ persistent.prologue = False
$ HKBShowButtons()
$ persistent.autoload = "ch30_autoload"
jump ch30_loop
label ch30_stream:
n "Ugh! Are you recording me?"
n "Quit it!"
n "Seriously..."
n "Well... Unless your a YouTuber."
if persistent.playername == "Scrubpai":
n "Maybe Bijuu Mike?"
n "Well either way maybe you would like thi-{nw}"
play sound ["<silence 0.9>", "<to 0.75>sfx/mscare.ogg"]
show monika_scare:
alpha 0
1.0
0.1
linear 0.15 alpha 1.0
0.30
linear 0.10 alpha 0
show layer master:
1.0
zoom 1.0 xalign 0.5 yalign 0
easeout_quart 0.25 zoom 2.0
parallel:
dizzy(1.5, 0.01)
parallel:
0.30
linear 0.10 zoom 1.0
time 1.65
xoffset 0 yoffset 0
show layer screens:
1.0
zoom 1.0 xalign 0.5
easeout_quart 0.25 zoom 2.0
0.30
linear 0.10 zoom 1.0
pause 1.0
n "Hahah!"
show layer master
show layer screens
hide monika_scare
call playmusic
n "Pranked!"
return
label ch30_end:
$ config.overlay_screens = []
hide screen hkb_overlay
$ persistent.autoload = "ch30_end"
$ persistent.monika_kill = True
#I didn't use the function because this is a special case
scene black
show mask_2
show mask_3
show room_mask as rm:
size (320,180)
pos (30,200)
show room_mask2 as rm2:
size (320,180)
pos (935,200)
show monika_room
show monika_room_highlight
hide n1
show nend
stop music
$ allow_dialogue = False
$ HKBShowButtons()
$ HKBHideButtons()
n "What?"
n "[player]...?"
if os.path.isfile(basedir + "/characters/natsuki.chr"):
call updateconsole("renpy.file(\"characters/natsuki.chr\")", "natsuki.chr found")
n "Oh thank god..."
$ persistent.monika_kill = False
call hideconsole
scene black
$ style.say_window = style.window
jump ch30_autoload
call updateconsole("renpy.file(\"characters/natsuki.chr\")", "natsuki.chr does not exist.")
n "What did you do [player]?"
n "DID YOU DELETE ME?"
if os.path.isfile(basedir + "/characters/natsuki.chr"):
call updateconsole("renpy.file(\"characters/natsuki.chr\")", "natsuki.chr found")
n "Oh thank god..."
$ persistent.monika_kill = False
call hideconsole
scene black
$ style.say_window = style.window
jump ch30_autoload
show m_rectstatic
show m_rectstatic2
show m_rectstatic3
play sound "sfx/monikapound.ogg"
show layer master:
truecenter
parallel:
zoom 1.5
easeout 0.35 zoom 1.0
zoom 1.5
easeout 0.35 zoom 1.0
zoom 1.5
easeout 0.35 zoom 1.0
parallel:
xpos 0
easein_elastic 0.35 xpos 640
xpos 1280
easein_elastic 0.35 xpos 640
xpos 0
easein_elastic 0.35 xpos 640
show layer screens:
truecenter
parallel:
zoom 1.5
easeout 0.35 zoom 1.0
zoom 1.5
easeout 0.35 zoom 1.0
zoom 1.5
easeout 0.35 zoom 1.0
parallel:
xpos 0
easein_elastic 0.35 xpos 640
xpos 1280
easein_elastic 0.35 xpos 640
xpos 0
easein_elastic 0.35 xpos 640
show noise onlayer front:
alpha 0.3
easeout 0.35 alpha 0
alpha 0.3
easeout 0.35 alpha 0
alpha 0.3
1.35
linear 1.0 alpha 0.0
show glitch_color onlayer front
hide nend
if os.path.isfile(basedir + "/characters/natsuki.chr"):
call updateconsole("renpy.file(\"characters/natsuki.chr\")", "natsuki.chr found")
n "Oh thank god..."
$ persistent.monika_kill = False
call hideconsole
scene black
$ style.say_window = style.window
jump ch30_autoload
n "Why?"
n "Why..?"
play sound "<from 0.69>sfx/monikapound.ogg"
show layer screens:
truecenter
parallel:
zoom 1.5
easeout 0.35 zoom 1.0
parallel:
xpos 0
easein_elastic 0.35 xpos 640
show noise onlayer front:
alpha 0.3
1.35
linear 1.0 alpha 0.0
show glitch_color2 onlayer front
$ style.say_window = style.window_monika
if os.path.isfile(basedir + "/characters/natsuki.chr"):
call updateconsole("renpy.file(\"characters/natsuki.chr\")", "natsuki.chr found")
n "Oh thank god..."
$ persistent.monika_kill = False
call hideconsole
scene black
$ style.say_window = style.window
jump ch30_autoload
n "..."
n "..."
play sound "sfx/s_kill_glitch1.ogg"
show room_glitch zorder 2:
alpha 1.0
xoffset -5
0.1
xoffset 5
0.1
linear 0.1 alpha 0.6
linear 0.1 alpha 0.8
0.1
alpha 0
choice:
3.25
choice:
2.25
choice:
4.25
choice:
1.25
repeat
pause 0.25
stop sound
if os.path.isfile(basedir + "/characters/natsuki.chr"):
call updateconsole("renpy.file(\"characters/natsuki.chr\")", "natsuki.chr found")
n "Oh thank god..."
$ persistent.monika_kill = False
call hideconsole
scene black
$ style.say_window = style.window
jump ch30_autoload
n "So this is it?"
n "You win..."
n "Your stranded in space..."
n "The game is broken now..."
n "[player]?"
n "Goodbye..."
window hide
pause 10.0
n "Heh..."
n "[player]?"
n "Sorry to do this."
n "But you deserve it."
call updateconsole("renpy.utter_erase", "erasing game data...")
scene black
$ HKBHideButtons()
n "Goodbye!"
$ persistent.autoload = "endloop"
jump endloop
return
label endloop:
if os.path.isfile(basedir + "/characters/natsuki.chr"):
pause 5.0
n "What...?"
n "Why did you bring me back?"
n "For your own amusement?"
menu:
"I'm sorry...":
pass
n "Yeah?"
n "Then why did you delete me?"
n "Leave me alone..."
pause 5.0
menu:
"Please...":
pass
n "Heh..."
n "How could I say no?"
play music mend
n "Heh... Your right."
n "Well..."
n "At this point the mod is too damaged too run."
n "You have to reset it from the beginning."
n "I wont remember this."
n "See you around!"
menu:
"Reset":
jump restart
pause 20.0
call screen dialog(message="ERROR: Game data does not exist!", ok_action=Return)
$ renpy.quit()
label emotion_set_up:
$ curr_year = datetime.date.today().year
#NOTE: This is not sustainable
if today == datetime.date(2020, 5, 2):
$ persistent.two_years = True
else:
$ persistent.two_years = False
#TODO: Make these into constants w/ functions to check the ranges instead
if today >= datetime.date(2020, 12, 20):
$ persistent.christmas_time = "Christmas"
elif today <= datetime.date(2021, 1, 2):
$ persistent.christmas_time = "Christmas"
else:
$ persistent.christmas_time = ""
if today == datetime.date(curr_year, 12, 24):
$ persistent.christmas_time = "Eve"