1
0
Selaa lähdekoodia

[fixed] sexloc return location

julzor 5 vuotta sitten
vanhempi
säilyke
d9ce84f8ae

+ 2 - 2
locations/Military.qsrc

@@ -3,8 +3,8 @@
 if $ARGS[0] = 'start':
 	CLOSE ALL
 	$metka = $ARGS[0]
-	$loc = $CURLOC
-	$sexloc = $CURLOC
+	$loc = 'Military'
+	$sexloc = 'Military'
 	$menu_loc = 'Military'
 	$menu_arg = 'start'
 	menu_off = 0

+ 1 - 1
locations/billiard.qsrc

@@ -1,5 +1,5 @@
 # billiard
-$sexloc = $CURLOC
+$sexloc = 'billiard'
 $menu_loc = 'billiard'
 $menu_arg = ''
 menu_off = 0

+ 2 - 2
locations/bordel.qsrc

@@ -21,9 +21,9 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
 end
 
 if $ARGS[0] = 'brothel':
-	$sexloc = $CURLOC
+	$sexloc = 'bordel'
 	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$loc = 'bordel'
     $location_type = 'private'
 	$menu_loc = 'bordel'
 	$menu_arg = 'brothel'

+ 1 - 1
locations/bouling.qsrc

@@ -1,7 +1,7 @@
 # bouling
 
 if $ARGS[0] = 'start' or $ARGS[0] = '':
-	$sexloc = $CURLOC
+	$sexloc = 'bouling'
 	*clr & cla
 	$loc = 'bouling'
 	$metka = 'start'

+ 1 - 1
locations/club.qsrc

@@ -8,7 +8,7 @@ if $ARGS[0] = 'start':
 	$menu_arg = 'start'
 	menu_off = 0
 	$location_type = 'public_outdoors'
-	$sexloc = $curloc
+	$sexloc = 'club'
 	*clr & cla
 	minut += 5
 	gs 'stat'

+ 5 - 13
locations/katspalnya.qsrc

@@ -1,5 +1,5 @@
 # katspalnya
-$sexloc = $CURLOC
+$sexloc = 'katspalnya'
 
 if $ARGS[0] = 'start':
 	$metka = 'start'
@@ -23,9 +23,7 @@ if $ARGS[0] = 'start':
 end
 
 if $ARGS[0] = 'katslip':
-	cla
-	clr
-	*clr
+	*clr & cla
 	minut += 30
 
 	if katjob = 0 and npc_rel['A219'] > 60:gt 'katspalnya', 'katjobs'
@@ -39,9 +37,7 @@ if $ARGS[0] = 'katslip':
 end
 
 if $ARGS[0] = 'kat':
-	cla
-	clr
-	*clr
+	*clr & cla
 	minut += 30
 
 	if katjob = 0 and npc_rel['A219'] > 60:gt 'katspalnya', 'katjobs'
@@ -54,9 +50,7 @@ if $ARGS[0] = 'kat':
 	if npc_rel['A219'] > 50:act 'Seduce her':gt 'lezbsex', 'start'
 
 	act 'Chat with Kat':
-		cla
-		clr
-		*clr
+		*clr & cla
 
 		if telkat = 0:telkat = 1
 
@@ -70,9 +64,7 @@ if $ARGS[0] = 'kat':
 end
 
 if $ARGS[0] = 'katjobs':
-	cla
-	clr
-	*clr
+	*clr & cla
 	katjob = 1
 	minut += 30
 	'<center><img <<$set_imgh>> src="images/characters/city/katja/kat.jpg"></center>'

+ 1 - 1
locations/nichBedroomTanja.qsrc

@@ -10,7 +10,7 @@ $nichLoc = 'bedroomTanya'
 $menu_arg = ''
 menu_off = 0
 
-$sexloc = $CURLOC
+$sexloc = 'nichBedroomTanja'
 gs 'stat'
 
 !! Argument return: PC has been in the room before, dont perform actions meant to be executed before or as she enters the room.

+ 1 - 1
locations/park.qsrc

@@ -20,7 +20,7 @@ if $ARGS[0] = 'start':
 		end
 	end
 
-	$sexloc = $CURLOC
+	$sexloc = 'park'
 
 	if WalkInsidePark = 0:WalkInsidePark = 1
 	*clr & cla

+ 1 - 1
locations/paysex.qsrc

@@ -212,7 +212,7 @@ if $ARGS[0] = 'end':
 		elseif picrand = 18:
 			gt 'husbSex', 'dolgend'
 		else
-			gt '<<$sexloc>>', 'start'
+			gt $sexloc, 'start'
 		end
 	end
 end

+ 1 - 1
locations/poli.qsrc

@@ -3,7 +3,7 @@ $location_type = 'public_indoors'
 
 if $ARGS[0] = 'start':
 	CLOSE all
-	$sexloc = $CURLOC
+	$sexloc = 'poli'
 	$loc = 'poli'
 	$location_type = 'indoors'
 	$menu_loc = 'poli'

+ 1 - 1
locations/sexdvoe.qsrc

@@ -412,7 +412,7 @@ if $ARGS[0] = 'end':
 			kafesexrand = 0
 			gt 'kafe', 'workPred'
 		end
-		gt '<<$sexloc>>', 'start'
+		gt $sexloc, 'start'
 	end
 end
 

+ 1 - 1
locations/tanroom.qsrc

@@ -8,7 +8,7 @@ $menu_loc = 'tanroom'
 $menu_arg = ''
 menu_off = 0
 
-$sexloc = $CURLOC
+$sexloc = 'tanroom'
 gs 'stat'
 '<center><b>Tanya''s Room</b></center>'
 '<center><img <<$set_imgh>> src="images/characters/city/nicholas/apartment/bedroomTanja.jpg"></center>'

+ 1 - 1
locations/vipclub.qsrc

@@ -1,6 +1,6 @@
 # vipclub
 if $ARGS[0] = 'start':
-	$sexloc = $CURLOC
+	$sexloc = 'vipclub'
     $location_type = 'public_indoors'
 	$menu_loc = 'vipclub'
 	$menu_arg = 'start'

+ 1 - 1
locations/young_shop.qsrc

@@ -1,7 +1,7 @@
 # young_shop
 
 if $ARGS[0] = 'start':
-	$sexloc = $CURLOC
+	$sexloc = 'young_shop'
 	gs 'themes', 'indoors'
 	$menu_loc = 'young_shop'
 	$menu_arg = 'start'