1
0
rachels преди 3 години
родител
ревизия
cf759289e7

+ 4 - 4
isample_mod/locations/mod_isample.qsrc

@@ -30,17 +30,17 @@ if $curloc = 'bedrPar':
 end
 end
 
 
 !entry point 4: access in-mod location
 !entry point 4: access in-mod location
-if $curloc = 'pavResidential':
+if $curloc = 'pav_residential':
 	act '[mod]Chase the rabbit':
 	act '[mod]Chase the rabbit':
-		gt 'mod_isample_pavResidential'
+		gt 'mod_isample_pav_residential'
 	end
 	end
 end
 end
 
 
-if $curloc = 'street':
+if $curloc = 'city_residential':
 	act '[mod]Jump into rabit hole':
 	act '[mod]Jump into rabit hole':
 		*clr & cla
 		*clr & cla
 		'[mod]Suddenly, everything blank out'
 		'[mod]Suddenly, everything blank out'
-		gs 'mod_isample_street'
+		gs 'mod_isample_city_residential'
 	end
 	end
 end
 end
 --- mod_isample ---------------------------------
 --- mod_isample ---------------------------------

+ 3 - 3
isample_mod/locations/mod_isample_city_residential.qsrc

@@ -1,7 +1,7 @@
-# mod_isample_street
+# mod_isample_city_residential
 !mod event. remember to add a act to exit
 !mod event. remember to add a act to exit
 '[mod-isample]'
 '[mod-isample]'
 'You try to jump into rabbit hole, sadly, this is only a sample mod, so you can not even find a hole to jump.'
 'You try to jump into rabbit hole, sadly, this is only a sample mod, so you can not even find a hole to jump.'
-act 'Back to street': gt 'street'
---- mod_isample_street ---------------------------------
+act 'Back to street': gt 'city_residential'
+--- mod_isample_city_residential ---------------------------------
 
 

+ 3 - 3
isample_mod/locations/mod_isample_pav_residential.qsrc

@@ -1,7 +1,7 @@
-# mod_isample_pavResidential
+# mod_isample_pav_residential
 !mod event. remember to add a act to exit
 !mod event. remember to add a act to exit
 '[mod-isample]'
 '[mod-isample]'
 'You try to chase the rabbit in town, sadly, this is only a sample mod, so there are no rabbit in sight.'
 'You try to chase the rabbit in town, sadly, this is only a sample mod, so there are no rabbit in sight.'
-act 'Back to town': gt 'pavResidential'
---- mod_isample_pavResidential ---------------------------------
+act 'Back to town': gt 'pav_residential'
+--- mod_isample_pav_residential ---------------------------------
 
 

+ 2 - 2
isample_mod/locations/mod_isample_setup.qsrc

@@ -19,8 +19,8 @@ $mod_info[3] = 'This is a sample for new mod system, please fill your own mod in
 $mod_info[4] = 'Options'
 $mod_info[4] = 'Options'
 !4=mod options/settings link name.
 !4=mod options/settings link name.
 
 
-
-if curloc = 'mod_<<$mod_info[0]>>_setup':
+! be aware, the following condition is case sensitive, you can use lcase() or ucase() to shft them before check. 
+if $curloc = 'mod_<<$mod_info[0]>>_setup':
 	usehtml = 1
 	usehtml = 1
 	!this will be only showed if you exec mod file. This location should be only called by gs, so this line will not trigger on normal mod playing
 	!this will be only showed if you exec mod file. This location should be only called by gs, so this line will not trigger on normal mod playing
 	'<center><h1><font color=red>ACCESS DENIED</font></h1></center>'
 	'<center><h1><font color=red>ACCESS DENIED</font></h1></center>'