# pavCommercial
!{Change log
25 March 2016
Fixed diplaced period after church link
Fixed visting links to look the same
Added start of Andrei kidnapping
}
$location_type = 'public_outdoors'
$metka = $ARGS[0]
$loc = $CURLOC
$metkaStreet = $ARGS[0]
$locStreet = $CURLOC
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
cla
*clr
litltown = 1
alkoblock = 0
boynumBlock = 0
!music_on = 0
'
Pavlovsk.
'
if Enable_towntable = 1 : $_str = '' else $_str = ''
if month >= 11 or month <= 3:
if hour >= 8 and hour <= 21:
$_str += ''
else
$_str += ''
end
else
if hour >= 8 and hour <= 21:
$_str += ''
else
$_str += ''
end
end
if Enable_towntable = 1 : $_str += ' | '
$_str += 'The high street of a provincial town in a rural area of Russia. Population: about 15000 inhabitants.'
$_str += 'Apart from the old Imperial palace with its surrounding gardens and forest, built by Catherine the Great, and the recently rebuilt Bip fortress (which is now a Luxury hotel and restaurant), it looks much like all the other towns in the region. '
$_str += 'The tallest building in town is the church of St Nikolas.'
if Enable_towntable = 1 : $_str += ' |
'
*nl $_str
killvar '$_str'
''
if belgangQW=1000 and hour>=16 and hour<21 and daybelisex!daystart:gt 'BelSex', 'outing'
if belgangQW=100 and hour>=16 and hour<21 and daybelisex!daystart:gt 'BelSex', 'drive'
if belgangQW=9000 and belgangday= 1:
if AlbFaterBlackTime = 0:AlbFaterBlackTime = totminut + 2880
'You can see election posters on the walls all over town. They say: "Vote for Boris Barlovsky!" Wait a minute... isn''t that Albina''s father?'
end
if AlbFaterBlackTime > 0 and AlbFaterBlackTime <= totminut and hour >= 16 and AlbFather = 1:gt 'AlbFatherQW'
if hour >= 16 and hour <= 22 and AlbFather = 2 and AlbZaDay + 30 < daystart and year > 2015:
gt 'AlbStarsEnd'
end
if StoryLine > 0 and hour < 4 and motherWorry = 0 and SchoolAtestat = 0 and age < 18:
motherWorry = 1
end
if rand(1, 5) >= 4 and pav_slut >= 50:
if pav_slut < 75:
'You catch people staring at you intently, as if they''re supposed to know who you are but can''t quite remember why. You sincerely hope they don''t realize your promiscuous adventures are the reason why. The occasional person chuckling and pointing at you crushes those hopes, and you quickly keep walking before they get a chance to say anything.'
elseif pav_slut < 100:
'People look at you with lewd grins on their faces, some of them even making vulgar gestures. Looks like they know what you''ve been up to.'
else
'Everywhere you go, people recognize you as a whore. Some even come over and slap you on the ass, claiming they know you like it when they do, or claiming they want to sample your goods. An elderly woman sitting on a bench calls out to you, loudly calling you a slut and a whore. You hide your face and run away as fast as you can, before she can draw too much attention to you.'
end
end
gs 'stat'
if car > 0 and cardrive = 24:
cardrive = 24
'Your car<<$car>> is parked in the street.'
end
if hour >= 8 and hour <= 20:
$Pharmname = ', and the pharmacy is right across the street.'
else
$Pharmname = '.'
end
'You are on the high street, at one end is the train station and access to the highway. Near the highway you can also find a gas station.'
'The nearby residential area is next to the lake and the town surrounds the old palace grounds which are now a large public park.'
'There is a small clinic<<$Pharmname>>'
if leonidSlave = 1:
'Near the town hall there is an old office building.'
end
if hour >= 8 and hour <= 17:'The local barbershop is within walking distance, merely a few minutes away.'
if hour >= 7 and hour <= 18:'Pavlovsk has a vocational school, where young adults can learn a trade.'
if hour >= 8 and hour <= 20:'There is a big chain supermarket nearby.'
if week < 6 and hour >= 9 and hour <= 18:'You can see the most important Bank in the city from here.'
if (week < 6 and hour >= 9 and hour <= 16) or (week = 6 and hour >= 9 and hour <= 13):'The local post office branch is open.'
'A garment factory named Paris Commune is situated in the industrial area on the outskirts of town, close to the highway.'
''
if workPTU > 2:act 'Go to the hostel':gt 'etoexhib', 'pos40'
act 'Go to the residential area':minut += 5 & gt 'pavResidential'
act 'Wait':
cla
waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
if waiting <= 0 or waiting > 120:
minut += 15
elseif waiting > 0 and waiting <= 120:
minut += waiting
end
act 'Check the time':gt $curloc
end
if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
--- pavCommercial ---------------------------------