Pārlūkot izejas kodu

[fixed] bug in mansion stuff

Alaratt 2 gadi atpakaļ
vecāks
revīzija
14d9e22181

+ 3 - 4
locations/city_mansion_residence_1.qsrc

@@ -43,7 +43,6 @@ if $ARGS[0] = 'yfoyer':
 		'There''s a <a href="exec:gt ''mirror'', ''start''">mirror</a> hanging on the wall.'
 		if umbrella > 0:'There''s an umbrella hanging on a hook by the door.'
 		act 'Go to your bedroom': gt 'city_mansion_residence_1', 'ybedroom'
-		act 'Go to your nursery': gt 'city_mansion_residence_2', 'ynursery'
 		act 'Go to your bathroom': gt 'city_mansion_residence_1', 'ybathroom'
 		act 'Go to your kitchen': gt 'city_mansion_residence_1', 'ykitchen'
 		act 'Go to your living room': gt 'city_mansion_residence_2', 'yliving'
@@ -51,10 +50,10 @@ if $ARGS[0] = 'yfoyer':
 		act 'Go to your library': gt 'city_mansion_residence_2', 'ylibrary'
 		act 'Go to your office': & gt 'city_mansion_residence_2', 'yoffice'
 		act 'Go to your nursery': gt 'city_mansion_residence_2', 'ynursery'
-		act 'Go to your gym': gt 'city_mansion_residence_3', 'ygym'
+		act 'Go to your gym': minut += 1 & gt 'city_mansion_residence_3', 'ygym'
 	end
-	if bassMansion = 1:act 'Go to your pool': gt 'city_mansion_residence_3', 'ypool'
-	if banaMansion >= 1:act 'Go to your sauna': gt 'city_mansion_residence_3', 'ysauna'
+	if bassMansion = 1:act 'Go to your pool': minut += 1 & gt 'city_mansion_residence_3', 'ypool'
+	if banaMansion >= 1:act 'Go to your sauna': minut += 1 & gt 'city_mansion_residence_3', 'ysauna'
 end
 
 if $ARGS[0] = 'ybedroom':

+ 3 - 3
locations/city_mansion_residence_3.qsrc

@@ -20,7 +20,7 @@ if $ARGS[0] = 'ygym':
 		'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
 	end
 
-	act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
+	act 'Leave the room': minut += 1 & gt 'city_mansion_residence_1', 'yfoyer'
 	if bassMansion = 1: act 'Go to your pool area': gt 'city_mansion_residence_3', 'ypool'
 	if banaMansion >= 1: act 'Go to your sauna': gt 'city_mansion_residence_3', 'ysauna'
 
@@ -45,7 +45,7 @@ if $ARGS[0] = 'ypool':
 	'<center><b><font color="maroon">Swimming Pool</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_pool.jpg"></center>'
 
-	act 'Go back inside': gt 'city_mansion_residence_1', 'yfoyer'
+	act 'Go back inside': minut += 1 & gt 'city_mansion_residence_1', 'yfoyer'
 	act 'Go into your gym': gt 'city_mansion_residence_3', 'ygym'
 	act 'Go to your sauna': gt 'city_mansion_residence_3', 'ysauna'
 	act 'Swim (1:00)':
@@ -101,7 +101,7 @@ if $ARGS[0] = 'ysauna':
 	'<center><b><font color="maroon">Sauna</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_sauna.jpg"></center>'
 
-	act 'Go back inside': gt 'city_mansion_residence_1', 'yfoyer'
+	act 'Go back inside': minut += 1 & gt 'city_mansion_residence_1', 'yfoyer'
 	act 'Go into your gym': gt 'city_mansion_residence_3', 'ygym'
 	act 'Go to your pool': gt 'city_mansion_residence_3', 'ypool'
 	act 'Use the sauna (1:00)':

+ 1 - 1
locations/set_home.qsrc

@@ -25,7 +25,7 @@ elseif curr_home = 5:
 	$home_name = 'My mansion'
 	$home_town = 'city'
 	$home_location = 'city_mansion_entrance'
-	$home_entrance = 'city_mansion_residence'
+	$home_entrance = 'city_mansion_residence_1'
 elseif curr_home = 6:
 	$home_name = 'My hotel room in Pavlovsk'
 	$home_town = 'pavlovsk'