From 91abc6f87f664146a1afda114988254382dc7c09 Mon Sep 17 00:00:00 2001 From: Map Date: Thu, 3 Oct 2024 10:15:14 -0500 Subject: [PATCH] Move some config vars to options.rpy --- game/options.rpy | 9 +++++++++ game/script.rpy | 11 ----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/game/options.rpy b/game/options.rpy index e549fe1..4e16c0e 100644 --- a/game/options.rpy +++ b/game/options.rpy @@ -137,6 +137,15 @@ define config.developer = "auto" default persistent.enable_debug_scores = config.developer default persistent.enable_chapter_select = config.developer +default persistent.lewd = False +default persistent.autoup = False + +init python: + # No idea what this does + if persistent.scroll == True: + config.keymap['dismiss'].append('mousedown_4') + elif persistent.scroll == None: + persistent.scroll = False ##Default Audio is not ear rape define config.default_music_volume = 0.48 diff --git a/game/script.rpy b/game/script.rpy index eba98e5..0b38d18 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -34,12 +34,6 @@ init python: renpy.music.register_channel("ambient2","sfx",True,tight=True) renpy.music.register_channel("ambient3","sfx",True,tight=True) - # No idea what this does - if persistent.scroll == True: - config.keymap['dismiss'].append('mousedown_4') - elif persistent.scroll == None: - persistent.scroll = False - # Set vars for bonus chapter completion if persistent.bonus_chapters == None: if renpy.seen_image("big ending"): #for returning players @@ -56,11 +50,6 @@ init python: choices.reverse() return choices - pass - -default persistent.lewd = False -default persistent.autoup = False - label start: