瀏覽代碼

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

Anya 2 年之前
父節點
當前提交
45ded556b0
共有 1 個文件被更改,包括 9 次插入7 次删除
  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'