# street
music_loop = 0
CLOSE ALL
$metka = ''
$loc = 'street'
$location_type = 'public_outdoors'
$menu_loc = 'street'
$menu_arg = ''
menu_off = 0
killvar '$locclass'
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
!all random events move to [street_events], and display them before show location. by illume
if streetevent_hour + 2 < hour:gt'street_event','street', 'main'
'
St. Petersburg
'
'Residential Area'
if month >= 11 or month <= 3:
if hour >= 8 and hour <= 21:
'> src="images/locations/city/residential/streetw.jpg">'
else
'> src="images/locations/city/residential/streetwn.jpg">'
end
else
if hour >= 8 and hour <= 21:
'> src="images/locations/city/residential/street.jpg">'
else
'> src="images/locations/city/residential/street_night.jpg">'
end
end
gs'street_event','street', 'extras'
if opusk > 0 or gnewQW = 5:
if rand(0,9) = 0:gt 'gopnew', 'start5'
if home_owned[1] > 0:'Near the entrance to where you live there is something written on the wall. It says:"<<$pcs_nickname>> from apartment 69 is a cheap slut!"'
end
gs 'stat'
palMir = 0
bordysh = 0
housrA = 0
obdysh = 0
tanhouse1 = 0
obMir = 0
houseob = 0
borMir = 0
$onobjsel = 'onobjsel'
if gopdeath = 1 and vsehsdaladay ! daystart:
over = 6
gt 'gameover'
exit
end
housrA = 0
if car > 0 and cardrive = 1: 'In the parking lot is your <<$car>>.'
if home_owned[1] > 0:
act 'Go home':
gorand = rand(0, 100)
if (loh > 0 or gnewQW = 7) and gopdolg > 0 and hour >= 20 and gorand >= 80:
gt 'gopnew', 'start'
exit
end
if (opusk > 0 or gnewQW = 5) and hour >= 20 and gorand >= 80 and gopopusday ! daystart:
gt 'gopnew', 'start'
exit
end
minut += 1
gt 'korr'
end
end
act 'Wait':gs 'obj_din', 'wait'
gs 'taxi'
if hour >= 8 and hour <= 22:'You can see the kiosk selling cigarettes and magazines.'
if Enable_tablemap = 0:
if katkey = 1:'Kats apartment'
if IrinaQW >= 1:'Irenes apartment is not far away from yours.'
if hour >= 16 and hour < 22 and dimaQW > 0:'Dimas apartment'
if klofQW >= 2:'Joras apartment'
else
st_count=0 & $show_table=''
if katkey = 1:gs'show_table','Kats apartment','3'
if IrinaQW >= 1:gs'show_table','Irenes apartment is not far away from yours.','3'
if hour >= 16 and hour < 22 and dimaQW > 0:gs'show_table','Dimas apartment','3'
if klofQW >= 2:gs'show_table','Joras apartment','3'
if hour >= 10 and hour < 22 and lesbiQW = 1:
gs'show_table','Natalia Petrovnas apartment.'
elseif lesbiday ! daystart and subdom = 2:
gs'show_table','Your slaves apartment.','3'
elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13:
gs'show_table','Mistress'' apartment.','3'
elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13:
gs'show_table','Mistress'' apartment.','3'
end
if st_count > 0 :''
end
if hour >= 5 and hour <= 23:'The Metro Station is within a 5 minute walk from here.'
if hour >= 8 and hour <= 20:'The supermarket is not far from here.'
if (hour >= 8 and hour <= 20) or preg = 2:'The clinic is also nearby.'
if hour >= 6 and hour <= 9 and military = 1 and week = 6:'There is a military bus waiting on the other side of the street.'
if hour >= 8 and hour <= 14 and week ! 1:'You could go shopping at the noisy local marketplace.'
if hour >= 8 and hour <= 15 and week < 6:'Near the market is a tailor shop where you can get your clothes resized if needed.'
if hour >= 11 and hour < 12 and week > 1 and week < 5 and workKafe = 1:'The side door of "The Roadhouse" is open, so employees can enter to begin their shift.'
if hour >= 12 and hour <= 22 and week ! 1:'In a side alley, next to the uniquely styled diner "The Roadhouse", you can hear the swearing and laughing of some gopniks.'
if hour > 22 or hour <= 3:'In one of the parking lots you can hear the swearing and laughing of some gopniks.'
if clener >= 1 and hour >= 7 and hour <= 22:'There''s a small office building where a cleaning lady is needed.'
'The city''s large central park is about a 20-minute walk away.'
'The city''s only lake is just a 40-minute walk away.'
'24 Hour Pharmacy.'
if Enable_tablemap = 0:
if hour >= 10 and hour < 22 and lesbiQW = 1:
'Natalia Petrovna''s apartment.'
elseif lesbiday ! daystart and subdom = 2:
'Your slave''s apartment.'
elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13:
'Mistress'' apartment.'
elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13:
'Mistress'' apartment.'
end
end
if home_owned[1] = 0:
'In the courtyard of one of the apartment buildings, you see several trash bins.'
else
'In the courtyard of your apartment building, you see several trash bins.'
end
if SNarkPriton > 0:'The drug house is clearly recognizable by the syringes and the trash that lies in front of it.'
if hour >= 8 and hour <= 23 or saunaWorkWhore > 0 or workDisk = 2:'The Sauna is a 10 minute walk away. Rumors say the sauna is just the front for a brothel.'
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
--- street ---------------------------------