123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357 |
- # pav_train_hall
- if $ARGS[0] = '':
- $region = 'pav'
- $loc = 'pav_train_hall'
- $loc_arg = ''
- $menu_loc = 'pav_train_hall'
- $menu_arg = ''
- menu_off = 0
- $location_type = 'public_indoors'
- CLOSE ALL
- if sound = 0:PLAY 'sound/vokzal2.mp3',30
- clr
- frost = 0
- poezddalsled = 0
- gs 'stat'
- gs 'themes', 'indoors'
- '<center><h2>Pavlovsk train station interior</h2></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
- *nl
- '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 <a href="exec: gt ''pav_train_hall_events'', ''manager''">station manager''s office</a>. The <a href="exec:minut += 1 & gt ''pav_train_hall'', ''toilet''">toilets</a> are located farthest back of the building.'
- *nl
- 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
- *nl
-
- *nl
- 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:
- DjibrilQW['taxi'] = 1
- if DjibrilQW['meet'] = 1:
- '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 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 <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.'
- end
- 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
- end
- if mid($start_type,1,2) = 'sg' 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)
- if money >= 1000 and hour >= 8 and hour <= 20 and podrand = 0:'As you walk through the station building, you notice a man''s thick <a href="exec: gt ''pav_train_hall_events'', ''wallet1''">wallet</a> fall out from his pocket, not far away from you.'
- *nl
- end
- act 'Walk to the bus station (0:02)': minut += 2 & gt 'bus', 'pavstation'
- act 'Walk to the Market (0:03)': minut += 3 & gt 'pav_market'
- act 'Walk to the Commercial area (0:10)': minut += 10 & gt 'pav_commercial'
- act 'Walk to the Residential area (0:15)': minut += 15 & gt 'pav_residential'
- act 'Walk to the Industrial region (0:15)': minut += 15 & gt 'pav_industrial'
- act 'Walk to the Five Eight estate (0:15)': minut += 15 & gt 'pav_complex', 'start'
- act 'Walk to the highway (0:15)': minut += 15 & nroad = 20 & gt 'road'
- act 'Walk to Pushkin (0:15)': minut += 15 & nroad = 19 & gt 'pushkin'
- if transportVars['trainpass_day'] > daystart:
- func('transport_functions', 'display_trainpass_time')
- act 'Go to the platforms': gt 'pav_train_hall', 'platform'
- else
- act 'Go to the ticket office': gt 'pav_train_hall', 'ticket'
- end
- if drugVars['pav_dropoff'] = 1 and drugVars['heroin_day'] ! daystart and money >= 1500: act 'Find the drug dealer':gs 'events', 'pav_drug_dropoff'
- if vokzalVork >= 1:
- if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
- act 'Work': gt 'pav_train_hall', 'work'
- elseif cleZarplatDay ! daystart:
- cleZarplatDay = daystart
- cleanDailypay += 250
- vokzalVork += 1
- gs 'stat'
- end
- end
- if cleanDailypay > 0:
- act 'Collect your salary':
- menu_off = 1
- *clr & cla
- '<center><h2>Pavlovsk train station interior</h2></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
- money += cleanDailypay
- cleanDailypay = 0
- minut += 3
- gs 'stat'
- 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
- act 'Continue':minut += 1 & gt 'pav_train_hall'
- end
- end
- *nl
- if hour = 11 and minut = 0:
- poezddalsled = 1
- 'The 11:30 long-distance train is currently approaching the platform.'
- elseif hour = 11 and minut > 0 and minut < 30:
- poezddalsled = 1
- 'The 11:30 long-distance train is currently waiting at the platform.'
- elseif hour = 11 and minut = 30:
- poezddalsled = 1
- 'The 11:30 long-distance train is currently leaving the station.'
- elseif hour = 18 and minut = 0:
- poezddalsled = 1
- 'The 18:30 long-distance train is currently approaching the platform.'
- elseif hour = 18 and minut > 0 and minut < 30:
- poezddalsled = 1
- 'The 18:30 long-distance train is currently waiting at the platform.'
- elseif hour = 18 and minut = 30:
- poezddalsled = 1
- 'The 18:30 long-distance train is currently leaving the station.'
- end
- 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 'pav_train_hall_events', 'trinkets'
- end
- act 'Wait':gs 'obj_din', 'wait'
- end
- if $ARGS[0] = 'platform':
- $loc = 'pav_train_hall'
- $loc_arg = 'platform'
- $menu_loc = 'pav_train_hall'
- $menu_arg = 'platform'
- menu_off = 0
- $location_type = 'public_outdoors'
- CLOSE ALL
- if sound = 0:
- if month >=11 and month <= 12 or month >=1 and month <=3:
- if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
- if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
- else
- if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
- if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
- end
- end
- *clr & cla
- gs'stat'
- '<center><h2>Pavlovsk station platforms</h2></center>'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
- *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
- gs 'transport_functions', 'set_train_wait_time', 'pavlovsk'
- 'The next train in the direction of St. Petersburg city center ' + iif(transportVars['train_wait_center'] = 0, 'is leaving now!', 'leaves in <<transportVars[''train_wait_center'']>> minutes.')
- *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.'
- act 'Enter the station building': gt 'pav_train_hall'
- if transportVars['buspass_day'] > daystart: act 'Walk to the bus platfrom (0:02)': minut += 2 & gt 'bus', 'pavstation_busses'
- act 'Look at the train schedule':
- *clr & cla
- gs 'transport_functions', 'display_train_schedule', 'pc'
- act 'Stop looking at the schedule': gt 'pav_train_hall', 'platform'
- end
- if transportVars['trainpass_day'] > daystart:
- act 'Take the train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''gadukino'', ''center'')>>)': gt 'train', 'pavlovsk_gadukino'
- act 'Take the train to the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''communal'', ''center'')>>)': gt 'train', 'pavlovsk_communal'
- act 'Take the train to the city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''ind'', ''center'')>>)': gt 'train', 'pavlovsk_ind'
- act 'Take the train to the city center (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''center'', ''center'')>>)': gt 'train', 'pavlovsk_center'
- end
- end
- if $ARGS[0] = 'ticket':
- $menu_loc = 'pav_train_hall'
- $menu_arg = 'ticket'
- menu_off = 0
- *clr & cla
- gs 'stat'
- '<center><h2>Ticket office</h2></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/ticketoffice.jpg"></center>'
- *nl
- gs 'transport_functions', 'set_train_wait_time', 'pavlovsk'
- 'The next train in the direction of St. Petersburg city center ' + iif(transportVars['train_wait_center'] = 0, 'is leaving now!', 'leaves in <<transportVars[''train_wait_center'']>> minutes.')
- act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
- act 'Look at the train schedule':
- *clr & cla
- gs 'transport_functions', 'display_train_schedule', 'pc'
- act 'Stop looking at the schedule': gt 'pav_train_hall', 'ticket'
- end
- if money >= 50:
- act 'Buy a ticket':
- cla
- gs 'pav_train_hall', 'buy_ticket'
- end
- end
- gs 'transport_functions', 'buy_train_pass'
- end
- if $ARGS[0] = 'buy_ticket':
- $menu_loc = 'pav_train_hall'
- $menu_arg = 'buy_ticket'
- menu_off = 0
- act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
- gs 'transport_functions', 'buy_train_ticket', 'pavlovsk', 'pc'
- end
- if $ARGS[0] = 'work':
- menu_off = 1
- *clr & cla
- '<center><h2>Pavlovsk train station interior</h2></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
- if cleZalDay ! daystart:
- act 'Mop the waiting room floor (1:00)':
- cls
- cleZalDay = daystart
- gs 'exercise', 'tier1', 60, 'stren', 'vital'
- gs 'exp_gain', 'cleaning', rand(0,2)
- pcs_mood -= 6
- gs 'stat'
- '<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 mop the station building floor.'
- act 'Continue':minut += 1 & gt 'pav_train_hall', 'work'
- end
- end
- if cleMTDay ! daystart:
- act 'Clean the men''s restroom (0:30)':
- cls
- cleMTDay = daystart
- gs 'exercise', 'tier1', 30, 'stren', 'vital'
- gs 'exp_gain', 'cleaning', rand(0,2)
- pcs_mood -= 6
- gs 'stat'
- '<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 '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
- act 'Leave restroom':minut += 1 & gt 'pav_train_hall', 'work'
- end
- end
- if cleWTDay ! daystart:
- act 'Clean the women''s restroom (0:30)':
- cls
- cleWTDay = daystart
- gs 'exercise', 'tier1', 30, 'stren', 'vital'
- gs 'exp_gain', 'cleaning', rand(0,2)
- pcs_mood -= 6
- gs 'stat'
- '<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 scrub the toilets in the ladies'' restroom before you finish up by mopping the floor.'
- gs 'pav_train_hall_events', 'vera'
- act 'Leave restroom':minut += 1 & gt 'pav_train_hall', 'work'
- end
- end
- act 'Return': gt 'pav_train_hall'
- end
- if $ARGS[0] = 'toilet':
- $menu_loc = 'pav_train_hall'
- $menu_arg = 'toilet'
- killvar '$locclass'
- menu_off = 0
- *clr & cla
- vokzalToilet = 0
- gs 'stat'
- '<center><h2>Pavlovsk train station interior</h2></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
- *nl
- 'You stand by the station''s restrooms, you see the <a href="exec:minut += 1 & gt ''pav_train_hall'', ''female''">ladies'' restroom</a> to the right and <a href="exec:minut += 1 & gt ''pav_train_hall'', ''male''">men''s restroom</a> to the left, clearly marked by signs on the door.'
- act 'Return to the train station':minut += 1 & gt 'pav_train_hall'
- end
- if $ARGS[0] = 'female':
- $locM = 'pav_train_hall'
- $locM_arg = 'female'
- $loc = 'pav_train_hall'
- $loc_arg = 'female'
- $menu_loc = 'pav_train_hall'
- $menu_arg = 'female'
- menu_off = 0
- $location_type = 'bathroom'
- $locclass = 'restroom'
- *clr & cla
- vokzalToilet = 1
- gs 'stat'
- '<center><h4>The ladies'' room</h4></center>'
- '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
- 'You open the door to the ladies'' restroom and head inside.'
- act 'Leave':minut += 1 & gt 'pav_train_hall', 'toilet'
- act 'Look in the mirror': gt 'mirror', 'start'
- dynamic $tampon
- dynamic $quickwash
- dynamic $basin
- dynamic $publicpan
- end
- if $ARGS[0] = 'male':
- $locM = 'pav_train_hall'
- $locM_arg = 'male'
- $loc = 'pav_train_hall'
- $loc_arg = 'male'
- $menu_loc = 'pav_train_hall'
- $menu_arg = 'male'
- menu_off = 0
- $location_type = 'bathroom'
- $locclass = 'restroom'
- *clr & cla
- vokzalToilet = 2
- gs 'stat'
- '<center><h4>The men''s room</h4></center>'
- '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
- 'You open the door to the men''s restroom and head inside.'
- act 'Leave':minut += 1 & gt 'pav_train_hall', 'toilet'
- if bimbolevel >= 1:
- act 'Wait and see if someone finds you':gt 'trainbimbo', 'pos1'
- act 'Quickly enter a stall':gt 'trainbimbo', 'pos5'
- end
- act 'Look in the mirror':gt 'mirror', 'start'
- dynamic $tampon
- dynamic $quickwash
- dynamic $basin
- end
- --- pav_train_hall ---------------------------------
|