# pav_commercial
CLOSE ALL
$loc_arg = ''
$loc = 'pav_commercial'
$location_type = 'public_outdoors'
$menu_loc = 'pav_commercial'
$menu_arg = ''
menu_off = 0
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
!!sets the return location for bank and post office
bankloc = 0
!call random events from [street_events], and display them before show location.
if streetevent_hour + 2 < hour:gt'street_event','pav_commercial', 'main'
'
Pavlovsk
'
if month >= 11 or month <= 3:
if hour >= 8 and hour <= 21:
'> src="images/locations/pavlovsk/gorodokw.jpg">'
else
'> src="images/locations/pavlovsk/pavbuswn.jpg">'
end
else
if hour >= 8 and hour <= 21:
'> src="images/locations/pavlovsk/gorodok.jpg">'
else
'> src="images/locations/pavlovsk/pavbusn.jpg">'
end
end
*nl
'Pavlovsk can be split into four regions, the commercial hub here, the residential suburbs, the industrial region and the Five Eight estate of Soviet era apartment blocks.'
*nl
'While the commercial hub of Pavlovsk is better maintained and a bit cleaner looking than other areas, it is still very much rural like the rest of the town, and even from here, you can still easily access the old Imperial Palace built by Catherine the Great, and the remodeled Bip fortress which now operates as a luxury hotel and restaurant.'
*nl
'A short distance away you can clearly see the golden domes of the Church of St. Nikolas. It''s only a 10 minute walk to get there from here.'
*nl
'The nearby residential area is next to the lake and the town surrounds the old palace grounds which are now a large public park.'
gs'street_event','pav_commercial', 'extras'
if AlbinaQW['AlbFatherQW'] >= 1 and AlbinaQW['ParkRally'] > 0:
if AlbinaQW['ElectionCampaignTime'] = 0:AlbinaQW['ElectionCampaignTime'] = 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 AlbinaQW['ElectionCampaignTime'] > 0 and AlbinaQW['ElectionCampaignTime'] <= totminut and hour >= 14 and AlbinaQW['AlbFatherQW'] = 1:gt 'AlbFatherQW'
if StoryLine > 0 and hour < 4 and motherWorry = 0 and SchoolAtestat = 0 and age < 18 and home_owned[2] = 1:
motherWorry = 1
end
if rand(1, 5) >= 4 and pav_slut >= 100:
if pav_slut < 150:
'
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 < 200:
'
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>> is parked in the street.'
end
if hour >= 8 and hour <= 20:
$Pharmname = 'For easy access, there''s even a pharmacy attached to it.'
else
$Pharmname = 'For easy access, there''s even a pharmacy attached to it but it''s currently closed for the day.'
end
'
Centered along the main street is the train station that is always open and running. For those with a car, the end of the street leads to a gas station which is usually the last stop people make before heading out onto the nearby highway.'
if week < 6 and hour >= 9 and hour <= 18:
$desc_txt4 = 'post office'
elseif week = 6 and hour >= 10 and hour <= 18:
$desc_txt4 = 'post office'
else
$desc_txt4 = 'post office'
end
if (week < 6 and hour >= 9 and hour <= 16) or (week = 6 and hour >= 9 and hour <= 13):
$desc_txt5 = 'VTB Bank'
else
$desc_txt5 = 'VTB Bank'
end
'
On the street across from the station is a small Avicenna clinic. <<$Pharmname>> The building next door is shared by the local <<$desc_txt4>> and a <<$desc_txt5>>.'
if hour >= 8 and hour <= 20:
$desc_txt3 = 'Pyaterochka, a popular discount supermarket chain'
else
$desc_txt3 = 'Pyaterochka, a popular discount supermarket chain'
end
'
Of course, right after you visit the bank, you can spend your money at <<$desc_txt3>>.'
if hour >= 8 and hour <= 17:
$desc_txt1 = 'A Cut Above, the only barber shop in the area and Coco Carmen the trendy clothes shop.'
else
$desc_txt1 = 'A Cut Above and Coco Carmen'
end
'
The rest of the street is filled with smaller locally owned businesses, most notable being <<$desc_txt1>>.'
if leonidSlave = 1:
'
Near the town hall there is an old office building.'
end
if hour >= 7 and hour <= 18:
$desc_txt2 = 'vocational school, where young adults can learn a trade.'
else
$desc_txt2 = 'vocational school.'
end
'
If you continue past the shops, you''ll eventually find a <<$desc_txt2>>'
if workPTU > 2:act 'Go to the hostel':gt 'etoexhib', 'pos40'
act 'Walk to the Residential area (0:05)':minut += 5 & gt 'pav_residential'
act 'Walk to the Industrial region (0:05)':minut += 5 & gt 'pav_industrial'
act 'Walk to the Five Eight estate (0:05)':minut += 5 & gt 'pav_complex', 'start'
act 'Walk to the train station (0:10)':minut += 10 & gt 'pav_train'
act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
if hour >= 8 and hour <= 22 and sunWeather = 1 and temper >= 15 and ml_guitar['carried'] = 1 and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and ml_performance['max_perform_minutes'] >= 15:
*nl
'With the weather being pleasant and sunny, there are groups of people moving around the streets. You could play some music, practice performing songs and maybe make some money too.'
ml_buskingtime = min((ml_performance['max_perform_minutes']-ml_performance['performed_minutes']), 60)
if pcs_inhib < 30:
if pcs_inhib < 10:
$diff = 'hard'
elseif pcs_inhib < 20:
$diff = 'medium'
else
$diff = 'easy'
end
gs 'willpower', 'skill', 'self', $diff
will_cost = (will_cost * 3) - (pcs_perform)
if will_cost <= pcs_willpwr:
act 'Start busking (<> minutes) (<> Willpower)':
inhib_exp += rand(1,3)
gs 'willpower', 'pay', 'self'
gs 'stat'
gs 'music_buskingevents', 'busking', 'pav'
if rand(0,100) > 80 and (pcs_instrmusic + pcs_vokal + pcs_perform) >= 120 and hotcat >= 5:
gt 'music_gigstarts', 'delparco_start', 'pav_commercial'
end
end
else
act 'Start busking (<> minutes) (<> Willpower)': '
You don''t have enough willpower to use this action.'
end
else
act 'Start busking (<> minutes)':
gs 'music_buskingevents', 'busking', 'pav'
if rand(0,100) > 80 and (pcs_instrmusic + pcs_vokal + pcs_perform) >= 120 and hotcat >= 5:
gt 'music_gigstarts', 'delparco_start', 'pav_commercial'
end
end
end
end
act 'Wait':gs 'obj_din', 'wait'
!!if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
if npc_QW['A113'] = 1 and daybelisex ! daystart and hour >= 9 and hour <= 23 and week = 7:
cla & *clr
daybelisex = daystart
minut += 5
'> src="images/characters/pavlovsk/vadim/belyjeep.jpg">'
'As you walk through Pavlovsk, Vadim Belys Mitsubishi Pajero stops near you.'
act 'Go to the jeep': gt 'belgang', 'payday'
elseif npc_QW['A113'] = 1 and daybelisex ! daystart and hour >= 9 and hour <= 23 and week ! 7 and belgangPayWeek >= 300 and belgangProstitute = 1 and rand (0,2) = 0:
cla & *clr
daybelisex = daystart
minut += 5
'> src="images/characters/pavlovsk/vadim/belyjeep.jpg">'
'You see the by now familiar old Mitsubishi Pajero driving through the streets with Vadim Bely and his gang. Your heart skips a beat as you notice one of them pointing at you, and soon they pull over.'
act 'Go to the jeep': gt 'belgang', 'workofdebt'
end
--- pav_commercial ---------------------------------