Переглянути джерело

[Changed] Added the possibility to take a taxi to and from the city suburbs, and made the metro ride to the suburbs longer.

bgkjdgbizgblzdgbr 3 роки тому
батько
коміт
b5dcedb1dc
3 змінених файлів з 16 додано та 2 видалено
  1. 3 1
      locations/city_suburbs.qsrc
  2. 5 1
      locations/metro.qsrc
  3. 8 0
      locations/taxi.qsrc

+ 3 - 1
locations/city_suburbs.qsrc

@@ -14,7 +14,9 @@ if $ARGS[0]='start':
 
 	if car > 0 and cardrive = 28:'Your <a href="exec:GS ''carF'', ''start''"><<$car>></a> stands on the street.'
 
-    if hour >= 4 and hour <= 23:'The <a href="exec: minut += 5 & gt ''metro'', ''start''">Metro</a> station is only a short walk from here.'
+    if hour >= 4 and hour <= 23:'The <a href="exec: minut += 20 & gt ''metro'', ''start''">Metro</a> station is a 20 minut walk from here.'
+
+	gs 'taxi'
 
 	if AlexandriaQW > 6:
 		if hour > 7 and hour < 20:'You can visit <a href="exec: minut += 5 & gt ''AlexandriaHome'', ''intercom''">Aleksei''s home</a> if you want to see the cranky wizard.'

+ 5 - 1
locations/metro.qsrc

@@ -36,7 +36,11 @@ if $ARGS[0] = 'start':
 	end
 
 	act 'Leave the Metro station':
-		minut += 5
+		if $loc = 'city_suburbs':
+			minut += 20
+		else
+			minut += 5
+		end
 		gt $loc, $loc_arg
 	end
 	

+ 8 - 0
locations/taxi.qsrc

@@ -84,6 +84,14 @@ if $ARGS[0] = 'locations':
 			gt 'taxi', 'trip'
 		end
 	end
+
+	if $loc ! 'city_suburbs':
+		act 'Go to the city suburbs':
+			$loc = 'city_suburbs'
+			$loc_arg = 'start'
+			gt 'taxi', 'trip'
+		end
+	end
 end
 
 if $ARGS[0] = 'ride':