summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-10 01:08:17 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-10 01:08:17 -0300
commit515e444e723525d251bdad80ccc9b1209a3abf46 (patch)
tree46727bb289af58292e8b6174b672f8f4b91324ff
parent2f15dc17ac2b68bba0d1bd44bfd57b6c6881e4cf (diff)
downloadrenpy-515e444e723525d251bdad80ccc9b1209a3abf46.tar.gz
renpy-515e444e723525d251bdad80ccc9b1209a3abf46.tar.bz2
renpy-515e444e723525d251bdad80ccc9b1209a3abf46.tar.xz
renpy-515e444e723525d251bdad80ccc9b1209a3abf46.zip
USE_DUMMY_DATA is now set by command-linev2021.05.10
./Mana-Launcher.sh . adv dummy
-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
-