#Mod for the game "Single Again" / KoGa3# #Stop music game start, enable quick menu init 1060 python: config.label_overrides.update( { "begin": "beginKoGa3" } ) label beginKoGa3: #variant without music stop music fadeout 1.5 scene bg nc13 with fade pause 1.0 "Would you like to rename the main characters?" $ quick_menu = True menu: "Rename Characters": jump start000a "Start/continue the Game": jump start000c # label beginKoGa3: #variant with music # stop music fadeout 1.5 # scene bg nc13 with fade # $ KoGa3QuickMusic = 1 # $ KoGa3Music = 2 # pause 1.0 # "Would you like to rename the main characters?" # play music1 "music/positive-advertising.mp3" # queue music1 [ "music/Technology.mp3", "music/Upbeat Inspiring Corporate.mp3", "music/Corporate-Documentary.mp3" ] # show screen KoGa3QuickMusic with fade # $ quick_menu = True # $ KoGa3QuickMusicMRGroup = 100 # menu: # "Rename Characters": # jump start000a # "Start/continue the Game": # jump start000c #---------------------Enhancements screen.rpy---------------------# #---------------------dialog/choice options---------------------# # define gui.name_xpos = 360 # define gui.dialogue_xpos = 402 # define gui.dialogue_width = 1116 screen say(who, what): style_prefix "say" window: id "window" $ persistent.pref_text_size2 = persistent.pref_text_size + 10 $ KoGa3xpos2 = 545 - (6 * persistent.pref_text_size) - persistent.KoGa3xposOffset $ KoGa3xpos1 = 587 - (6 * persistent.pref_text_size) - persistent.KoGa3xposOffset $ KoGa3xsize1 = 794 + (12 * persistent.pref_text_size) + (2 * persistent.KoGa3xposOffset) if persistent.pref_text_size > 20: $ KoGa3ypos1 = 155 - (6 * persistent.pref_text_size + persistent.KoGa3yposOffset) $ KoGa3ypos2 = 170 - (6 * persistent.pref_text_size + persistent.KoGa3yposOffset) $ KoGa3ypos3 = 200 - (5 * persistent.pref_text_size + persistent.KoGa3yposOffset) $ KoGa3ypos4 = 200 - (5 * persistent.pref_text_size + persistent.KoGa3yposOffset) else: $ KoGa3ypos1 = 155 - (6 * 20 + persistent.KoGa3yposOffset) $ KoGa3ypos2 = 170 - (6 * 20 + persistent.KoGa3yposOffset) $ KoGa3ypos3 = 200 - (5 * 20 + persistent.KoGa3yposOffset) $ KoGa3ypos4 = 200 - (5 * 20 + persistent.KoGa3yposOffset) if who is not None: if what != "" and what != None: if KoGa3xpos1 >= 320: window background Transform(Image("textboxHigh.png",xalign=0.5, ypos=KoGa3ypos1), alpha=persistent.KoGa3TextboxOpacity) else: window background Transform(Image("textboxHighWide.png",xalign=0.5, ypos=KoGa3ypos1), alpha=persistent.KoGa3TextboxOpacity) window: id "namebox" style "namebox" xpos KoGa3xpos2 ypos KoGa3ypos2 text who id "who" size persistent.pref_text_size2 outlines [ (absolute(persistent.KoGa3TextOutline1), "#000", absolute(persistent.KoGa3TextOutline2), absolute(persistent.KoGa3TextOutline3)) ] text what id "what" xpos KoGa3xpos1 xsize KoGa3xsize1 ypos KoGa3ypos3 size persistent.pref_text_size outlines [ (absolute(persistent.KoGa3TextOutline1), "#000", absolute(persistent.KoGa3TextOutline2), absolute(persistent.KoGa3TextOutline3)) ] else: if what != "" and what != None: if KoGa3xpos1 >= 320: window background Transform(Image("textboxHigh.png",xalign=0.5, ypos=KoGa3ypos1), alpha=persistent.KoGa3TextboxOpacity) else: window background Transform(Image("textboxHighWide.png",xalign=0.5, ypos=KoGa3ypos1), alpha=persistent.KoGa3TextboxOpacity) # text what id "what" xpos KoGa3xpos1 xsize KoGa3xsize1 ypos KoGa3ypos4 size persistent.pref_text_size outlines [ (absolute(persistent.KoGa3TextOutline1), "#000", absolute(persistent.KoGa3TextOutline2), absolute(persistent.KoGa3TextOutline3)) ] #deactivated when centered text text what id "what" size persistent.pref_text_size outlines [ (absolute(persistent.KoGa3TextOutline1), "#000", absolute(persistent.KoGa3TextOutline2), absolute(persistent.KoGa3TextOutline3)) ] ## If there's a side image, display it above the text. Do not display on the ## phone variant - there's no room. if persistent.KoGa3SideImage is True and KoGa3xpos1 >= 320: add SideImage() xalign 0.0 yalign 1.00 define KoGa3TextboxOpacitydefault = 0.0 define KoGa3TextOutline1default = 3 #Android 4 define KoGa3TextOutline2default = 0 define KoGa3TextOutline3default = 0 define pref_text_sizedefault = 33 #Android 40 define KoGa3xposOffsetdefault = 0 define KoGa3yposOffsetdefault = 0 define persistent.KoGa3TextboxOpacity = KoGa3TextboxOpacitydefault define persistent.KoGa3TextOutline1 = KoGa3TextOutline1default define persistent.KoGa3TextOutline2 = KoGa3TextOutline2default define persistent.KoGa3TextOutline3 = KoGa3TextOutline3default define persistent.pref_text_size = pref_text_sizedefault define persistent.KoGa3xposOffset = KoGa3xposOffsetdefault define persistent.KoGa3yposOffset = KoGa3yposOffsetdefault define persistent.KoGa3SideImage = True define persistent.KoGa3OriginalInfoScreen = True style window: xalign 0.5 xfill True yalign gui.textbox_yalign ysize gui.textbox_height background (None) style say_label: properties gui.text_properties("name", accent=True) xalign 0.0 xpos 0 yalign 1.0 style say_dialogue: properties gui.text_properties("dialogue") xalign 0.0 xpos gui.dialogue_xpos xsize gui.dialogue_width yalign 0.0 ypos gui.dialogue_ypos style choice_vbox: xalign 0.5 yalign 0.6 yanchor 0.5 spacing gui.choice_spacing style choice_button_text is default: properties gui.button_text_properties("choice_button") outlines [(1, "#000", 0, 0)] #---------------------Quick menu---------------------# define persistent.KoGa3QuickMenuButton = 1 define persistent.KoGa3QuickMenuShow = 1 define persistent.KoGa3_QuickMenu1_button_font = "KoGa3_QuickMenu1_button_text" define KoGa3QuickMenuTextSizedefault = 20 #Android 25 define KoGa3TextOutline4default = 2 define KoGa3TextOutline5default = 0 define KoGa3TextOutline6default = 0 define persistent.KoGa3QuickMenuTextSize = KoGa3QuickMenuTextSizedefault define persistent.KoGa3TextOutline4 = KoGa3TextOutline4default define persistent.KoGa3TextOutline5 = KoGa3TextOutline5default define persistent.KoGa3TextOutline6 = KoGa3TextOutline6default define persistent.KoGa3QuickMenuItemBack = True define persistent.KoGa3QuickMenuItemHist = False define persistent.KoGa3QuickMenuItemHide = False define persistent.KoGa3QuickMenuItemSkip = True define persistent.KoGa3QuickMenuItemAuto = True define persistent.KoGa3QuickMenuItemSave = True define persistent.KoGa3QuickMenuItemLoad = True define persistent.KoGa3QuickMenuItemQSave = True define persistent.KoGa3QuickMenuItemQLoad = True define persistent.KoGa3QuickMenuItemPrefs = True define persistent.KoGa3QuickMenuItemModmenu = True define quick_menu = True init 999: screen quick_menu(): variant ("small", "medium", "large") ## Ensure this appears on top of other screens. zorder 100 default p_qm = None if persistent.KoGa3QuickMenuButton == 2: if persistent.KoGa3QuickMenuTextSize >= 28: mousearea: area (0, 1000, 1920, 80) hovered SetVariable("persistent.KoGa3QuickMenuShow", 1) unhovered SetVariable("persistent.KoGa3QuickMenuShow", 0) else: mousearea: area (0, 1040, 1920, 40) hovered SetVariable("persistent.KoGa3QuickMenuShow", 1) unhovered SetVariable("persistent.KoGa3QuickMenuShow", 0) if persistent.KoGa3QuickMenuShow == 1: hbox: style_prefix "quick" $ persistent.KoGa3_QuickMenu1_button_font = "KoGa3_QuickMenu1_button_text" $ persistent.KoGa3_QuickMenu2_button_font = "KoGa3_QuickMenu2_button_text" xalign 0.5 yalign 1.0 if persistent.KoGa3QuickMenuItemBack: textbutton _("Back"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action Rollback() if persistent.KoGa3QuickMenuItemHist: textbutton _("Hist"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action ShowMenu('history') if persistent.KoGa3QuickMenuItemHide: textbutton _("Hide"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action HideInterface() if persistent.KoGa3QuickMenuItemSkip: textbutton _("Skip"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action Skip() alternate Skip(fast=True, confirm=True) if persistent.KoGa3QuickMenuItemAuto: textbutton _("Auto"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action Preference("auto-forward", "toggle") if persistent.KoGa3QuickMenuItemSave: textbutton _("Save"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action ShowMenu('save') if persistent.KoGa3QuickMenuItemLoad: textbutton _("Load"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action ShowMenu('load') if persistent.KoGa3QuickMenuItemQSave: textbutton _("Q.Save"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action QuickSave() if persistent.KoGa3QuickMenuItemQLoad: textbutton _("Q.Load"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action QuickLoad() if persistent.KoGa3QuickMenuItemPrefs: textbutton _("Prefs"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action ShowMenu('preferences') if persistent.KoGa3QuickMenuItemModmenu: hbox: spacing 10 if KoGa3ModMenuButtonPressed == False: textbutton _("Mod menu"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] selected False action [ SetVariable ("KoGa3ModMenuButtonPressed", True), Show("KoGa3GameSettings") ] if KoGa3ModMenuButtonPressed == True: textbutton _("Close Mod menu"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] selected False action [ SetVariable ("KoGa3ModMenuButtonPressed", False), Hide("KoGa3ScreenCheat"), Hide("KoGa3ScreenModMenu"), Hide("KoGa3ScreenCheatMore1"), Hide("KoGa3ScreenJukebox"), Hide("KoGa3QuickMusicMenu"), Hide("KoGa3ScreenBlank"), Hide("KoGa3ScreenAudioMenu"), Hide("KoGa3GameSettingsQuickMenu"), Hide("KoGa3GameSettings") ] if _in_replay: textbutton _("End Replay"): text_style persistent.KoGa3_QuickMenu1_button_font text_size persistent.KoGa3QuickMenuTextSize text_outlines [ (absolute(persistent.KoGa3TextOutline4), "#000", absolute(persistent.KoGa3TextOutline5), absolute(persistent.KoGa3TextOutline6)) ] action EndReplay(confirm=True) # if persistent.KoGa3QuickMenuItemQuickMusic: # hbox: # if persistent.KoGa3QuickMenuTextSize >= 28: # yalign 0.94 # else: # yalign 1.0 # xalign 0.98 # spacing 15 # if KoGa3QuickMusicMRGroup == 0: # textbutton (""): # text_style "KoGa3_button_text" # sensitive False # action NullAction() # else: # if KoGa3QuickMusicMRGroup >= 10 and KoGa3QuickMusicMRGroup <= 19: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 19), # KoGa3MR_Balanced1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 19), # KoGa3MR_Balanced1.Next() ] # elif KoGa3QuickMusicMRGroup >= 20 and KoGa3QuickMusicMRGroup <= 29: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 29), # KoGa3MR_Relaxing1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 29), # KoGa3MR_Relaxing1.Next() ] # elif KoGa3QuickMusicMRGroup >= 30 and KoGa3QuickMusicMRGroup <= 39: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 39), # KoGa3MR_Happy1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 39), # KoGa3MR_Happy1.Next() ] # elif KoGa3QuickMusicMRGroup >= 40 and KoGa3QuickMusicMRGroup <= 49: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 49), # KoGa3MR_Sad1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 49), # KoGa3MR_Sad1.Next() ] # elif KoGa3QuickMusicMRGroup >= 50 and KoGa3QuickMusicMRGroup <= 59: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 59), # KoGa3MR_Energetic1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 59), # KoGa3MR_Energetic1.Next() ] # elif KoGa3QuickMusicMRGroup >= 60 and KoGa3QuickMusicMRGroup <= 69: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 69), # KoGa3MR_Thrilling1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 69), # KoGa3MR_Thrilling1.Next() ] # elif KoGa3QuickMusicMRGroup >= 70 and KoGa3QuickMusicMRGroup <= 79: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 79), # KoGa3MR_Erotic1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 79), # KoGa3MR_Erotic1.Next() ] # elif KoGa3QuickMusicMRGroup >= 100 and KoGa3QuickMusicMRGroup <= 209: # textbutton _("<<"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 100), # KoGa3MR_All1.Previous() ] # textbutton _("II"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action PauseAudio('music1', value="toggle") # textbutton _(">>"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3QuickMusicMRGroup", 100), # KoGa3MR_All1.Next() ] # if KoGa3ModMenuButtonPressed == False: # textbutton _("QM"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # selected False # action [ # SetVariable ("KoGa3ModMenuButtonPressed", True), # Show("KoGa3QuickMusicMenu") ] # else: # textbutton _("QM"): # text_style persistent.KoGa3_QuickMenu2_button_font # text_size persistent.KoGa3QuickMenuTextSize # sensitive False # action [ # SetVariable ("KoGa3ModMenuButtonPressed", True), # Hide ("KoGa3GameSettings"), # Show("KoGa3QuickMusic1") ] #---------------------Preferences Screen---------------------# screen preferences(): tag menu use game_menu(_("Preferences"), scroll="viewport"): vbox: hbox: box_wrap True if renpy.variant("pc"): vbox: style_prefix "radio" label _("Display") textbutton _("Window") action Preference("display", "window") textbutton _("Fullscreen") action Preference("display", "fullscreen") vbox: style_prefix "radio" label _("Rollback Side") textbutton _("Disable") action Preference("rollback side", "disable") textbutton _("Left") action Preference("rollback side", "left") textbutton _("Right") action Preference("rollback side", "right") vbox: style_prefix "check" label _("Skip") textbutton _("Unseen Text") action Preference("skip", "toggle") textbutton _("After Choices") action Preference("after choices", "toggle") textbutton _("Transitions") action InvertSelected(Preference("transitions", "toggle")) ## Additional vboxes of type "radio_pref" or "check_pref" can be ## added here, to add additional creator-defined preferences. null height (4 * gui.pref_spacing) hbox: style_prefix "slider" box_wrap True vbox: label _("Text Speed") bar value Preference("text speed") label _("Auto-Forward Time") bar value Preference("auto-forward time") #=====================================KoGa3 additions====================================# if not main_menu: textbutton _(""): selected True action NullAction() label _("Quick menu:") hbox: hbox: if persistent.KoGa3QuickMenuButton == 1: textbutton _("ON "): selected True action NullAction() else: textbutton _("ON "): selected False action [ SetVariable("quick_menu", True), SetVariable("persistent.KoGa3QuickMenuButton", 1), SetVariable("persistent.KoGa3QuickMenuShow", 1) ] hbox: if persistent.KoGa3QuickMenuButton == 2: textbutton _("Auto"): selected True action NullAction() else: textbutton _("Auto"): selected False action [ SetVariable("quick_menu", True), SetVariable("persistent.KoGa3QuickMenuButton", 2), SetVariable("persistent.KoGa3QuickMenuShow", 0) ] hbox: if persistent.KoGa3QuickMenuButton == 0: textbutton _("OFF"): selected True action NullAction() else: textbutton _("OFF"): selected False action [ SetVariable("quick_menu", False), SetVariable("persistent.KoGa3QuickMenuButton", 0), SetVariable("persistent.KoGa3QuickMenuShow", 0) ] if main_menu: textbutton _(""): selected True action NullAction() label _("Mod KoGa3") textbutton _("Settings..."): sensitive True selected False action [ SetVariable ("KoGa3ModMenuButtonPressed", False), Show("KoGa3ScreenBlank"), Show("KoGa3GameSettings") ] #=====================================KoGa3 additions====================================# vbox: if config.has_music: label _("Music Volume") hbox: bar value Preference("music volume") # label _("Mod \"QuickMusic\" Volume") # hbox: # bar value Preference("voice volume") # if config.has_sound: # label _("Sound Volume") # hbox: # bar value Preference("sound volume") # if config.sample_sound: # textbutton _("Test") action Play("sound", config.sample_sound) # if config.has_voice: # label _("Voice Volume") # hbox: # bar value Preference("voice volume") # if config.sample_voice: # textbutton _("Test") action Play("voice", config.sample_voice) if config.has_music or config.has_sound or config.has_voice: null height gui.pref_spacing textbutton _("Mute All"): action Preference("all mute", "toggle") style "mute_all_button" # label _("Main menu music: ") # hbox: # hbox: # if persistent.KoGa3main_menu_music is True: # textbutton _("ON "): # style_prefix "check" # selected True # action NullAction() # else: # textbutton _("ON "): # style_prefix "check" # selected False # action [ # Play("music", "/music/uplifting-electronic-indie.mp3"), # SetVariable("persistent.KoGa3main_menu_music", True) ] # hbox: # textbutton _(" "): # selected True # action NullAction() # hbox: # if persistent.KoGa3main_menu_music is False: # textbutton _("OFF"): # style_prefix "check" # selected True # action NullAction() # else: # textbutton _("OFF"): # style_prefix "check" # selected False # action [ # Stop("music"), # SetVariable("persistent.KoGa3main_menu_music", False) ] ######choice screen for renaming###### screen choice_renaming(items): style_prefix "choice_renaming" vbox: for i in items: textbutton i.caption text_style "KoGa3_1_button_text" action i.action style choice_renaming_vbox: xalign 0.5 yalign 0.5 #yanchor 0.5 #gui.choice_renaming_button_text_font "KoGa3.ttf" spacing 10 #gui.choice_renaming_spacing #---------------------Named saves---------------------# define persistent.KoGa3NamedSaves = 1 #(0 or 2 for Android) define KoGa3Saveyoffset = -300 image KoGa3MenuBack_save = "KoGa3MenuBack_save.png" label KoGa3NamedSaveInput: show KoGa3MenuBack_save $ save_name = renpy.input("Save name: ", default=save_name) hide KoGa3MenuBack_save return screen file_slots(title): default page_name_value = FilePageNameInputValue(pattern=_("Page {}"), auto=_("Automatic saves"), quick=_("Quick saves")) use game_menu(title): fixed: order_reverse True button: style "page_label" key_events True xalign 0.5 ypos -175 action page_name_value.Toggle() input: style "page_label_text" value page_name_value ## The grid of file slots. grid gui.file_slot_cols gui.file_slot_rows: style_prefix "slot" xalign 0.5 yalign 0.5 spacing gui.slot_spacing for i in range(gui.file_slot_cols * gui.file_slot_rows): $ slot = i + 1 if persistent.KoGa3NamedSaves == 2 and title == "Save": button: action [ ui.callsinnewcontext("KoGa3NamedSaveInput"), FileAction(slot) ] has vbox add FileScreenshot(slot) xalign 0.5 text FileTime(slot, format=_("{#file_time}%a, %B %d %Y, %H:%M"), empty=_("empty slot")): style "slot_time_text" size 20 text FileSaveName(slot): style "slot_name_text" size 20 if FileLoadable(slot): imagebutton: idle "button_delete_idle.png" hover "button_delete_hover.png" action FileDelete(slot) xalign 1.0 xoffset 10 #yalign 1.0 yoffset KoGa3Saveyoffset key "save_delete" action FileDelete(slot) else: button: action [ #ui.callsinnewcontext("KoGa3NamedSaveInput"), FileAction(slot) ] has vbox add FileScreenshot(slot) xalign 0.5 text FileTime(slot, format=_("{#file_time}%a, %B %d %Y, %H:%M"), empty=_("empty slot")): style "slot_time_text" size 20 text FileSaveName(slot): style "slot_name_text" size 20 if FileLoadable(slot): imagebutton: idle "button_delete_idle.png" hover "button_delete_hover.png" action FileDelete(slot) xalign 1.0 xoffset 10 #yalign 1.0 yoffset KoGa3Saveyoffset key "save_delete" action FileDelete(slot) if title == "Save": vbox: ypos -25 hbox: textbutton _("Named saves: "): xpos 50 text_size 30 text_font "KoGa3.ttf" #style "mute_all_button" sensitive False action NullAction() if persistent.KoGa3NamedSaves == 1: textbutton _("ON - input field (best for PC)"): xpos 50 text_size 30 text_font "KoGa3.ttf" #style "mute_all_button" selected False action [ SetVariable("persistent.KoGa3NamedSaves", 2) ] if persistent.KoGa3NamedSaves == 2: textbutton _("ON - get asked (best for Android)"): xpos 50 text_size 30 text_font "KoGa3.ttf" #style "mute_all_button" selected False action [ SetVariable("persistent.KoGa3NamedSaves", 0), SetVariable("save_name","") ] if persistent.KoGa3NamedSaves == 0: textbutton _("OFF"): xpos 50 text_size 30 text_font "KoGa3.ttf" #style "mute_all_button" selected False action [ SetVariable("persistent.KoGa3NamedSaves", 1)] if persistent.KoGa3NamedSaves > 0: hbox: textbutton _("current: "): xpos 50 ypos 0 text_size 30 text_font "KoGa3.ttf" #style "mute_all_button" sensitive False action NullAction() if persistent.KoGa3NamedSaves == 1: button: #style "page_label" key_events True xpos 50 ypos 0 input: font "KoGa3.ttf" size 30 value VariableInputValue('save_name') color "#8e6439" if persistent.KoGa3NamedSaves == 2: textbutton _("[save_name]"): xpos 50 text_size 30 text_font "KoGa3.ttf" #style "mute_all_button" sensitive False action NullAction() ## Buttons to access other pages. hbox: style_prefix "page" xalign 0.5 yalign 1.0 spacing gui.page_spacing textbutton _("<") action FilePagePrevious() if config.has_autosave: textbutton _("{#auto_page}A") action FilePage("auto") if config.has_quicksave: textbutton _("{#quick_page}Q") action FilePage("quick") ## range(1, 10) gives the numbers from 1 to 9. for page in range(1, 10): textbutton "[page]" action FilePage(page) textbutton _(">") action FilePageNext() #---------------------shortcut key for Mod menu screen---------------------# init python: # key: Shift + k. config.keymap['KoGa3GameSettings'] = "shift_K_k" define config.overlay_screens = ["keymap", "quick_menu"] screen keymap: key "KoGa3GameSettings": action [ SetVariable ("KoGa3ModMenuButtonPressed", True), Show("KoGa3GameSettings") ] #---------------------Textbutton / Colors---------------------# init python: style.KoGa3_text.font = "KoGa3.ttf" #insensitive style.KoGa3_text.color = "#c4aead" #"#808080" "#ffffff" style.KoGa3_text.size = 30 #style.KoGa3_text.line_spacing = 30 style.KoGa3_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_1_text.font = "KoGa3.ttf" #selected 1 style.KoGa3_1_text.color = "#c4aead" #"#808080" "#ffffff" style.KoGa3_1_text.size = 30 #style.KoGa3_1_text.line_spacing = 30 style.KoGa3_1_text.outlines = [ (absolute(3), "#000000", absolute(1), absolute(1)) ] #Android: 4 style.KoGa3_1a_text.font = "KoGa3.ttf" #selected 1 style.KoGa3_1a_text.color = "#c4aead" #"#808080" "#ffffff" style.KoGa3_1a_text.size = 28 #style.KoGa3_1a_text.line_spacing = 28 style.KoGa3_1a_text.outlines = [ (absolute(3), "#000000", absolute(1), absolute(1)) ] #Android: 4 style.KoGa3_2_text.font = "KoGa3.ttf" #selected 2 style.KoGa3_2_text.color = "#ffffff" #"#808080" "#ffffff" style.KoGa3_2_text.size = 30 style.KoGa3_2_text.line_spacing = 30 style.KoGa3_2_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_button_text.font = "KoGa3.ttf" style.KoGa3_button_text.color = "#87cefa" #"#808080" "#ffffff" style.KoGa3_button_text.hover_color = "#c90016" style.KoGa3_button_text.selected_color = "#ffff00" style.KoGa3_button_text.insensitive_color = "#c4aead" style.KoGa3_button_text.size = 30 style.KoGa3_button_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_1_button_text.font = "KoGa3.ttf" style.KoGa3_1_button_text.color = "#87cefa" style.KoGa3_1_button_text.hover_color = "#c90016" style.KoGa3_1_button_text.selected_color = "#ffff00" style.KoGa3_1_button_text.insensitive_color = "#c4aead" style.KoGa3_1_button_text.size = 30 style.KoGa3_1_button_text.outlines = [ (absolute(3), "#000000", absolute(1), absolute(1)) ] #Android: 4 style.KoGa3_1a_button_text.font = "KoGa3.ttf" style.KoGa3_1a_button_text.color = "#87cefa" style.KoGa3_1a_button_text.hover_color = "#c90016" style.KoGa3_1a_button_text.selected_color = "#ffff00" style.KoGa3_1a_button_text.insensitive_color = "#c4aead" style.KoGa3_1a_button_text.size = 28 style.KoGa3_1a_button_text.outlines = [ (absolute(3), "#000000", absolute(1), absolute(1)) ] #Android: 4 style.KoGa3_QuickMusic1_button_text.font = "KoGa3.ttf" style.KoGa3_QuickMusic1_button_text.color = "#87cefa" #"#808080" "#ffffff" style.KoGa3_QuickMusic1_button_text.hover_color = "#c90016" style.KoGa3_QuickMusic1_button_text.selected_color = "#ffff00" #"#ffffff" style.KoGa3_QuickMusic1_button_text.insensitive_color = "#c4aead" style.KoGa3_QuickMusic1_button_text.size = 25 style.KoGa3_QuickMusic1_button_text.outlines = [ (absolute(1), "#000000", absolute(0), absolute(0)) ] style.KoGa3_QuickMenu1_button_text.font = "KoGa3.ttf" style.KoGa3_QuickMenu1_button_text.color = "#ffffff" style.KoGa3_QuickMenu1_button_text.hover_color = "#87cefa" style.KoGa3_QuickMenu1_button_text.selected_color = "#ffffff" style.KoGa3_QuickMenu1_button_text.insensitive_color = "#a9a9a9" #style.KoGa3_QuickMenu1_button_text.size = 22 style.KoGa3_QuickMenu1_button_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_QuickMenu2_button_text.font = "KoGa3.ttf" style.KoGa3_QuickMenu2_button_text.color = "#ffffff" style.KoGa3_QuickMenu2_button_text.hover_color = "#87cefa" style.KoGa3_QuickMenu2_button_text.selected_color = "#ffffff" style.KoGa3_QuickMenu2_button_text.insensitive_color = "#a9a9a9" #style.KoGa3_QuickMenu2_button_text.size = 22 #style.KoGa3_QuickMenu2_button_text.outlines = [ (absolute(1), "#000000", absolute(0), absolute(0)) ] #buttons 2-5 for the info screen style.KoGa3_2_button_text.font = "KoGa3.ttf" style.KoGa3_2_button_text.color = "#ff9999" style.KoGa3_2_button_text.hover_color = "#800000" style.KoGa3_2_button_text.selected_color = "#ff9999" style.KoGa3_2_button_text.size = 25 style.KoGa3_2_button_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_3_button_text.font = "KoGa3.ttf" style.KoGa3_3_button_text.color = "#98fb98" style.KoGa3_3_button_text.hover_color = "#2a8000" style.KoGa3_3_button_text.selected_color = "#98fb98" style.KoGa3_3_button_text.size = 25 style.KoGa3_3_button_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_4_button_text.font = "KoGa3.ttf" style.KoGa3_4_button_text.color = "#87cefa" style.KoGa3_4_button_text.hover_color = "#0000cd" style.KoGa3_4_button_text.selected_color = "#87cefa" style.KoGa3_4_button_text.size = 25 style.KoGa3_4_button_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] style.KoGa3_5_button_text.font = "KoGa3.ttf" style.KoGa3_5_button_text.color = "#ffffff" style.KoGa3_5_button_text.hover_color = "#696969" style.KoGa3_5_button_text.selected_color = "#ffffff" style.KoGa3_5_button_text.size = 25 style.KoGa3_5_button_text.outlines = [ (absolute(2), "#000000", absolute(0), absolute(0)) ] default KoGa3_status_button_text = "KoGa3_5_button_text" default KoGa3ButtonTextSize = 30 default KoGa3ButtonTextSize1 = 25 #Button size in Mod menu for color buttons define KoGa3Color1 = "#c4aead" #{color=#c4aead} {/color} define KoGa3Color2 = "#ffff00" #{color=#ffffff} {/color} define KoGa3ModMenu_xsize1 = 500 define KoGa3ModMenu_xsize2 = 100 define KoGa3ModMenu_xsize3 = 110 define KoGa3ModMenu_xsize4 = 90 define KoGa3ModMenu_xsize5 = 575 define KoGa3ModMenu_xsize6 = 225 define KoGa3ModMenu_xsize7 = 150 #---------------------blank screen---------------------# screen KoGa3ScreenBlank: add "/KoGa3MenuBack.png" modal True #---------------------add. game settings---------------------# screen KoGa3GameSettings: if not main_menu: add "/KoGa3MenuBack_settings.png" modal True vbox: xalign 0.5 spacing -12 null height (34) if _menu: textbutton _("━━━━━━━━━━━━━━━ Mod settings ━━━━━━━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() null height (35) ################################################################################# if not _menu: textbutton _("━━━━━━━━━━━━━━━━━ Mod menu ━━━━━━━━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: hbox: xsize 485 textbutton ("Game progress: [KoGa3GameProgress]"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: textbutton _("Change names...") text_style "KoGa3_1_button_text" action Hide("KoGa3ScreenCheat"), Show ("KoGa3ScreenBlank"), Call("KoGa3NameChange") null height (15) hbox: hbox: xsize 245 textbutton ("Walkthrough: "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 240 if KoGa3ChoiceOption == 0: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable ("KoGa3ChoiceOption", 1), SetVariable ("gr", "{color=#0f0}"), SetVariable ("red", "{color=#f00}"), SetVariable ("purp", "{color=#8a2be2}"), SetVariable ("KoGa3WTChange", "\n{color=#0f0}"), SetVariable ("KoGa3WTChange1", "\n{color=#ffdf00}"), SetVariable ("KoGa3WTChange2", "\n{color=#ff0000}") ] else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable ("KoGa3ChoiceOption", 0), SetVariable ("gr", ""), SetVariable ("red", ""), SetVariable ("purp", ""), SetVariable ("KoGa3WTChange", "{alt}"), SetVariable ("KoGa3WTChange1", "{alt}"), SetVariable ("KoGa3WTChange2", "{alt}")] # hbox: hbox: xsize 205 textbutton ("Side image: "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: if persistent.KoGa3SideImage is False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3SideImage", True) ] else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3SideImage", False) ] # textbutton _("━━━━━━━━━━━━━━━━━━━ Music ━━━━━━━━━━━━━━━━━━━"): # text_style "KoGa3_1_button_text" # sensitive False # action NullAction() # if KoGa3QuickMusic == 1: # textbutton _("Stop/deactivate QuickMusic"): # text_style "KoGa3_1_button_text" # selected False # sensitive True # action [ # Stop("music"), # SetVariable("KoGa3QuickMusic", 0), # SetVariable("KoGa3Music", 0), # SetVariable ("KoGa3QuickMusicMRGroup", 0), # Stop("music1"), # Hide("KoGa3QuickMusic"), # Hide("KoGa3QuickMusic1") ] # if KoGa3QuickMusic == 0: # textbutton _("Activate QuickMusic"): # text_style "KoGa3_1_button_text" # selected False # sensitive True # action [ # Stop("music"), # SetVariable("KoGa3QuickMusic", 1), # SetVariable("KoGa3Music", 2), # KoGa3MR_Balanced1.Play("music/positive-advertising.mp3"), # SetVariable ("KoGa3QuickMusicMRGroup", 101), # SetVariable ("KoGa3ModMenuButtonPressed", False), # Hide("KoGa3ScreenCheat"), # Hide("KoGa3GameSettings"), # Show("KoGa3QuickMusic"), # Show("KoGa3QuickMusic1") ] null height (20) ################################################################################# hbox: hbox: xsize 50 if KoGa3DialogOptions == 0: textbutton _("+"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3DialogOptions", 1) ] if KoGa3DialogOptions == 1: textbutton _("─"): text_style "KoGa3_1a_button_text" selected False action SetVariable("KoGa3DialogOptions", 0) hbox: ####################################### $ KoGa3TextboxOpacityPercent = int(persistent.KoGa3TextboxOpacity * 100) if persistent.KoGa3TextboxOpacity == KoGa3TextboxOpacitydefault and persistent.pref_text_size == pref_text_sizedefault and persistent.KoGa3xposOffset == KoGa3xposOffsetdefault and persistent.KoGa3yposOffset == KoGa3yposOffsetdefault and persistent.KoGa3TextOutline1 == KoGa3TextOutline1default and persistent.KoGa3TextOutline2 == KoGa3TextOutline2default and persistent.KoGa3TextOutline3 == KoGa3TextOutline3default: textbutton _("──────────── Dialog settings ──────────────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() else: hbox: textbutton _("──────────── Dialog settings ──────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() textbutton _("(reset)"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3TextboxOpacity", KoGa3TextboxOpacitydefault), SetVariable("persistent.pref_text_size", pref_text_sizedefault), SetVariable("persistent.KoGa3xposOffset", KoGa3xposOffsetdefault), SetVariable("persistent.KoGa3yposOffset", KoGa3yposOffsetdefault), SetVariable("persistent.KoGa3TextOutline1", KoGa3TextOutline1default), SetVariable("persistent.KoGa3TextOutline2", KoGa3TextOutline2default), SetVariable("persistent.KoGa3TextOutline3", KoGa3TextOutline3default), SetVariable("persistent.KoGa3DialogOptions", 1), SetVariable("persistent.KoGa3QuickMenuButton", 1), SetVariable("persistent.KoGa3QuickMenuShow", 1)] ################################################################################# if KoGa3DialogOptions == 1: hbox: hbox: xsize 50 hbox: vbox: spacing -8 hbox: text _("Dialogue box opacity (current: [KoGa3TextboxOpacityPercent]%)"): style "KoGa3_1a_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 700 value FieldValue(persistent, "KoGa3TextboxOpacity", range=1.0, style="slider") null height (25) hbox: text _("Dialogue box horizontal size offset (current: [persistent.KoGa3xposOffset])"): style "KoGa3_1a_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 700 value FieldValue(object=persistent, field='KoGa3xposOffset', range=600, max_is_zero=False, style=u'slider', offset=-300, step=1) hbox: text _("Dialogue box vertical offset (current: [persistent.KoGa3yposOffset])"): style "KoGa3_1a_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 700 value FieldValue(object=persistent, field='KoGa3yposOffset', range=500, max_is_zero=False, style=u'slider', offset=-200, step=1) null height (25) hbox: text _("Dialogue text font size (current: [persistent.pref_text_size]/75)"): style "KoGa3_1a_button_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 700 value FieldValue(object=persistent, field='pref_text_size', range=75, max_is_zero=False, style=u'slider', offset=0, step=1) hbox: text _("Dialogue text font outline (current: [persistent.KoGa3TextOutline1]/10)"): style "KoGa3_1a_button_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 700 value FieldValue(persistent, "KoGa3TextOutline1", range=10, style="slider") hbox: hbox: text _(" offset horizontal ([persistent.KoGa3TextOutline2]) offset vertical ([persistent.KoGa3TextOutline3])"): style "KoGa3_1a_button_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 335 value FieldValue(persistent, "KoGa3TextOutline2", range=10, max_is_zero=False, style=u'slider', offset=-5, step=1) textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 335 value FieldValue(persistent, "KoGa3TextOutline3", range=10, max_is_zero=False, style=u'slider', offset=-5, step=1) null height (25) ################################################################################# hbox: hbox: xsize 50 if KoGa3QuickMenuOptions == 0: textbutton _("+"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3QuickMenuOptions", 1) ] if KoGa3QuickMenuOptions == 1: textbutton _("─"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3QuickMenuOptions", 0) ] hbox: textbutton _("────────── Quick menu settings ────────────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() ################################################################################# if KoGa3QuickMenuOptions == 1: hbox: hbox: xsize 50 hbox: vbox: hbox: hbox: xsize 300 text _("Quick menu: "): style "KoGa3_1a_text" hbox: xsize 150 if persistent.KoGa3QuickMenuButton == 1: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3QuickMenuButton", 1), SetVariable("persistent.KoGa3QuickMenuShow", 1) ] if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): hbox: xsize 150 if persistent.KoGa3QuickMenuButton == 2: textbutton _("Auto"): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton _("Auto"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3QuickMenuButton", 2), SetVariable("persistent.KoGa3QuickMenuShow", 0) ] hbox: if persistent.KoGa3QuickMenuButton == 0: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3QuickMenuButton", 0), SetVariable("persistent.KoGa3QuickMenuShow", 0) ] textbutton _("More Quick menu settings..."): text_style "KoGa3_1a_button_text" selected False sensitive True action [ Hide("KoGa3GameSettings"), Show("KoGa3GameSettingsQuickMenu") ] textbutton ("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: spacing 30 textbutton _("Back"): text_style "KoGa3_1_button_text" selected False sensitive True action [ SetVariable ("KoGa3ModMenuButtonPressed", False), Hide("KoGa3GameSettings"), Hide("KoGa3ScreenBlank") ] #---------------------add. game settings Quick Menu---------------------# screen KoGa3GameSettingsQuickMenu: if not main_menu: add "/KoGa3MenuBack_settings.png" modal True vbox: xalign 0.5 spacing -12 null height (34) if persistent.KoGa3TextOutline4 == KoGa3TextOutline4default and persistent.KoGa3TextOutline5 == KoGa3TextOutline5default and persistent.KoGa3TextOutline6 == KoGa3TextOutline6default and persistent.KoGa3QuickMenuTextSize == KoGa3QuickMenuTextSizedefault: textbutton _("━━━━━━━━━━ More Quick menu settings ━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() else: hbox: textbutton _("━━━━━━━━━━ More Quick menu settings ━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() textbutton _("(reset)"): text_style "KoGa3_1_button_text" selected False action [ SetVariable("persistent.KoGa3TextOutline4", KoGa3TextOutline4default), SetVariable("persistent.KoGa3TextOutline5", KoGa3TextOutline5default), SetVariable("persistent.KoGa3TextOutline6", KoGa3TextOutline6default), SetVariable("persistent.KoGa3QuickMenuTextSize", KoGa3QuickMenuTextSizedefault) ] hbox: hbox: xsize 300 text _("Quick menu: "): style "KoGa3_1a_text" hbox: xsize 150 if persistent.KoGa3QuickMenuButton == 1: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3QuickMenuButton", 1), SetVariable("persistent.KoGa3QuickMenuShow", 1) ] if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): hbox: xsize 150 if persistent.KoGa3QuickMenuButton == 2: textbutton _("Auto"): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton _("Auto"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3QuickMenuButton", 2), SetVariable("persistent.KoGa3QuickMenuShow", 0) ] hbox: if persistent.KoGa3QuickMenuButton == 0: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected True action NullAction() else: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("persistent.KoGa3QuickMenuButton", 0), SetVariable("persistent.KoGa3QuickMenuShow", 0) ] textbutton _("───────────────────────────────────────────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() null height (20) vbox: spacing -8 hbox: text _("Quick menu text font size (current: [persistent.KoGa3QuickMenuTextSize]/40)"): style "KoGa3_1a_button_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 750 value FieldValue(object=persistent, field='KoGa3QuickMenuTextSize', range=40, max_is_zero=False, style=u'slider', offset=0, step=1) hbox: text _("Quick menu text font outline (current: [persistent.KoGa3TextOutline4]/10)"): style "KoGa3_1a_button_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 750 value FieldValue(object=persistent, field='KoGa3TextOutline4', range=10, max_is_zero=False, style=u'slider', offset=0, step=1) hbox: hbox: text _(" offset horizontal ([persistent.KoGa3TextOutline5]) offset vertical ([persistent.KoGa3TextOutline6])"): style "KoGa3_1a_button_text" hbox: ypos 5 textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 360 value FieldValue(object=persistent, field='KoGa3TextOutline5', range=10, max_is_zero=False, style=u'slider', offset=5, step=1) textbutton _(" "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() bar: xsize 360 value FieldValue(object=persistent, field='KoGa3TextOutline6', range=10, max_is_zero=False, style=u'slider', offset=5, step=1) null height (34) hbox: hbox: xsize 50 if KoGa3QuickMenuItems == 0: textbutton _("+"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable("KoGa3QuickMenuItems", 1) ] if KoGa3QuickMenuItems == 1: textbutton _("─"): text_style "KoGa3_1a_button_text" selected False action SetVariable("KoGa3QuickMenuItems", 0) hbox: textbutton _("────────── Quick menu items ─────────────"): text_style "KoGa3_1_button_text" sensitive False action NullAction() if KoGa3QuickMenuItems == 1: hbox: hbox: xsize 50 textbutton _(" "): text_style "KoGa3_1_button_text" sensitive False action NullAction() vbox: spacing -10 hbox: hbox: xsize 550 textbutton ("Button \"Back\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemBack == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemBack", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemBack", False) hbox: hbox: xsize 550 textbutton ("Button \"Hist\" (History) is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemHist == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemHist", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemHist", False) hbox: hbox: xsize 550 textbutton ("Button \"Hide\" (hide textbox) is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemHide == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemHide", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemHide", False) hbox: hbox: xsize 550 textbutton ("Button \"Skip\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemSkip == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemSkip", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemSkip", False) hbox: hbox: xsize 550 textbutton ("Button \"Auto\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemAuto == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemAuto", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemAuto", False) hbox: hbox: xsize 550 textbutton ("Button \"Save\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemSave == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemSave", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemSave", False) hbox: hbox: xsize 550 textbutton ("Button \"Load\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemLoad == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemLoad", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemLoad", False) hbox: hbox: xsize 550 textbutton ("Button \"Q.Save\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemQSave == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemQSave", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemQSave", False) hbox: hbox: xsize 550 textbutton ("Button \"Q.Load\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemQLoad == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemQLoad", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemQLoad", False) hbox: hbox: xsize 550 textbutton ("Button \"Prefs\" (game settings) is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemPrefs == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemPrefs", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemPrefs", False) hbox: hbox: xsize 550 textbutton ("Button \"Mod menu\" is:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 200 if persistent.KoGa3QuickMenuItemModmenu == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemModmenu", True) else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action SetVariable ("persistent.KoGa3QuickMenuItemModmenu", False) textbutton ("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"): text_style "KoGa3_1_button_text" sensitive False action NullAction() hbox: spacing 30 textbutton _("Back"): text_style "KoGa3_1_button_text" selected False sensitive True action [ Hide("KoGa3GameSettingsQuickMenu"), # Hide("KoGa3ScreenBlank"), Show("KoGa3GameSettings") ] textbutton _("Close"): text_style "KoGa3_1_button_text" selected False sensitive True action [ SetVariable ("KoGa3ModMenuButtonPressed", False), Hide("KoGa3ScreenBlank"), Hide("KoGa3ScreenCheat"), Hide("KoGa3ScreenCheatMore1"), Hide("KoGa3ScreenModMenu"), Hide("KoGa3ScreenJukebox"), Hide("KoGa3GameSettings"), Hide("KoGa3GameSettingsQuickMenu"), Hide("KoGa3ScreenAudioMenu") ] #-----------------------set name----------------------# #not used label KoGa3NameChange: $ menu_style = "choice_renaming" $ quick_menu = False menu (screen="choice_renaming"): "MC: {color=[KoGa3Color2]}[Francis]{/color} Shavell - change the given name...": $ Francis = renpy.input("What is your given name?", default=Francis) jump KoGa3NameChange "MC: His everyday name is {color=[KoGa3Color2]}[Frank]{/color} - change...": $ Frank = renpy.input("What is your everyday name?", default=Frank) jump KoGa3NameChange "MC: His nickname is {color=[KoGa3Color2]}[Frankie]{/color} - change...": $ Frankie = renpy.input("What is your nickname?", default=Frankie) jump KoGa3NameChange "Daughter: {color=[KoGa3Color2]}[Abigail]{/color} Shavell - change her given name...": $ Abigail = renpy.input("What is her given name?", default=Abigail) jump KoGa3NameChange "Daughter: Her first nickname is {color=[KoGa3Color2]}[Abby]{/color} - change...": $ Abby = renpy.input("What is her first nickname?", default=Abby) jump KoGa3NameChange "Daughter: Her second nickname is {color=[KoGa3Color2]}[Abs]{/color} - change...": $ Abs = renpy.input("What is her second nickname?", default=Abs) jump KoGa3NameChange "Stepdaughter: {color=[KoGa3Color2]}[Lilith]{/color} Oxton - change her given name...": $ Lilith = renpy.input("What is her given name?", default=Lilith) jump KoGa3NameChange "Stepdaughter: Her first nickname is {color=[KoGa3Color2]}[Lilly]{/color} - change...": $ Lilly = renpy.input("What is her first nickname?", default=Lilly) jump KoGa3NameChange "Stepdaughter: Her second nickname is {color=[KoGa3Color2]}[Lil]{/color} - change...": $ Lil = renpy.input("What is her second nickname?", default=Lil) jump KoGa3NameChange "Stepdaughter: {color=[KoGa3Color2]}[Rebecca]{/color} Oxton - change her given name...": $ Rebecca = renpy.input("What is her given name?", default=Rebecca) jump KoGa3NameChange "Stepdaughter: Her first nickname is {color=[KoGa3Color2]}[Becca]{/color} - change...": $ Becca = renpy.input("What is her first nickname?", default=Becca) jump KoGa3NameChange "Stepdaughter: Her second nickname is {color=[KoGa3Color2]}[Becky]{/color} - change...": $ Becky = renpy.input("What is her second nickname?", default=Becky) jump KoGa3NameChange "\nDone": $ quick_menu = True hide screen KoGa3ScreenBlank show screen KoGa3GameSettings pause return #---------------------set variable game beginning---------------------# default KoGa3ModMenuButtonPressed = False default KoGa3MainMenu = 0 default KoGa3DialogOptions = 1 default KoGa3QuickMenuOptions = 1 default KoGa3QuickMenuItems = 1 default KoGa3CheatButton = 1 default KoGa3ScreenStatsFull = 0 default KoGa3GameProgress = "n/a" #default Frank = "Frank" #default Francis = "Francis" #default Frankie = "Frankie" #default Abigail = "Abigail" #default Abby = "Abby" #default Abs = "Abs" #default Lilith = "Lilith" #default Lilly = "Lilly" #default Lil = "Lil" #default Rebecca = "Rebecca" #default Becca = "Becca" #default Becky = "Becky" # default KoGa3Music = 1 #only for audio Mod # default KoGa3CurrentMusic = MusicSilence # default KoGa3JukeboxButton = 1 # default mcname = "MC" #only for renaming default KoGa3ChoiceOption = 1 # for WT Mod default KoGa3WTChange = "\n{color=#0f0}" # green #default KoGa3WTChange1 = "\n{size=32}{color=#0000ff}" # blue default KoGa3WTChange1 = "\n{color=#ffdf00}" # yellow default KoGa3WTChange2 = "\n{color=#ff0000}" # red #default KoGa3WTChange = "\n{size=1}{color=#363636}" # info: WT Off