Browse Source

Fix for makeQSP

Kris 3 years ago
parent
commit
24f2cc1e9e
3 changed files with 8 additions and 8 deletions
  1. 4 4
      MakeQSP.bat
  2. 4 4
      locations/exercise.qsrc
  3. 0 0
      tools/glife-notepad++

+ 4 - 4
MakeQSP.bat

@@ -5,8 +5,8 @@
 :: set CP_TO=..\GL_ECV
 
 :: This is the program used to open the QSPFILE. If you comment this line windows will launch the default app for the ".qsp" extension.
-set QSPGUI=QSP\Player-video\qspgui.exe
-set QGEN=QSP\QGen5\QGen.exe
+set QSPGUI=tools\Player-video\qspgui.exe
+set QGEN=tools\QGen5\QGen.exe
 
 :: The file that will be generated or open
 set QSPFILE=glife.qsp
@@ -75,8 +75,8 @@ echo.
 echo Building ...
 
 @ECHO ON
-python txtmerge.py locations glife.txt
-txt2gam.exe glife.txt %QSPFILE% > nul
+python tools/txtmerge.py locations glife.txt
+tools/txt2gam.exe glife.txt %QSPFILE% > nul
 @ECHO OFF
 
 echo.

+ 4 - 4
locations/exercise.qsrc

@@ -503,7 +503,7 @@ if $ARGS[0] = 'tier1':
 	pcs_energy -= 1
 	pcs_hydra -= 2
 	pcs_mood += 3
-	if $ARGS[3] = '':
+	if $ARGS[3] = 0:
 		dynamic '<<$ARGS[2]>> += 1'
 		if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
 			dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
@@ -541,7 +541,7 @@ if $ARGS[0] = 'tier2':
 	pcs_energy -= 2
 	pcs_hydra -= 4
 	pcs_mood += 5
-	if $ARGS[3] = '':
+	if $ARGS[3] = 0:
 		dynamic '<<$ARGS[2]>> += rand(2,3)'
 		if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
 			dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
@@ -578,7 +578,7 @@ if $ARGS[0] = 'tier3':
 	pcs_energy -= 3
 	pcs_hydra -= 6
 	pcs_mood += 5
-	if $ARGS[3] = '':
+	if $ARGS[3] = 0:
 		dynamic '<<$ARGS[2]>> += rand(3,5)'
 		if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
 			dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
@@ -615,7 +615,7 @@ if $ARGS[0] = 'tier4':
 	pcs_energy -= 4
 	pcs_hydra -= 12
 	pcs_mood += 5
-	if $ARGS[3] = '':
+	if $ARGS[3] = 0:
 		dynamic '<<$ARGS[2]>> += rand(7,10)'
 		if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
 			dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'

+ 0 - 0
glife-notepad++ → tools/glife-notepad++