From 515e444e723525d251bdad80ccc9b1209a3abf46 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 10 May 2021 01:08:17 -0300 Subject: USE_DUMMY_DATA is now set by command-line ./Mana-Launcher.sh . adv dummy --- game/core.rpy | 5 +++++ game/options.rpy | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/game/core.rpy b/game/core.rpy index a9e2c0c..343a703 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -206,7 +206,9 @@ default SCR_RESULT = None ## Command Line Interface init -4 python: + USE_DUMMY_DATA = False def parse_command(): + global USE_DUMMY_DATA parser = renpy.arguments.ArgumentParser() ## Collect args @@ -223,6 +225,9 @@ init -4 python: if ("steam" in args): print("Steam Mode Enabled") persistent.steam = True + if ("dummy" in args): + print("Dummy Mode Enabled") + USE_DUMMY_DATA = True return True renpy.arguments.register_command('adv', parse_command) diff --git a/game/options.rpy b/game/options.rpy index c89f79a..b38e4df 100644 --- a/game/options.rpy +++ b/game/options.rpy @@ -250,5 +250,3 @@ init python: define config.steam_appid = 1570940 define discord_id = 840427221193195541 -define USE_DUMMY_DATA = False - -- cgit v1.2.3-60-g2f50