Quellcode durchsuchen

New bank branch in Pav. Could do with a new picture.

KevinSmarts vor 8 Jahren
Ursprung
Commit
4a4845a23f
3 geänderte Dateien mit 18 neuen und 3 gelöschten Zeilen
  1. 16 2
      locations/bank
  2. 1 1
      locations/down
  3. 1 0
      locations/pavCommercial

+ 16 - 2
locations/bank

@@ -31,7 +31,14 @@ if $ARGS[0] = 'start':
 			gs 'stat'
 			'You went to the office and gave the documents to the manager.'
 
-			act 'Leave':minut += 5 & gt 'down'
+			act 'Leave':
+				minut += 5
+				if bankloc = 1:
+					gt 'down'
+				else
+					gt 'pavCommercial'
+				end
+			end
 		end
 	end
 
@@ -77,7 +84,14 @@ if $ARGS[0] = 'start':
 		end
 	end
 
-	act 'Leave':gt 'down'
+	act 'Leave':
+		minut += 5
+		if bankloc = 1:
+			gt 'down'
+		else
+			gt 'pavCommercial'
+		end
+	end
 end
 
 --- bank ---------------------------------

+ 1 - 1
locations/down

@@ -129,7 +129,7 @@ if bordel > 0 and hour >= 20 or bordel > 0 and hour <= 3:'Inside the courtyard i
 if pornstudio >= 1 and hour > 5:'At the <a href="exec:gt ''pornstudio'', ''start''">Porn Studio</a>, where a variety of naughty movies are created'
 if week < 6 and hour >= 7:'At the <a href="exec:gt ''univer'', ''start''">University</a> where you can earn your diploma.'
 if student > 0 or (hour >= 6 and hour <= 23):'The <a href="exec:gt ''dorm'', ''start''">Hostel</a> offers a small, but cheap, living space, for university students.'
-if week < 6 and hour >= 9 and hour <= 18:'You can see the most important <a href="exec:gt ''bank'', ''start''">Bank</a> in the city from here.'
+if week < 6 and hour >= 9 and hour <= 18:'You can see the most important <a href="exec:bankloc = 1 & gt ''bank'', ''start''">Bank</a> in the city from here.'
 if week < 6 and hour >= 8 and hour <= 17:'In the largest skyscraper is a huge <a href="exec:gt ''office'', ''start''">Project Organization</a> located.'
 if hour >= 8 and hour <= 22:'At the <a href="exec:gt ''agentned'',''start''">Real Estate Agency</a> you can buy or rent an apartment.'
 

+ 1 - 0
locations/pavCommercial

@@ -83,6 +83,7 @@ if hour >= 8 and hour <= 17:'The local <a href="exec: minut += 3 & gt ''barbersh
 if hour >= 7 and hour <= 18:'Pavlovsk has a <a href="exec:gt ''etoexhib'', ''pos20''">vocational school</a>, where young adults can learn a trade.'
 if hour >= 8 and hour <= 22:'Right outside your apartment, a <a href="exec:dynamic $kiosksig">kiosk</a> sells cigarettes and magazines.'
 if hour >= 8 and hour <= 20:'There is a big chain <a href="exec:gt ''shop'', ''start''">supermarket</a> nearby.'
+if week < 6 and hour >= 9 and hour <= 18:'You can see the most important <a href="exec:bankloc = 0 & gt ''bank'', ''start''">Bank</a> in the city from here.'
 
 'A <a href="exec:minut += 15 & gt ''Gshveyfab'', ''start''">garment factory</a> named Paris Commune is situated in the industrial area on the outskirts of town, close to the highway.'