# city_residential ! 14-09-22 Added Metro link to navigation line 88 music_loop = 0 CLOSE ALL gs 'shortgs', 'setloc', 'city_residential', '' $location_type = 'public_outdoors' $region = 'city' 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', 'city_residential', 'main' '

St. Petersburg

' '
Residential Area
' if month >= 11 or month <= 3: if daystage = 2 or daystage = 3: '
> src="images/locations/city/residential/streetw.jpg">
' else '
> src="images/locations/city/residential/streetwn.jpg">
' end else if daystage = 2 or daystage = 3: '
> src="images/locations/city/residential/street.jpg">
' else '
> src="images/locations/city/residential/street_night.jpg">
' end end gs 'street_event','city_residential', 'extras' if opusk > 0 or gnewQW = 5: if rand(0,9) = 0:gt 'gopnew', 'start5' if func('homes_properties', 'has_access', 'city_apartment'):'Something is written on the wall near the entrance to your building. It reads:"<<$pcs_firstname>> <<$pcs_lastname>> from apartment 69 is a cheap slut!"' end gs 'stat' if gopdeath = 1 and vsehsdaladay ! daystart: gt 'gameover', 'force', 6 end if mother['kickedout_timer'] ! 0 and mother['kickedout_timer'] + 3 <= daystart and hour > 6 and hour <= 15 and cumloc[11] = 0: gs 'mother_chats', 'reconciliation_talk' exit end if car > 0 and cardrive = 1 or cardrive = 8: if cardrive = 8: 'Your <<$car>> is in your driveway.' else 'Your <<$car>> is in the parking lot.' end end if func('homes_properties', 'is_property_of_status', 'owned', 'city_house'): 'Your house is within walking distance.' act 'Go to your house': minut += 10 gt 'city_house_res_misc', 'fronty' end end if func('homes_properties', 'has_access', 'city_apartment'): act 'Go to your apartment': gorand = rand(0, 100) if (loh > 0 or gnewQW = 7) and gopdolg > 0 and hour >= 20 and gorand >= 80: gt 'gopnew', 'start' end if (opusk > 0 or gnewQW = 5) and hour >= 20 and gorand >= 80 and gopopusday ! daystart: gt 'gopnew', 'start' end minut += 1 gt 'korr' end end if hour >= 4 and hour < 23: act 'Walk to the Metro': minut += 5 & gt 'metro', 'start' end act 'Walk to the central park (0:20)': minut += 20 & gt 'city_park', 'start' act 'Walk to the lake': minut += 40 & gt 'city_lake', 'start' if evt_chk = 1: !! We've got an event today, check it's location: gs 'emp_functions', 'disp_evt', 3 end gs 'taxi' if hour >= 8 and hour <= 22:'You can see the kiosk selling cigarettes and magazines.' if Enable_tablemap = 0: if katkey = 1:'Kat''s apartment' if IrinaQW >= 1:'Irene''s apartment is not far from yours.' if hour >= 16 and hour < 22 and dimaQW > 0:'Dima''s apartment' if klofQW >= 2:'Jora''s apartment' else st_count=0 & $show_table='' if katkey = 1: gs 'show_table','Kat''s apartment','3' if IrinaQW >= 1: gs 'show_table','Irene''s apartment is not far from yours.','3' if hour >= 16 and hour < 22 and dimaQW > 0: gs 'show_table','Dima''s apartment','3' if klofQW >= 2: gs 'show_table','Jora''s apartment','3' if hour >= 10 and hour < 22 and lesbiQW = 1: gs 'show_table','Natalya Petrovna''s apartment.', '3' elseif lesbiday ! daystart and subdom = 2: gs 'show_table','Your slave''s apartment.','3' elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13: gs 'show_table','Mistress''s apartment.','3' elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13: gs 'show_table','Mistress''s apartment.','3' end if st_count > 0 :'<<$show_table>>
' end if hour >= 4 and hour < 23:'The Metro station is a 5 minute walk away.' 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.' else 'The clinic is closed. It will open at 08:00.' end 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.' elseif military = 1: 'The military bus will wait between 06:00 and 09:00 on Saturdays.' end if hour >= 8 and hour <= 14 and week ! 1: 'You could go shopping at the local marketplace.' else 'You could go shopping at the local marketplace, but it''s '+iif(week = 1, 'closed on Mondays.', 'only open between 08:00 and 15:00.') end 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.' else 'Near the market is a tailor shop where you can get your clothes resized if needed. '+iif(week < 6, 'It closes at 16:00.', 'It''s closed on weekends.') end if hour = 11 and week > 1 and week < 7 and workKafe['job'] = 1: 'The side door of The Roadhouse diner is open, allowing you to enter and start your shift.' elseif hour >= 12 and hour <= 20 and week ! 1: 'You can hear some gopniks laughing and swearing in a side alley next to The Roadhouse diner.' elseif hour > 20 and hour <= 3: 'You can hear some gopniks laughing and swearing in the parking lot of The Roadhouse diner. The diner itself is currently closed.' else 'The Roadhouse diner is currently closed. It''s open between 12:00 and 20:00 every day except Monday.' end 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 a 20 minute walk away.' 'The city''s only lake is a 40 minute walk away.' 'A 24 hour pharmacy is located nearby.' if Enable_tablemap = 0: if hour >= 10 and hour < 22 and lesbiQW = 1: 'Natalya 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''s apartment.' elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13: 'Mistress''s apartment.' end end if func('homes_properties', 'has_access', 'city_apartment') = 0: 'You see several trash bins in the courtyard of one of the apartment buildings.' else 'You see several trash bins in the courtyard of your apartment building.' end if drugVars['city_drugden'] > 0:'The drug house is clearly recognizable by the syringes and 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 that it''s just a front for a brothel.' if hour >= 20 or hour <= 4: *nl 'There are prostitutes working near here.' if pcs_makeup > 2 and PCloStyle = 4 and pcs_inhib >= 40 and (stat['vaginal'] > 0 or fame['pav_slut'] >= 100): act 'Prostitute yourself': gt 'street_walker', 'work' elseif pcs_inhib >= 40 and (stat['vaginal'] > 0 or fame['pav_slut'] >= 100): *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 gs 'booty_call', 'home_links' --- city_residential ---------------------------------