#WT unlock/enhancement Mod for the game "Sun Breed" / KoGa3 #---------------------WT unlock---------------------# init 1060 python: config.label_overrides.update( { "before_main_menu": "before_main_menuKoGa3" } ) config.label_overrides.update( { "after_load": "after_loadKoGa3" } ) config.label_overrides.update( { "unlock_walkthrough_mod": "unlock_walkthrough_modKoGa3" } ) #new labels (orig in "screens_walkthrough.rpy") label before_main_menuKoGa3: return label after_loadKoGa3: return label unlock_walkthrough_modKoGa3: menu: "This game has walkthrough feature, do you want it enabled?" "Yes": if persistent.walkthrough_mod_unlocked: $walkthrough_mod_enabled=True else: #$walkthrough_unlock_code = renpy.input("Enter Patron's code to unlock this feature:").strip().lower() #if zlib.crc32(walkthrough_unlock_code)==472195211: #$persistent.walkthrough_mod_unlocked=walkthrough_unlock_code $walkthrough_mod_enabled=True "Walkthrough feature is unlocked and enabled!\nClick \"Walkthrough\" at bottom to toggle it OFF/ON." #else: #$persistent.walkthrough_mod_unlocked=False #$walkthrough_mod_enabled=False #"Sorry, invalid code, check again." #jump unlock_walkthrough_mod "No": $walkthrough_mod_enabled=False return #---------------------setting default audio volumes to 0.5---------------------# init python: config.default_music_volume = 0.5 config.default_sfx_volume = 0.5 config.default_voice_volume = 0.5 # if persistent.KoGa3main_menu_music is True: # config.main_menu_music = "/music/XXXX.mp3" # else: # config.main_menu_music = "" # renpy.music.stop(channel=u'music', fadeout=None) # # needed for jukebox player # def convert_float_into_time(t): # i, f = divmod(t, 1) # i = int(i) # m, s = divmod(i, 60) # h, m = divmod(m, 60) # return "{:02}:{:02}".format(m, s) # # new audio channel for the game #not used for this game # renpy.music.register_channel("music1", mixer="voice") # renpy.music.register_channel("sound1", mixer="sfx") # renpy.music.register_channel("sound2", mixer="sfx") #---------------------shortcut key for Mod menu screen---------------------# init python: # short key: Shift + k. config.keymap['KoGa3GameSettings'] = "shift_K_k" define config.overlay_screens = ["keymap", "quick_menu"] screen keymap: key "KoGa3GameSettings": action [ SetVariable ("KoGa3ModMenuButtonPressed", True), SetVariable ("RptsTemp", Rpts), SetVariable ("PptsTemp", Ppts), SetVariable ("MDptsTemp", MDpts), SetVariable ("MptsTemp", Mpts), 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" define KoGa3ButtonTextSize01 = 470 define KoGa3ButtonTextSize02 = 95 define KoGa3ButtonTextSize03 = 110 define KoGa3ButtonTextSize04 = 695 define KoGa3ButtonTextSize05 = 195 define KoGa3ButtonTextSize06 = 250 define KoGa3ButtonTextSize07 = 115 define KoGa3ButtonTextSize08 = 100 define KoGa3Color1 = "#c4aead" define KoGa3Color2 = "#ffff00" define KoGa3Color3 = "#ffffff" define KoGa3xsize1 = 400 define KoGa3xsize2 = 100 define KoGa3xsize3 = 100 define KoGa3xsize4 = 90 #---------------------blank screen---------------------# screen KoGa3ScreenBlank: add "/KoGa3MenuBack.png" modal True #---------------------Info screen/stats---------------------# screen KoGa3ScreenStats(): hbox: xalign 0.5 yalign 0.0 if KoGa3ScreenStatsFull == 1 or KoGa3ScreenStatsFull == 2: if walkthrough_mod_enabled == False: textbutton ("WT:OFF "): text_style KoGa3_status_button_text selected False action [ SetVariable ("walkthrough_mod_enabled", True) ] else: textbutton ("WT:ON "): text_style KoGa3_status_button_text selected False action [ SetVariable ("walkthrough_mod_enabled", False) ] if KoGa3ScreenStatsFull == 1: textbutton ("MC: Paragon [Ppts] / Renegade [Rpts]"): text_style KoGa3_status_button_text selected True action [ SetVariable ("KoGa3ModMenuButtonPressed", True), SetVariable ("RptsTemp", Rpts), SetVariable ("PptsTemp", Ppts), Show("KoGa3ScreenCheatMore1")] #---------------------Name change---------------------# label KoGa3NameChange: menu: "MC first name: {color=[KoGa3Color2]}[player_name]{/color}": $ player_name = renpy.input("What is your first name?", default=player_name) $ player_name = player_name.strip() jump KoGa3NameChange "[C] / [V] / [N] / [A]\nEvery of these girls is your: {color=[KoGa3Color2]}[rel_r2]{/color}": $ rel_r2 = renpy.input("What are they to you (hint: sis.er)?", default=rel_r2) $ rel_r2 = rel_r2.strip() jump KoGa3NameChange "Your relationship to them: {color=[KoGa3Color2]}[rel_r]{/color}": $ rel_r = renpy.input("You are their (hint: bro..er)?", default=rel_r) $ rel_r = rel_r.strip() jump KoGa3NameChange "You, [C] and [V] had the same: {color=[KoGa3Color2]}[rel_fc]{/color}": $ rel_fc = renpy.input("Her rel. to you, [C] and [V] (hint: mo..er)?", default=rel_fc) $ rel_fc = rel_fc.strip() jump KoGa3NameChange "You, [N] and [A] had the same: {color=[KoGa3Color2]}[rel_c]{/color}": $ rel_c = renpy.input("His rel. to you, [N] and [A] (hint: fa..er)?", default=rel_c) $ rel_c = rel_c.strip() jump KoGa3NameChange "Done": hide screen KoGa3ScreenBlank show screen KoGa3GameSettings pause return #---------------------add. game settings---------------------# screen KoGa3GameSettings: if not main_menu: add "/KoGa3MenuBack_settings.png" modal True vbox: xalign 0.5 spacing -10 null height (40) 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 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 ("KoGa3WTChange", "\n{color=#008000}"), # 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 ("KoGa3WTChange", "{alt}"), # SetVariable ("KoGa3WTChange1", "{alt}"), # SetVariable ("KoGa3WTChange2", "{alt}")] # textbutton _("Music Jukebox..."): # text_style "KoGa3_1a_button_text" # selected False # sensitive True # action [ # Hide("KoGa3GameSettings"), # Show("KoGa3ScreenJukebox") ] # ################################################################################# hbox: hbox: xsize 315 textbutton ("Orig. walkthrough: "): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize 160 if walkthrough_mod_enabled == False: textbutton _("OFF"): text_style "KoGa3_1a_button_text" selected False action [ SetVariable ("walkthrough_mod_enabled", True) ] else: textbutton _("ON "): text_style "KoGa3_1a_button_text" selected False action [ SetVariable ("walkthrough_mod_enabled", False) ] textbutton _("More cheating..."): text_style "KoGa3_1a_button_text" selected False action [ Hide("KoGa3GameSettings"), Show("KoGa3ScreenCheatMore1") ] hbox: if KoGa3ScreenStatsFull == 1: hbox: #xsize 400 spacing 15 textbutton _("Status infos: {color=[KoGa3Color2]}ON{/color}"): text_style "KoGa3_1a_button_text" action [ SetVariable("KoGa3ScreenStatsFull", 0), Hide("KoGa3ScreenStats") ] textbutton " color:": text_style "KoGa3_1a_button_text" sensitive False action NullAction() textbutton _("{size=30}red{/size}"): text_style "KoGa3_2_button_text" action SetVariable("KoGa3_status_button_text", "KoGa3_2_button_text") textbutton _("{size=30}gre{/size}"): text_style "KoGa3_3_button_text" action SetVariable("KoGa3_status_button_text", "KoGa3_3_button_text") textbutton _("{size=30}blu{/size}"): text_style "KoGa3_4_button_text" action SetVariable("KoGa3_status_button_text", "KoGa3_4_button_text") textbutton _("{size=30}gry{/size}"): text_style "KoGa3_5_button_text" action SetVariable("KoGa3_status_button_text", "KoGa3_5_button_text") if KoGa3ScreenStatsFull == 0: textbutton _("Status infos: {color=[KoGa3Color2]}OFF{/color}"): text_style "KoGa3_1a_button_text" action [ SetVariable("KoGa3ScreenStatsFull", 1), Show("KoGa3ScreenStats") ] textbutton ("────────────────────────────────────────────"): text_style "KoGa3_button_text" sensitive False action NullAction() textbutton _("Change name/relationships..."): text_style "KoGa3_1a_button_text" selected False action [ Hide("KoGa3GameSettings"), Show("KoGa3ScreenBlank"), Call("KoGa3NameChange") ] null height (35) ################################################################################# 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() if main_menu is True or KoGa3ModMenuButtonPressed is False: hbox: spacing 30 textbutton _("Back"): text_style "KoGa3_1_button_text" sensitive True action [ Hide("KoGa3GameSettings"), Hide("KoGa3ScreenBlank") ] else: hbox: spacing 30 # textbutton _("Back"): # text_style "KoGa3_1_button_text" # sensitive True # action [ # Hide("KoGa3GameSettings"), # Hide("KoGa3ScreenBlank"), # Show("KoGa3ScreenModMenu") ] textbutton _("Close"): text_style "KoGa3_1_button_text" selected False 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 (40) #$ KoGa3TextboxOpacityPercent = int(persistent.KoGa3TextboxOpacity * 100) 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(persistent, "KoGa3TextOutline4", range=10, style="slider") 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(persistent, "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(persistent, "KoGa3TextOutline6", range=10, max_is_zero=False, style=u'slider', offset=-5, step=1) null height (34) textbutton _("━━━━━━━━━━━━━ Quick menu items ━━━━━━━━━━━━━"): 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 220 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 220 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 220 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 220 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 220 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 220 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 220 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 220 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 220 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 220 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 220 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 Mod menu---------------------# screen KoGa3ScreenCheatMore1: add "/KoGa3MenuBack_settings.png" modal True vbox: xalign 0.5 spacing -10 null height (40) textbutton _("━━━━━━━━━━━━━━━━━━━ Cheat ━━━━━━━━━━━━━━━━━━━"): text_style "KoGa3_button_text" sensitive False action NullAction() hbox: hbox: xsize KoGa3xsize1 textbutton _("MC Paragon points:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize KoGa3xsize2 textbutton _("[Ppts]"): text_style "KoGa3_1a_button_text" selected True action NullAction() hbox: xsize KoGa3xsize3 textbutton _("+1"): text_style "KoGa3_1a_button_text" action SetVariable("Ppts", Ppts +1) hbox: xsize KoGa3xsize3 textbutton _("-1"): text_style "KoGa3_1a_button_text" action SetVariable("Ppts", Ppts -1) hbox: xsize KoGa3xsize4 if Ppts != PptsTemp: textbutton ("Reset"): text_style "KoGa3_1a_button_text" action SetVariable("Ppts", PptsTemp) hbox: hbox: xsize KoGa3xsize1 textbutton _("MC Renegade points:"): text_style "KoGa3_1a_button_text" sensitive False action NullAction() hbox: xsize KoGa3xsize2 textbutton _("[Rpts]"): text_style "KoGa3_1a_button_text" selected True action NullAction() hbox: xsize KoGa3xsize3 textbutton _("+1"): text_style "KoGa3_1a_button_text" action SetVariable("Rpts", Rpts +1) hbox: xsize KoGa3xsize3 textbutton _("-1"): text_style "KoGa3_1a_button_text" action SetVariable("Rpts", Rpts -1) hbox: xsize KoGa3xsize4 if Rpts != RptsTemp: textbutton ("Reset"): text_style "KoGa3_1a_button_text" action SetVariable("Rpts", RptsTemp) # hbox: #Not used in the Mod so far # hbox: # xsize KoGa3xsize1 # textbutton _("May Dorn points:"): # text_style "KoGa3_1a_button_text" # sensitive False # action NullAction() # hbox: # xsize KoGa3xsize2 # textbutton _("[MDpts]"): # text_style "KoGa3_1a_button_text" # selected True # action NullAction() # hbox: # xsize KoGa3xsize3 # textbutton _("+1"): # text_style "KoGa3_1a_button_text" # action SetVariable("MDpts", MDpts +1) # hbox: # xsize KoGa3xsize3 # textbutton _("-1"): # text_style "KoGa3_1a_button_text" # action SetVariable("MDpts", MDpts -1) # hbox: # xsize KoGa3xsize4 # if MDpts != MDptsTemp: # textbutton ("Reset"): # text_style "KoGa3_1a_button_text" # action SetVariable("MDpts", MDptsTemp) # hbox: #Not used in the Mod so far # hbox: # xsize KoGa3xsize1 # textbutton _("Morrigan points:"): # text_style "KoGa3_1a_button_text" # sensitive False # action NullAction() # hbox: # xsize KoGa3xsize2 # textbutton _("[Mpts]"): # text_style "KoGa3_1a_button_text" # selected True # action NullAction() # hbox: # xsize KoGa3xsize3 # textbutton _("+1"): # text_style "KoGa3_1a_button_text" # action SetVariable("Mpts", Mpts +1) # hbox: # xsize KoGa3xsize3 # textbutton _("-1"): # text_style "KoGa3_1a_button_text" # action SetVariable("Mpts", Mpts -1) # hbox: # xsize KoGa3xsize4 # if Mpts != MptsTemp: # textbutton ("Reset"): # text_style "KoGa3_1a_button_text" # action SetVariable("Mpts", MptsTemp) textbutton ("────────────────────────────────────────────"): text_style "KoGa3_button_text" sensitive False action NullAction() if KoGa3CheatButton == 1: if NAroute is True: textbutton ("[N]/[A] route: {color=[KoGa3Color2]}True{/color}"): text_style "KoGa3_1a_button_text" action SetVariable("NAroute", False) else: textbutton ("[N]/[A] route: {color=[KoGa3Color2]}False{/color}"): text_style "KoGa3_1a_button_text" action SetVariable("NAroute", True) if VCroute is True: textbutton ("[V]/[C] route: {color=[KoGa3Color2]}True{/color}"): text_style "KoGa3_1a_button_text" action SetVariable("VCroute", False) else: textbutton ("[V]/[C] route: {color=[KoGa3Color2]}False{/color}"): text_style "KoGa3_1a_button_text" action SetVariable("VCroute", True) if harem is True: textbutton ("Harem route: {color=[KoGa3Color2]}True{/color}"): text_style "KoGa3_1a_button_text" action SetVariable("harem", False) else: textbutton ("Harem route: {color=[KoGa3Color2]}False{/color}"): text_style "KoGa3_1a_button_text" action SetVariable("harem", True) textbutton ("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"): text_style "KoGa3_button_text" sensitive False action NullAction() hbox: spacing 30 textbutton _("Back"): text_style "KoGa3_1_button_text" selected False sensitive True action [ Hide("KoGa3ScreenCheatMore1"), 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("KoGa3ScreenModMenu") ] #---------------------set variable game beginning---------------------# default KoGa3ModMenuButtonPressed = False default KoGa3MainMenu = 0 default KoGa3DialogOptions = 1 default KoGa3QuickMenuOptions = 1 default KoGa3CheatButton = 1 default KoGa3ScreenStatsFull = 0 default KoGa3GameProgress = "n/a" # default KoGa3Music = 1 #only for audio Mod # default KoGa3CurrentMusic = MusicSilence # default KoGa3JukeboxButton = 1 default player_name = "John" default rel_r2 ="friend" default rel_r ="friend" default rel_fc ="female caretaker" default rel_c ="male caretaker" default RptsTemp = 0 default PptsTemp = 0 default MDptsTemp = 0 default MptsTemp = 0 default KoGa3ChoiceOption = 1 # for WT Mod default KoGa3WTChange = "\n{color=#008000}" # 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