summaryrefslogtreecommitdiff
path: root/game/core.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/core.rpy')
-rw-r--r--game/core.rpy5
1 files changed, 5 insertions, 0 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)