浏览代码

[added] Link for Olu's taxi at the train station from nutluck and code from Violat Kitten

KevinSmarts 4 年之前
父节点
当前提交
f45fde549c
共有 1 个文件被更改,包括 18 次插入10 次删除
  1. 18 10
      locations/pavtrainhall.qsrc

+ 18 - 10
locations/pavtrainhall.qsrc

@@ -24,11 +24,23 @@ if $ARGS[0] = '':
 	*nl
 	
 	*nl
-	if StoryLine = 1 and SchoolAtestat = 0:
-		if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:
-			'You see your classmates <a href="exec:minut += 3 & $prevloc = $loc & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
+	if rand(0,2) = 0 and week < 5 and hour <= 8 and hour > 18:
+!!a 1 in 3 chances at those times he is here
+		if OluQW['met'] = 0:
+!!this is just added to the above description of the train station with no interactions
+			'You see a very large black man, dressed fairly nice sitting on one of the benches. When some people head for the exit he gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
+		else
+			VK = rand (1,5)
+			if week = 1 and VK = 1:
+				djibril_taxi = 1 !!or what ever code you want to use it will get reset for next act
+				'You see your aunts boyfriend <a href="exec:minut += 1 & gt ''olutaxi'', ''station''">Olu</a> sitting on one of the benches, dressed fairly nicely, next to him sits a younger man that looks similar enough to them that they might be related. When some people head for the exit Olu gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
+			else
+				'You see your aunts boyfriend <a href="exec:minut += 1 & gt ''olutaxi'', ''station''">Olu</a> sitting on one of the benches, dressed fairly nicely. When some people head for the exit he gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
 		end
 	end
+	if StoryLine = 1 and SchoolAtestat = 0:
+		if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:'You see your classmates <a href="exec:minut += 3 & $prevloc = $loc & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
+	end
 	*nl
 	if podbros = 0:
 		podrand = rand(0, 1)
@@ -98,9 +110,7 @@ if $ARGS[0] = '':
 	if poezddalsled = 1:
 		'The platform is bustling with passengers that are entering or leaving the currently waiting train, carrying their heavy bags with them. Several police officers are patrolling the platforms while the train is here, keeping an eye out for any unruly activities.'
 
-		if tovarL > 0:
-			act 'Sell your goods to passengers':gt 'pavtrainhall_events', 'trinkets'
-		end
+		if tovarL > 0:act 'Sell your goods to passengers':gt 'pavtrainhall_events', 'trinkets'
 	end
 
 	act 'Wait':gs 'obj_din', 'wait'
@@ -132,9 +142,7 @@ if $ARGS[0] = 'platform':
 	*nl
 	'Because Pavlovsk is a place that attracts a fair amount of tourists, the station can be quite busy at times. The busiest times on the platforms are between 11:00 and 11:30, and between 18:00 and 18:30 when the long-distance trains are ready for boarding.'
 	*nl
-	if week >= 6 and hour >= 9 and hour <= 10:
-		'You notice <a href="exec:gt ''gschool_socialchg1'', ''tBella''">Bella</a> standing at the train station platform, looking at the time table.'
-	end
+	if week >= 6 and hour >= 9 and hour <= 10:'You notice <a href="exec:gt ''gschool_socialchg1'', ''tBella''">Bella</a> standing at the train station platform, looking at the time table.'
 
 	act 'Enter the station building': gt'pavtrainhall'
 
@@ -179,7 +187,7 @@ if $ARGS[0] = 'work':
 			'<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
 			'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and head into the men''s restroom.'
 			gs 'pavtrainhall_events', 'toilet_event'
-			!!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
+			!!'You began to wash the floor in the men''s room, and then began to scrub toilets.' <== How exciting! <3 VK
 
 			act 'Leave restroom':minut += 1 & gt 'pavtrainhall', 'work'
 		end