#---------------------adds/enhancements for screens.rpy---------------------# #---------------------dialog/choice options---------------------# # define gui.name_xpos = 360 # define gui.dialogue_xpos = 402 # define gui.dialogue_width = 1116 init 1001: #Main Character define mcf = Character ("[main]",color="#00BFFF") define mcl = Character ("[mainl]",color="#00BFFF") define mcm = Character ("Your thoughts",color="#FFFFFF") #Narrator define narrator = Character (None, color="#00BFFF") define nar2 = Character ("Narrator",color="#FFFFFF") #Renamable girls define am = Character ("[mom]",color="#FFFF00") define g1 = Character ("[girl1]",color="#6A5ACD") define rmc = Character ("[rmom]") #Broken #Sex names define ZoeSN = Character ("[ZoeSN]",color="#FFFF00") #Characters define fourt = Character ("4t", color="#FC9D68") define alanah = Character ("Alanah", color="#FFA500") define al = Character ("Alexis", color="#FF00FF") define alexis = Character ("Alexis", color="#FF00FF") define a = Character ("Anna", color="#DC143C") define anna = Character ("Anna", color="#DC143C") define armani = Character ("Armani", color="#FF00FF") define au = Character ("Aubrey", color="#FF4500") define aubrey = Character ("Aubrey", color="#FF4500") define aditi = Character ("Aditi", color="#708090") define ay = Character ("Ayden", color="#708090") define ayden = Character ("Ayden", color="#708090") define b = Character ("Bailey", color="#00FF7F") define bailey = Character ("Bailey", color="#00FF7F") define bea = Character ("Bea", color="#00FF7F") define bonnie = Character ("Bonnie", color="#0000FF") define br = Character ("Brittany", color="#20B2AA") define brittany = Character ("Brittany", color="#20B2AA") define c = Character ("Carly", color="#7B68EE") define carly = Character ("Carly", color="#7B68EE") define carmen = Character ("Carmen", color="#D2691E") define cedar = Character ("Cedar", color="#32CD32") define cey = Character ("Cedey", color="#32CD32") define cedey = Character ("Cedey", color="#32CD32") define cha = Character ("Charles", color="#808000") define charles = Character ("Charles", color="#808000") define daliah = Character ("Daliah", color="b10e0e") define d = Character ("Damien", color="#708090") define damien = Character ("Damien", color="#708090") define deebo = Character ("Deebo", color="#8A2BE2") define dub = Character ("Dubaku", color="#708090") define dubaku = Character ("Dubaku", color="#708090") define ed = Character ("Eden", color="#727de8") define eden = Character ("Eden", color="#727de8") define edoardo = Character ("Edoardo", color="#3CB371") define e = Character ("Elizabeth", color="#DC143C") define elizabeth = Character ("Elizabeth", color="#DC143C") define em = Character ("Emiko", color="#DB7093") define emiko = Character ("Emiko", color="#DB7093") define fyona = Character ("Fyona", color="#F0FFFF") define gabby = Character ("Gabby", color="#3D8A29") define gorg = Character ("Gorg", color="#708090") define granny = Character ("Granny", color="#FC9D68") define han = Character ("Hannah", color="#c678de") define hannah = Character ("Hannah", color="#c678de") define h = Character ("Harper", color="#008080") define noella = Character ("Noella Harper", color="#008080") define harper = Character ("Harper", color="#008080") define iris = Character ("Iris", color="#82cdec") define ivory = Character ("Ivory", color="#FFF8DC") define j = Character ("Jasmine", color="#D2691E") define jasmine = Character ("Jasmine", color="#D2691E") define k = Character ("Katie", color="#3CB371") define katie = Character ("Katie", color="#3CB371") define jax = Character ("Jax", color="#3CB371") define ken = Character ("Kenji", color="#708090") define kenji = Character ("Kenji", color="#708090") define ke = Character ("Keyana", color="#008080") define keyana = Character ("Keyana", color="#008080") define ki = Character ("Kimmy", color="#00FFFF") define kimmy = Character ("Kimmy", color="#00FFFF") define kodi = Character ("Kodi", color="#D8BFD8") define la = Character ("Lauren", color="#FFFE7A") define lauren = Character ("Lauren", color="#FFFE7A") define l = Character ("Lee", color="#A9A9A9") define lee = Character ("Lee", color="#A9A9A9") define liam = Character ("Liam", color="#808000") define lulu = Character ("Lulu", color="#9c732a") define m = Character ("Mabel", color="#7B68EE") define mabel = Character ("Mabel", color="#7B68EE") define mk = Character ("Mackenzie", color="#6495ED") define mackenzie = Character ("Mackenzie", color="#6495ED") define ma = Character ("Mackey", color="#FFE4B5") define mackey = Character ("Mackey", color="#FFE4B5") define mar = Character ("Marcus", color="#708090") define marcus = Character ("Marcus", color="#708090") define maya = Character ("Maya", color="#40E0D0") define gm = Character ("Margaret", color="#DDA0DD") define margaret = Character ("Margaret", color="#DDA0DD") define mi = Character ("Millie", color="#F0FFFF") define millie = Character ("Millie", color="#F0FFFF") define mo = Character ("Moon", color="#F8F8FF") define moon = Character ("Moon", color="#F8F8FF") define n = Character ("Natalie", color="#FFA500") define natalie = Character ("Natalie", color="#FFA500") define na = Character ("Nathan", color="#D2691E") define nathan = Character ("Nathan", color="#D2691E") define ned = Character ("Ned", color="#3CB371") define ninja = Character ("Ninja", color="#d68d64") define noi = Character ("Noi", color="#FFA500") define nur = Character ("Nurse", color="#BDB76B") define nurse = Character ("Nurse", color="#BDB76B") define omar = Character ("Omar", color="#BDB76B") define p = Character ("Penelope", color="#191970") define penelope = Character ("Penelope", color="#191970") define phetsamone = Character ("Phetsamone", color="#d68d64") define quandra = Character ("Quandra", color="#4e8a55") define r = Character ("Rachael", color="#F0E68C") define rachael = Character ("Rachael", color="#F0E68C") define ra = Character ("Rainn", color="#0000FF") define rainn = Character ("Rainn", color="#0000FF") define ricky = Character ("Ricky", color="#708090") define ru = Character ("Ruby", color="#CD5C5C") define ruby = Character ("Ruby", color="#CD5C5C") define ry = Character ("Ryker", color="#87CEFA") define ryker = Character ("Ryker", color="#87CEFA") define s = Character ("Shauna", color="#9400D3") define shauna = Character ("Shauna", color="#9400D3") define sk = Character ("Skye", color="#87CEFA") define skye = Character ("Skye", color="#87CEFA") define st = Character ("Stacy", color="#B22222") define stacy = Character ("Stacy", color="#B22222") define ta = Character ("Talismah", color="#8A2BE2") define talismah = Character ("Talismah", color="#8A2BE2") define t = Character ("Tia", color="#40E0D0") define tia = Character ("Tia", color="#40E0D0") define tip = Character ("Tip Payless", color="#40E0D0") define val = Character ("Valerie", color="#00FA9A") define valerie = Character ("Valerie", color="#00FA9A") define van = Character ("Vanessa", color="#FF69B4") define vanessa = Character ("Vanessa", color="#FF69B4") define v = Character ("Veronica", color="#4169E1") define veronica = Character ("Veronica", color="#4169E1") define vinny = Character ("Vinny", color="#3CB371") define wen = Character ("Wendy", color="#32CD32") define wendy = Character ("Wendy", color="#32CD32") define wil = Character ("Willabelle", color="#FFFFFF") define willabelle = Character ("Willabelle", color="#FFFFFF") define w = Character ("Willow", color="#2F4F4F") define willow = Character ("Willow", color="#2F4F4F") define yen = Character ("Yen", color="#DC143C") define yu = Character ("Yuki", color="#9370DB") define yuki = Character ("Yuki", color="#9370DB") define zack = Character ("Zack Bright", color="#4169E1") define z = Character ("Zoe", color="#FFE4B5") define zoe = Character ("Zoe", color="#EE874D") define zoelle = Character ("Zoelle", color="#FFE4B5") define a3g = Character ("All Three Girls",color="#FFFFFF") #Rainbow Girls define blue = Character ("Blue",color="#1F51FF") define green = Character ("Green",color="#50C878") define orange = Character ("Orange",color="#FF7F50") define purple = Character ("Purple",color="#330066") define red = Character ("Red",color="#ff0038") define yellow = Character ("Yellow",color="#FFF200") #Rich Girls define annie = Character ("Annie",color="#FF4C4C") define cindy = Character ("Cindy",color="#8dbb25") define demetria = Character ("Demetria",color="#2986cc") define hermione = Character ("Hermione",color="#9f95c0") define ryann = Character ("Ryann",color="#e9c455") #Pets define mx = Character ("Max", color="#C26029") define suds = Character ("Suds", color="#C26029") #Employees define redmon = Character ("Referee Redmon", color="#F0E68C") define receptionist = Character ("Receptionist") define daliahe = Character ("Daliah's Employee") #One-offs or undefined define lobbygirl1 = Character ("Lobby Girl 1", color="#8a4187") define lobbygirl2 = Character ("Lobby Girl 2", color="#bdaf5f") define lobbygirl3 = Character ("Lobby Girl 3", color="#665fbd") define lobbygirl4 = Character ("Lobby Girl 4", color="#bd735f") define lobbyman1 = Character ("Lobby Man 1") define lobbyman2 = Character ("Lobby Man 2") define unknowngirls = Character ("Unknown Girls") define unknowngirl = Character ("Unknown Girl") define mystery = Character ("Mystery Girl") define dad = Character ("Dad?") define both = Character ("Both of them") define allofthem = Character ("All of the girls") define jas = Character ("[g1] and Shauna") define pasts = Character ("Past Shauna") define pasty = Character ("Past You") define pasta = Character ("Past [am]") define pastg = Character ("Past [g1]") define ug = Character ("Unknown Girl") define um = Character ("Unknown Person") define sa = Character ("Salesman") define re = Character ("Receptionist") define sis = Character ("Sister", color="#FF69B4") define rm = Character ("Mom?", color="#7B68EE") define rrm = Character ("Mom", color="#7B68EE") define bouncer = Character ("Bouncer") define everyone = Character ("Everyone") define pho = Character ("Person heard outside") define pm = Character ("Police Man") define pw = Character ("Police Woman") define crowd = Character ("Crowd") define alexthorns = Character ("Alex") define flight = Character ("Flight Attendant") define unknown = Character ("Unknown Caller") define burt = Character ("Burt", color="#3CB371") screen say(who, what): style_prefix "say" window: id "window" $ persistent.pref_text_size2 = persistent.pref_text_size + 10 $ KoGa3xpos2 = 570 - (6 * persistent.pref_text_size) - persistent.KoGa3xposOffset $ KoGa3xpos1 = 612 - (6 * persistent.pref_text_size) - persistent.KoGa3xposOffset $ KoGa3xsize1 = 744 + (12 * persistent.pref_text_size) + (2 * persistent.KoGa3xposOffset) if persistent.pref_text_size > 20: $ KoGa3ypos1 = 195 - (6 * persistent.pref_text_size + persistent.KoGa3yposOffset) $ KoGa3ypos2 = 210 - (6 * persistent.pref_text_size + persistent.KoGa3yposOffset) $ KoGa3ypos3 = 240 - (5 * persistent.pref_text_size + persistent.KoGa3yposOffset) $ KoGa3ypos4 = 240 - (5 * persistent.pref_text_size + persistent.KoGa3yposOffset) else: $ KoGa3ypos1 = 195 - (6 * 20 + persistent.KoGa3yposOffset) $ KoGa3ypos2 = 210 - (6 * 20 + persistent.KoGa3yposOffset) $ KoGa3ypos3 = 240 - (5 * 20 + persistent.KoGa3yposOffset) $ KoGa3ypos4 = 240 - (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 define KoGa3TextOutline2default = 0 define KoGa3TextOutline3default = 0 define pref_text_sizedefault = 32 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 init 999: style window: xalign 0.5 xfill True yalign gui.textbox_yalign ysize gui.textbox_height background (None) style namebox: xpos gui.name_xpos xanchor gui.name_xalign xsize gui.namebox_width ypos gui.name_ypos ysize gui.namebox_height background (None) padding gui.namebox_borders.padding 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 input_prompt: xalign gui.dialogue_text_xalign properties gui.text_properties("input_prompt") outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ] style input: xalign gui.dialogue_text_xalign xmaximum gui.dialogue_width properties gui.text_properties("input") outlines [ (absolute(2), "#000", absolute(0), absolute(0)) ] #---------------------Choices---------------------# define KoGa3ChoiceTextSizedefault = 30 define KoGa3TextOutline7default = 2 define KoGa3TextOutline8default = 0 define KoGa3TextOutline9default = 0 define persistent.KoGa3ChoiceTextSize = KoGa3ChoiceTextSizedefault define persistent.KoGa3TextOutline7 = KoGa3TextOutline7default define persistent.KoGa3TextOutline8 = KoGa3TextOutline8default define persistent.KoGa3TextOutline9 = KoGa3TextOutline9default # style choice_button_text is default: # properties gui.button_text_properties("choice_button") # outlines [(2, "#000", 0, 0)] define gui.choice_button_width = 1200 init 999: style choice_vbox: xalign 0.5 yalign 0.5 yanchor 0.5 spacing gui.choice_spacing screen choice(items): style_prefix "choice" vbox: for i in items: textbutton i.caption: action i.action text_outlines [ ( persistent.KoGa3TextOutline7, "#000", persistent.KoGa3TextOutline8, persistent.KoGa3TextOutline9) ] text_size persistent.KoGa3ChoiceTextSize #---------------------Quick menu---------------------# define persistent.KoGa3QuickMenuButton = 1 define persistent.KoGa3QuickMenuShow = 1 define persistent.KoGa3_QuickMenu1_button_font = "KoGa3_QuickMenu1_button_text" define KoGa3QuickMenuTextSizedefault = 20 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 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) #---------------------Named saves---------------------# define persistent.KoGa3NamedSaves = 1 #(0 or 2 for Android) define KoGa3Saveyoffset = -285 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 24 text FileSaveName(slot): style "slot_name_text" size 24 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 24 text FileSaveName(slot): style "slot_name_text" size 24 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 -2 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() #---------------------Preferences adds---------------------# screen preferences(): tag menu use game_menu(_("Preferences"), scroll="viewport"): vbox: hbox: box_wrap True if renpy.variant("pc") or renpy.variant("web"): 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====================================# null height (4 * gui.pref_spacing) label _("Mod KoGa3") textbutton _("Settings..."): sensitive True action [ SetVariable("KoGa3DialogOptions", 1), Show("KoGa3ScreenBlank"), Show("KoGa3GameSettings") ] #=====================================KoGa3 additions====================================# vbox: if config.has_music: label _("Music Volume") hbox: bar value Preference("music 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" if renpy.has_label("KoGa3QuickMusicAddonCheck"): null height (2 * gui.pref_spacing) label _("Mod KoGa3: Main menu music") #KoGa3 hbox: hbox: style_prefix "check" if persistent.KoGa3main_menu_music is True: textbutton _("ON "): selected True action NullAction() else: textbutton _("ON "): selected False action [ Play("music", "music/calm-and-happy.mp3"), SetVariable("persistent.KoGa3main_menu_music", True) ] hbox: textbutton _(" "): selected True action NullAction() hbox: style_prefix "check" if persistent.KoGa3main_menu_music is False: textbutton _("OFF"): selected True action NullAction() else: textbutton _("OFF"): selected False action [ Stop("music"), SetVariable("persistent.KoGa3main_menu_music", False) ] #---------------------Main menu---------------------# screen navigation(): vbox: style_prefix "navigation" xpos gui.navigation_xpos yalign 0.56 spacing gui.navigation_spacing if main_menu: textbutton _("Start") action Start("KoGa3GameStartLabel") #KoGa3 else: textbutton _("History") action ShowMenu("history") textbutton _("Save") action ShowMenu("save") textbutton _("Load") action ShowMenu("load") textbutton _("Preferences") action ShowMenu("preferences") if _in_replay: textbutton _("End Replay") action EndReplay(confirm=True) elif not main_menu: textbutton _("Main Menu") action MainMenu() textbutton _("About") action ShowMenu("about") if renpy.variant("pc"): ## Help isn't necessary or relevant to mobile devices. textbutton _("Help") action ShowMenu("help") ## The quit button is banned on iOS and unnecessary on Android. textbutton _("Quit") action Quit(confirm=not main_menu)