123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302 |
- # vokzalGin
- if $ARGS[0] = '':
- $metka = ''
- $loc = 'vokzalGin'
- $location_type = 'public_indoors'
- CLOSE ALL
- if sound = 0:PLAY 'sound/vokzal2.mp3',30
- clr
- frost = 0
- poezddalsled = 0
- gs 'vokdin'
- gs 'stat'
- if night_mode = 1:
- fcolor = rgb(255, 255, 255)
- bcolor = rgb(0, 0, 0)
- lcolor = rgb(106, 90, 205)
- else
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- end
- '<center><h4>Pavlovsk train station interior</h4></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
- 'The center of the station building is a large waiting room, where passengers can wait until their train arrives. Opposite to that you can find the <a href="exec:dynamic $din_vokzalg_kabinet">station manager''s office</a>, and the <a href="exec:minut += 1 & gt ''vokmantoiev'', ''start''">toilets</a> on the other end of the building.'
- 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
- *nl
- if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
- *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 & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
- end
- end
- 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:dynamic $din_vokzalg_podbros">wallet</a> dropping from his pocket, not far away from you.'
- *nl
- end
- act 'Leave the station building':minut += 3 & gt 'vokzalG'
- if Trainpass_day > daystart:
- 'You have <<Trainpass_day - daystart>> days left on your train pass.'
- act 'Go to the platforms': gt 'vokzalperG', 'start'
- else
- act 'Got to the ticket office': gt 'vokzalGin', 'ticket'
- end
- if vokzalVork >= 1:
- if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
- act 'Work':
- cla
- if cleZalDay ! daystart:
- act 'Mop the waiting room floor (1:00)':
- cls
- cleZalDay = daystart
- gs 'exercise', 'tier1', 60, 'stren_exp', 'vital_exp'
- 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 wash the floor in the waiting room.'
- act 'Continue':minut += 1 & gt 'vokzalGin'
- end
- end
- if cleMTDay ! daystart:
- act 'Clean the men''s restroom (0:30)':
- cls
- cleMTDay = daystart
- gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
- 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 go to the men''s room.'
- gs 'vokmantoiev', 'toilet_event'
- !!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
- act 'Leave':minut += 1 & gt 'vokzalGin'
- end
- end
- if cleWTDay ! daystart:
- act 'Clean the women''s restroom (0:30)':
- cls
- cleWTDay = daystart
- gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
- 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'' room before mopping the floor.'
- gs 'vokdinvera'
- act 'Leave':minut += 1 & gt 'vokzalGin'
- end
- end
- act 'Return': gt 'vokzalGin'
- end
- elseif cleZarplatDay ! daystart:
- act 'Collect your salary':
- cls
- cleZarplatDay = daystart
- vokzalVork += 1
- money += 250
- 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 'vokzalGin'
- end
- 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 'vokzaltorg'
- end
- end
- end
- if $ARGS[0] = 'ticket':
- cls
- gs 'stat'
- '<center><h4>Ticket office</h4></center>'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
- if money >= 50:
- act 'Buy a ticket':
- cla
- gs 'vokzalGin', 'buy_ticket'
- end
- end
- if money >= 1500 and Trainpass_day <= daystart:
- act 'Buy a weekly pass':
- cla
- money -= 1500
- Trainpass_day = daystart + 7
- act 'Return': gt 'vokzalGin'
- end
- end
- if money >= 5500 and Trainpass_day <= daystart:
- act 'Buy a monthly pass (30day)':
- cla
- money -= 5500
- Trainpass_day = daystart + 30
- act 'Return': gt 'vokzalGin'
- end
- end
- act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
- end
- if $ARGS[0] = 'buy_ticket':
- if money >= 50:
- act 'Buy a ticket to the old town (50 <b>₽</b>)':
- money -= 50
- gt 'vokzalGin', 'oldtown'
- end
- end
- if money >= 75:
- act 'Buy a ticket to the village of Gadyukino (75 <b>₽</b>)':
- money -= 75
- gt 'vokzalGin', 'village'
- end
- end
- if money >= 100:
- act 'Buy a ticket to the the communal village (100 <b>₽</b>)':
- money -= 100
- gt 'vokzalGin', 'communal'
- end
- end
- if money >= 125:
- act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
- money -= 125
- gt 'vokzalGin', 'ind'
- end
- end
- if money >= 150:
- act 'Buy a ticket to city center (150 <b>₽</b>)':
- money -= 150
- gt 'vokzalGin', 'centre'
- end
- end
- act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
- end
- if $ARGS[0] = 'oldtown':
- $loc = 'train'
- $metka = 'oldtown'
- minut += 5
- gs 'stat'
- if rand(1, 100) < 20: gt 'train', 'events'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/pushplat.jpg" ></center>'
- 'After 5 minutes, the train stops at old platform by the old town of Pushkin. Famous for its extensive park and old historic buildings, the locals are known to be eccentric but that adds to the charm.'
- act 'Get off the train':
- if rand(1, 100) <= 5: gt 'train_incidental', 'end'
- gt 'train', 'oldtown'
- end
- end
- if $ARGS[0] = 'village':
- $loc = 'train'
- $metka = 'village'
- minut += 15
- gs 'stat'
- if rand(1, 100) <= 10: gt 'train_incidental', 'events'
- if rand(1, 100) < 20: gt 'train', 'events'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
- 'After 15 minutes, the train stops at the small station near the village of Gadyukino.'
- act 'Get off the train':
- if rand(1, 100) <= 5: gt 'train_incidental', 'end'
- gt 'train', 'village'
- end
- end
- if $ARGS[0] = 'communal':
- $loc = 'train'
- $metka = 'old_platform'
- minut += 25
- gs 'stat'
- if rand(1, 100) <= 10: gt 'train_incidental', 'events'
- if rand(1, 100) <= 20: gt 'train', 'events'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
- 'After 20 minutes you arrive at an old railway platform near the communal village.'
- act 'Get off the train':
- if rand(1, 100) <= 5: gt 'train_incidental', 'end'
- gt 'train', 'old_platform'
- end
- end
- if $ARGS[0] = 'ind':
- $loc = 'vokzalholle'
- $metka = ''
- minut += 35
- gs 'stat'
- if rand(1, 100) < 15: gt 'train', 'private'
- if rand(1, 100) < 30: gt 'train', 'Gopnik'
- if rand(1, 100) <= 10: gt 'train_incidental', 'events'
- if rand(1, 100) <= 20: gt 'train', 'events'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
- 'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
- act 'Get off the train':
- if rand(1, 100) <= 5: gt 'train_incidental', 'end'
- gt 'vokzalholle'
- end
- end
- if $ARGS[0] = 'centre':
- $loc = 'cityTrain'
- $metka = 'inside'
- minut += 40
- if rand(1, 100) < 15: gt 'train', 'private'
- if rand(1, 100) < 30: gt 'train', 'Gopnik'
- if rand(1, 100) <= 10: gt 'train_incidental', 'events'
- if rand(1, 100) <= 20: gt 'train', 'events'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
- 'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
- act 'Get off the train':
- if rand(1, 100) <= 5: gt 'train_incidental', 'end'
- gt 'cityTrain', 'inside'
- end
- end
- --- vokzalGin ---------------------------------
|