# city_island
! 14-09-22 Added Metro link to navigation line 49
$loc_arg = ''
$loc = 'city_island'
$region = 'city'
$location_type = 'public_outdoors'
$menu_loc = 'city_island'
$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/street_noise_siren.mp3', 30 & PLAY 'sound/street.mp3', 30 & PLAY 'sound/street7.mp3', 30 & PLAY 'sound/zima.mp3', 30
if hour >= 0 and hour <= 7: PLAY 'sound/street_noise_siren.mp3', 30 & PLAY 'sound/street_night.mp3', 30 & PLAY 'sound/zima.mp3', 30
else
if hour >= 8 and hour <= 23: PLAY 'sound/street_noise_siren.mp3', 30 & PLAY 'sound/street.mp3', 30 & PLAY 'sound/street7.mp3', 30 & PLAY 'sound/street_leto.mp3', 30
if hour >= 0 and hour <= 7: PLAY 'sound/street_noise_siren.mp3', 30 & PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3', 30
end
end
clr
gs 'stat'
'
St. Petersburg
'
'Vasilyevsky Island'
if month >= 11 or month <= 3:
if daystage = 2 or daystage = 3:
'> src="images/locations/city/island/islandw.jpg">'
else
'> src="images/locations/city/island/islandwn.jpg">'
end
else
if daystage = 2 or daystage = 3:
'> src="images/locations/city/island/island.jpg">'
else
'> src="images/locations/city/island/islandn.jpg">'
end
end
'The university and shops and clubs that cater to the students dominate this area of the city.'
!call random events from [street_events], and display them before show location.
if streetevent_hour + 2 < hour:gt 'street_event', 'city_island', 'main'
gs 'street_event', 'city_island', 'extras'
if func('homes_properties', 'has_access', 'university_dorm'): act 'Return to your dorm': gt 'uni_dorm', 'start'
if car > 0 and cardrive = 25: 'Your <<$car>> stands in the parking lot.'
if hour >= 4 and hour < 23:
act 'Walk to the Metro': gt 'metro', 'start'
end
gs 'taxi'
gs 'camera', 'check_location'
if hour >= 8 and hour <= 22:
'The supermarket is not far from here.'
'You can see a kiosk selling cigarettes and magazines.'
else
'The local convenience store is closed. It will reopen at 08:00.'
'You can see a closed kiosk. It''s open between 08:00 and 23:00.'
end
if hour >= 8 and hour < 22:
'You can see Patch Work Dolls, a clothing store that caters to Alternative styles, like gothic, punk and skater. Next door is Nerdvana, a clothing store that stock everything a nerd could desire.'
else
'You can see Patch Work Dolls, a clothing store that caters to Alternative styles, like gothic, punk, skater. Next door is Nerdvana, the nerd clothing store. They both open every day between 08:00 and 22:00'
end
if hour >= 7 and hour < 22:
'You can see a sign advertising a coffee shop called The Coffee Hole just a few blocks away from the university.'
else
'The Coffee Hole is closed. They reopen at 07:00.'
end
if hour >= 4 and hour < 23:
'The Metro Station is within a 5 minute walk from here.'
else
'The Metro Station is closed. The first train will depart at 04:00.'
end
if anushkaCityQW['first_visit'] > 0:
'Anushka lives in a shared apartment around the corner.'
end
act 'Go to the university campus':
minut += 1
gt 'uni_grounds', 'main'
end
if func('homes_properties', 'has_access', 'university_dorm') or university['student'] = 1 or hour >= 6: 'The University dorms offers small, but cheap living space for university students.'
if pcs_magik >= 1 and mainQW = 0 and mid($start_type,1,3) = 'uni':
*clr & cla
menu_off = 1
mainQW = 1
gs 'stat'
'> src="images/locations/city/citycenter/lab/event/main.jpg">'
'You see Tatiana and Gustav standing in front of your dorm. Tatiana adjusts her glasses and looks around, while Gustav seems to be distracted, glancing here and there with a strange look on his face as his tattoos are not visible.'
'Tatiana looks at you closely. "I felt a burst of energy. Were you attacked by a magician?"'
act 'No': gt 'mainQW'
exit
end
--- city_island ---------------------------------