:: pav_train_hall[public indoors region_pav]

	<<set $poezddalsled = 0>>
	<h2>Pavlovsk train station interior</h2>
	<<image "locations/pavlovsk/trainstation/vokzal.jpg">>
	<p>
		Stepping into the station building you are greated by a large waiting room, where passengers await the trains.
		In one of the corners you can clearly see the station manager's office.<!--<<gt  'pav_train_hall_events'  'manager'"></a> -->
		<!--<<link 'toilets'>>. The <a href="exec:minut += 1 & gt 'pav_train_hall'  'toilet'>><</link>> are located farthest back of the building.'-->
		The toilets are located farthest back of the building.
	</p>
	<p>The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.</p>
	/*<<if rand(0,2) == 0 and $time.weekday < 5 and $time.hour >= 8 and $time.hour < 18>>
		<!-- !!a 1 in 3 chances at those times he is here-->
		<<if getvar("$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>>
			<<set $VK = rand(1,5)>>
			<<if $time.weekday == 1 and getvar("$VK") == 1>>
				<<setinit $DjibrilQW['taxi'] = 1>>
				<<if getvar("$DjibrilQW['meet']") == 1>>
					'You see your aunts boyfriend <<link 'Olu'>><<setn $time.minutes += 1>><<gt  'olutaxi'  'station'>><</link>> sitting on one of the benches, dressed fairly nicely, next to him sits his nephew Djibril. 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 <<link 'Olu'>><<setn $time.minutes += 1>><<gt  'olutaxi'  'station'>><</link>> 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.'
				<</if>>
			<<else>>
				'You see your aunts boyfriend <<link 'Olu'>><<setn $time.minutes += 1>><<gt  'olutaxi'  'station'>><</link>> 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.'
			<</if>>
		<</if>>
	<</if>>*/
	/*
	<<if setup.startingCharacterTagsIncludes('sg') and $pc.isSchoolStudent>>

		<<if ($sunWeather == 0 or $weather.temperature <= 0) and $time.hour >= 18 and $time.hour < 20 and $time.weekday < 6>>
			You see your classmates <<link "Vitek, Dan and Vasily">><<set $time.minutes +  = 3>> <<set $prevloc = $loc>> <<gt 'gopskver'>><</link>> hanging around here.
		<</if>>

	<</if>>
	<<if getvar("$podbros") == 0>>
		<<set $podrand = rand(0, 1)>>
		<<if $finances.cash >= 1000 and $time.hour >= 8 and $time.hour <= 20 and getvar("$podrand") == 0>>
			As you walk through the station building, you notice a man''s thick <<link "wallet">><<gt 'pav_train_hall_events' 'wallet1'>><</link>> fall out from his pocket, not far away from you.

		<</if>>
	<</if>> */
	<<ConnectedLocation 'Market' 'pav_market' '' 'locations/pavlovsk/pav_market_day.jpg' 3>>
	<<ConnectedLocation 'Commercial Area' 'pav_commercial' '' 'locations/pavlovsk/gorodok.jpg' 10>>
	<<ConnectedLocation 'Residential Area' 'pav_residential' '' 'locations/pavlovsk/pavres.jpg' 15>>
	<<ConnectedLocation 'Industrial Area' 'pav_industrial' '' 'locations/pavlovsk/factory/pav_factory.jpg' 15>>
	<<ConnectedLocation 'Five Eight estate' 'pav_complex' 'start' 'locations/pavlovsk/resident/apartment/complex.jpg' 35 `{priority:10000,hotkeys:['H']}`>>
	<<ConnectedLocation 'Highway' 'road' 20 'locations/highway/road.jpg' 15>>
	<<ConnectedLocation 'Pushkin' 'liam' '' 'locations/pushkin/liam.jpg' 15>>

	<<ConnectedLocation 'Restrooms - Men' 'pav_train_hall_wc_male' '' 'locations/pavlovsk/trainstation/vokzal.jpg' 1>>
	<<ConnectedLocation 'Restrooms - Women' 'pav_train_hall_wc_female' '' 'locations/pavlovsk/trainstation/vokzal.jpg' 1>>
	/*<<if $Trainpass_day > $time.daystart>>
		<p>You have Trainpass_day - daystart days left on your train pass.</p>
		<<act 'Go to the platforms'>>
			<<gt 'pav_train_platforms'>>
		<</act>>
	<<else>>*/
		<<act 'Ticket office'>>
			<<gt 'trainTicketOffice' 'pav'>>
		<</act>>
		<<trainTicketValidityLeft>>
		<<if (_ticketRemainingDays = setup.func('trainFunctions','ticketRemainingDays')) > 0>>
			<<gs 'trainDirectConnections' 'pav'>>
		<</if>>
	/*<</if>>*/
	/*<<if getvar("$snarkozak") == 1 and $pc.narkozakday != $time.day and $finances.cash >= 1500>>
		<<actCLA 'Find the drug dealer'>>
			<<gs 'events' 'snarkozaka'>>
		<</actCLA>>

	<</if>>*/
	/*<<if getvar("$vokzalVork") >= 1>>
		<<if $cleZalDay != $time.daystart or $cleMTDay != $time.daystart or $cleWTDay != $time.daystart>>
			<<act 'Work'>>
				<<gt 'pav_train_hall' 'work'>>
			<</act>>
		<<elseif $cleZarplatDay != $time.daystart>>
			<<set $cleZarplatDay = $time.daystart>>
			<<set $cleanDailypay += 250>>
			<<set $vokzalVork += 1>>
		<</if>>
	<</if>>*/
	/*<<if getvar("$cleanDailypay") > 0>>
		<<actCLA 'Collect your salary'>>
			<<set $menu_off = 1>>
			<center><h2>Pavlovsk train station interior</h2></center>
			<<image "locations/pavlovsk/trainstation/vokzal.jpg">>
			<<set $finances.cash += $cleanDailypay>>
			<<set $cleanDailypay = 0>>
			<<set $time.minutes += 3>>
			<p>When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.</p>
			<<actCLA 'Continue'>>
				<<set $time.minutes += 1>> <<gt 'pav_train_hall'>>
			<</actCLA>>
		<</actCLA>>
	<</if>>*/
	/*<<if $time.hour == 11 and $time.minutes == 0>>
		<<set $poezddalsled = 1>>
		<p>The 11:30 long-distance train is currently approaching the platform.</p>
	<<elseif $time.hour == 11 and $time.minutes > 0 and $time.minutes < 30>>
		<<set $poezddalsled = 1>>
		<p>The 11:30 long-distance train is currently waiting at the platform.</p>
	<<elseif $time.hour == 11 and $time.minutes == 30>>
		<<set $poezddalsled = 1>>
		<p>The 11:30 long-distance train is currently leaving the station.</p>
	<<elseif $time.hour == 18 and $time.minutes == 0>>
		<<set $poezddalsled = 1>>
		<p>The 18:30 long-distance train is currently approaching the platform.</p>
	<<elseif $time.hour == 18 and $time.minutes > 0 and $time.minutes < 30>>
		<<set $poezddalsled = 1>>
		<p>The 18:30 long-distance train is currently waiting at the platform.</p>
	<<elseif $time.hour == 18 and $time.minutes == 30>>
		<<set $poezddalsled = 1>>
		<p>The 18:30 long-distance train is currently leaving the station.</p>
	<</if>>*/
	/*<<if getvar("$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 getvar("$tovarL") > 0>>
			<<act 'Sell your goods to passengers'>>
				<<gt 'pav_train_hall_events' 'trinkets'>>
			<</act>>

		<</if>>
	<</if>>*/
