init python: class QuestTuple: def __init__(self, name, hint, phase): self.name = name self.hint = hint if phase > 0 and talk.small_talk: self.phase = "(%d)" % phase else: self.phase = "" screen s_quests_ui: $ quest_index = 0 $ quest_offset = 0 hbox: xpos 0 ypos 0 add "images/locations/ui/locations_bg.png" vpgrid: cols 12 spacing 41 draggable True mousewheel True xpos 10 + quest_offset ypos 160 ysize 540 for quest in quests.list: $ quest_index += 1 $ imagename = quest.thumbnail if (True): imagebutton: idle imagename + "_fn.png" hover imagename + "_hl.png" hovered SetVariable("quest_text", QuestTuple(quest.name, "Finished", quest.phase)) unhovered SetVariable("quest_text", QuestTuple("", "", 0)) action Return(quest) hbox: xalign 1.0 ypos 10 xpos 1910 imagebutton: idle "images/ui_buttons/btn_back_nm.png" hover "images/ui_buttons/btn_back_hl.png" action Return(True) hbox: xpos 10 ypos 40 text "[quest_text.name] {i}[quest_text.phase]{/i}" style "calendar_text" hbox: xpos 10 ypos 700 text "[quest_text.hint]" style "calendar_text" screen s_quest_scenes_ui: hbox: xpos 0 ypos 0 add "images/locations/ui/locations_bg.png" vpgrid: cols 4 spacing 40 draggable True mousewheel True xpos 10 ypos 160 ysize 830 for scn in chosen_quest.scenes: if (True): $ imagename = "images/thumbnails/" + scn.thumbnail imagebutton: idle imagename + "_nm.png" hover imagename + "_hl.png" action Return(scn) hbox: xalign 1.0 ypos 10 xpos 1910 imagebutton: idle "images/ui_buttons/btn_back_nm.png" hover "images/ui_buttons/btn_back_hl.png" action Return(None) hbox: xpos 10 ypos 40 text "[quest_text.name]" style "calendar_text" label show_quest_help_end_game: hide window hide screen gui_actions python: in_scene_replay_mode = True quest_text = QuestTuple("", "", 0) chosen_quest = None while chosen_quest is None: chosen_quest = renpy.call_screen("s_quests_ui") if chosen_quest is True: renpy.jump("close_quest_screen_end_game") chosen_scene = None while not chosen_scene: chosen_scene = renpy.call_screen("s_quest_scenes_ui") if chosen_scene is True: renpy.jump("show_quest_help_end_game") else: renpy.scene() renpy.show("black") renpy.call_in_new_context("full_"+chosen_scene.jump_label) chosen_scene = None jump action_wait label show_quest_help: hide window hide screen gui_actions python: in_scene_replay_mode = True quest_text = QuestTuple("", "", 0) chosen_quest = None while chosen_quest is None: chosen_quest = renpy.call_screen("s_quests_ui") if chosen_quest is True: renpy.jump("close_quest_screen") chosen_scene = None while not chosen_scene: chosen_scene = renpy.call_screen("s_quest_scenes_ui") if chosen_scene is True: renpy.jump("show_quest_help") else: renpy.scene() renpy.show("black") renpy.call_in_new_context(chosen_scene.jump_label) chosen_scene = None jump action_wait label close_quest_screen_end_game: $ in_scene_replay_mode = False hide screen s_quests_ui scene game_end jump wait_end_game label close_quest_screen: $ in_scene_replay_mode = False hide screen s_quests_ui jump go_to_location # Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc