Ver Fonte

[changed] made the apartment and house accessible at same time if both owned

Anya há 2 anos atrás
pai
commit
45ded556b0
1 ficheiros alterados com 9 adições e 7 exclusões
  1. 9 7
      locations/city_residential.qsrc

+ 9 - 7
locations/city_residential.qsrc

@@ -74,8 +74,16 @@ if car > 0 and cardrive = 1 or cardrive = 8:
 	end
 end
 
+if home_owned[15] = 1:
+	'Your <a href="exec: minut += 10 & gs ''city_house_res_misc'', ''fronty''">house</a> is within walking distance.'
+	act '<b>Go to your house</b>':
+		minut += 10
+		gt 'city_house_res_misc', 'fronty'
+	end
+end
+
 if home_owned[1] > 0:
-	act '<b>Go home</b>':
+	act '<b>Go to your apartment</b>':
 		gorand = rand(0, 100)
 
 		if (loh > 0 or gnewQW = 7) and gopdolg > 0 and hour >= 20 and gorand >= 80:
@@ -90,12 +98,6 @@ if home_owned[1] > 0:
 		minut += 1
 		gt 'korr'
 	end
-elseif home_owned[15] = 1:
-	'Your <a href="exec: minut += 10 & gs ''city_house_res_misc'', ''fronty''">house</a> is within walking distance.'
-	act '<b>Go home</b>':
-		minut += 10
-		gt 'city_house_res_misc', 'fronty'
-	end
 end
 
 act 'Wait':gs 'obj_din', 'wait'