/* :: pav_train_platforms[public outdoors]
	<h2>Pavlovsk station platforms</h2>
	<<image "locations/shared/train/pavplat.jpg">>
	<p>
		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.
	</p>
	<<if $time.weekday >= 6 and $time.hour >= 9 and $time.hour <= 10>>
		You notice <<link "Bella">><<gt 'gschool_socialchg1' 'tBella'>><</link>> standing at the train station platform, looking at the time table.

	<</if>>
	<<act 'Enter the station building'>>
		<<gt 'pav_train_hall'>>
	<</act>>
	<<if $Trainpass_day > $time.daystart>>
		<<act 'Take the train to the village of Gadukino'>>
			<<gt 'pav_train_hall' 'village'>>
		<</act>>
		<<act 'Take the train to the communal village'>>
			<<gt 'pav_train_hall' 'communal'>>
		<</act>>
		<<act 'Take the train to city industrial area'>>
			<<gt 'pav_train_hall' 'ind'>>
		<</act>>
		<<act 'Take the train to city center'>>
			<<gt 'pav_train_hall' 'centre'>>
		<</act>>
	<</if>>*/
/*
<<if $location_var[$here][0] == 'work'>>
	<<set $menu_off = 1>>
	<center><h2>Pavlovsk train station interior</h2></center>
	<<image "locations/pavlovsk/trainstation/vokzal.jpg">>
	<<if $cleZalDay != $time.daystart>>
		<<actCLA 'Mop the waiting room floor (1:00)'>>
			<<set $cleZalDay = $time.daystart>>
			<<gs 'exercise' 'tier1' 60 'stren' 'vital'>>
			<<set $pc.mood -= 6>>
			<<image "locations/city/residential/office/clener1.jpg">>
			You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and mop the station building floor.
			<<actCLA 'Continue'>>
				<<set $time.minutes += 1>> <<gt 'pav_train_hall' 'work'>>
			<</actCLA>>
		<</actCLA>>
	<</if>>
	<<if $cleMTDay != $time.daystart>>
		<<actCLA 'Clean the men`s restroom (0:30)'>>
			<<set $cleMTDay = $time.daystart>>
			<<gs 'exercise' 'tier1' 30 'stren' 'vital'>>
			<<set $pc.mood -= 6>>
			<<image "locations/city/residential/office/clener1.jpg">>
			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 'pav_train_hall_events' 'toilet_event'>>
			<!-- !!'You began to wash the floor in the men''s room, and then began to scrub toilets.' <== How exciting! <3 VK-->
			<<actCLA 'Leave restroom'>>
				<<set $time.minutes += 1>> <<gt 'pav_train_hall' 'work'>>
			<</actCLA>>
		<</actCLA>>
	<</if>>
	<<if $cleWTDay != $time.daystart>>
		<<actCLA 'Clean the women`s restroom (0:30)'>>
			<<set $cleWTDay = $time.daystart>>
			<<gs 'exercise' 'tier1' 30 'stren' 'vital'>>
			<<set $pc.mood -= 6>>
			<<image "locations/city/residential/office/clener1.jpg">>
			You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and scrub the toilets in the ladies'' restroom before you finish up by mopping the floor.
			<<gs 'pav_train_hall_events' 'vera'>>
			<<actCLA 'Leave restroom'>>
				<<set $time.minutes += 1>> <<gt 'pav_train_hall' 'work'>>
			<</actCLA>>
		<</actCLA>>
	<</if>>
	<<act 'Return'>>
		<<gt 'pav_train_hall'>>
	<</act>>
<</if>>

*/

