# city_industrial
if $ARGS[0] = '':
$loc_arg = ''
$loc = 'city_industrial'
$location_type = 'public_outdoors'
$menu_loc = 'city_industrial'
$menu_arg = ''
menu_off = 0
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/street7.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/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
end
end
gs 'stat'
!call random events from [street_events], and display them before show location.
if streetevent_hour + 2 < hour: gt 'street_event','city_industrial', 'main'
'
St. Petersburg
'
'Industrial Region'
if month >= 11 or month <= 3:
if hour >= 8 and hour <= 21:
'> src="images/locations/city/industrial/industw.jpg">'
else
'> src="images/locations/city/industrial/industwn.jpg">'
end
else
if hour >= 8 and hour <= 21:
'> src="images/locations/city/industrial/nord.jpg">'
else
'> src="images/locations/city/industrial/nord2.jpg">'
end
end
gs'street_event','city_industrial', 'extras'
act 'Walk to the main road to Pavlovsk (0:15)': minut += 15 & nroad = 0 & gt'road'
act 'Visit the Red Light District (0:05)': minut += 5 & gt 'city_industrial', 'redlight'
act 'Wait':gs 'obj_din', 'wait'
gs 'taxi'
if car > 0:
if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
cardrive = 3
end
if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
'In the parking stands your <<$car>>.'
end
end
'The town''s central park is a one hour walk from here.'
if hour > 7 and hour < 23:
'You can see the kiosk selling cigarettes and magazines.'
else
'The kiosk is closed between 23:00 and 07:00.'
end
'At the center of the industrial region is a train station.'
if week = 3 or hour < 16:
'The "Rabotnik" bar is here, but it seems to be closed. A sign by the door tells you that it''s open every day (except Wednesday) between 16:00 and midnight...'
else
'The Bar "Rabotnik" seems to be open.'
end
![slavaQW - Related to Glory; references to bar "Flight" have to be fixed - requirement to access the bar has been removed for now, since content not related - Variable not used by anything else at the moment]
litltown = 0
'There is a gas station near the street'
if hour >= 5 and hour <= 23:
'The metro station is within a 5 minute walk from here.'
else
'The metro station is within a 5 minute walk from here. The metro system is closed between midnight and 05:00.'
end
if func('autotraidF', 'is_open'):
'A car dealership is nearby.'
else
'A car dealership is nearby' + iif(week = 1, ', but it''s closed on Mondays.', '. It''s currently closed and will open between 09:00 and 18:00.') + iif(car > 0 and cardrive = 9, ' Your <<$car>> is currently locked inside.', '')
end
if func('autoservisF', 'is_open'):
'Next to the car dealership is a repair shop.'
else
'Next to the car dealership is a repair shop.' + iif(week = 7, 'It''s closed on Sundays.', 'It will be open between 09:00 and 20:00.') + iif(car > 0 and cardrive = 7, ' Your <<$car>> is currently locked inside.', '')
end
if hour >= 9 and hour < 17 and week < 6:
'The community centre is currently open.'
else
'The community centre is currently closed. It''s only open during the week between 09:00 and 17:00.'
end
if hour >= 9 and hour <= 17 and (StoryLine = 1 and SchoolAtestat = 0) or bumtolik > 3:
'Mercy clinic is open.'
elseif (hour < 9 or hour > 17) and (StoryLine = 1 and SchoolAtestat = 0) or bumtolik > 3:
'Mercy clinic is closed.'
end
if hour >= 8 and hour <= 20:
'The parking lot, which is engulfed in bright lights, belongs to a supermarket.'
else
'The empty parking lot, which is engulfed in bright lights, belongs to a supermarket that is open between 08:00 and 20:00'
end
if hour >= 12 and hour <= 19:
'Above the door to a basement room is a bright neon sign for the Tattoo & Piercing parlor.'
else
'Above the door to a basement room is a bright neon sign for the Tattoo & Piercing parlor. The opening hours are 12:00 to 20:00'
end
if tobiQW >= 1:'The old mansion, home to Kakuzu'
'There is a huge building, with bright lights, which houses a Casino.'
if hour >= 14 or hour < 4:
'Located far away from the buildings is a barbecue.'
else
'Located far away from the buildings is a barbecue. It''ll be open between 14:00 and 04:00'
end
if jouryResult = 10:'You can go to one of the apartment blocks and visit Yuri''s flat'
if BurgerQW['IvanQWTatianaHelp'] > 0:'In one of these building is Manager Ivans apartment'
'A long and high fence, which is build around the storage terminal'
end
if $ARGS[0] = 'redlight':
$loc_arg = 'redlight'
$loc = 'city_industrial'
$location_type = 'public_outdoors'
$menu_loc = 'city_industrial'
$menu_arg = 'redlight'
menu_off = 0
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/street7.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/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
end
end
gs 'stat'
'St. Petersburg
'
'Red Light District'
if hour >= 18 or hour < 2:
'The Strip Clubs red lights, attracting men from all over the city.'
else
'The Strip Clubs red lights, attracting men from all over the city.'
end
if pornstudio >= 1 and hour >= 10 and hour < 22:
'At the Porn Studio, where a variety of adult movies are created.'
elseif pornstudio >= 1 and (hour < 10 or hour >= 22):
'At the Porn Studio, where a variety of adult movies are created.'
end
if hour < 3 or hour >= 11:
'A shop for Sex Toys is open for perverts from all around the city to browse its stock.'
else
'A shop that sells sex toys. It is currently closed and will open at 11:00.'
end
if bordel > 0 and func('bordel', 'is_open'):'Inside the courtyard is the entrance to the brothel.'
act 'Return to the Industrial Region (0:05)': minut += 5 & gt 'city_industrial'
act 'Wait':gs 'obj_din', 'wait'
gs 'taxi'
if car > 0:
if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
cardrive = 3
end
if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
'In the parking stands your <<$car>>.'
end
end
if hour >= 20 or hour <= 4:
*nl
'There are prostitutes working in places near here.'
if pcs_makeup > 2 and PCloStyle = 4 and pcs_inhib >= 40:
act 'Prostitute yourself': gt 'street_walker', 'work'
elseif pcs_inhib >= 40:
*nl
'You could work as a prostitute, but you need to wear appropriate clothes and more than a little bit of makeup.'
else
*nl
'You could work as a prostitute, but you aren''t comfortable with the idea.'
end
end
end
--- city_industrial ---------------------------------