summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/core.rpy5
-rw-r--r--game/options.rpy2
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
-