:: pav_train_hall_wc_female[indoors public bathroom women]
	<<set $vokzalToilet = 1>>
	<h2>The ladies' room</h2>
	<<image "locations/shared/bathroom/publictoilet.jpg">>
	You open the door to the ladies' restroom and head inside.
	<<ConnectedLocation 'Leave' 'pav_train_hall' '' 'locations/pavlovsk/trainstation/vokzal.jpg' 1>>
	<<ConnectedLocation 'Restrooms - Men' 'pav_train_hall_wc_male' '' 'locations/pavlovsk/trainstation/vokzal.jpg' 1>>

	/*$inventory.get("tampon")
	<<quickwash>>
	<<basin>>
	<<publicpan>>*/
:: pav_train_hall_wc_male[indoors public bathroom men]


	<<set $vokzalToilet = 2>>
	<h2>The men's room</h2>
	<<image "locations/shared/bathroom/publictoilet.jpg">>
	You open the door to the men's restroom and head inside.
	<<ConnectedLocation 'Leave' 'pav_train_hall' '' 'locations/pavlovsk/trainstation/vokzal.jpg' 1>>
	<<ConnectedLocation 'Restrooms - Women' 'pav_train_hall_wc_female' '' 'locations/pavlovsk/trainstation/vokzal.jpg' 1>>

	/*<<if getvar("$bimbolevel") >= 1>>
		<<act 'Wait and see if someone finds you'>>
			<<gt 'trainbimbo' 'pos1'>>
		<</act>>
		<<act 'Quickly enter a stall'>>
			<<gt 'trainbimbo' 'pos5'>>
		<</act>>
	<</if>>*/

	/*
	$inventory.get("tampon")
	<<quickwash>>
	<<basin>> */

