1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- # island
- !!new island main page
- $metka = ''
- $loc = 'island'
- $location_type = 'public_outdoors'
- 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'
- '<center><h2>St. Petersburg</h2></center>'
- '<center><b>Vasilyevsky Island</b></center>'
- if month >= 11 or month <= 3:
- if hour >= 8 and hour <= 21:
- '<center><img <<$set_imgh>> src="images/locations/city/island/islandw.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/island/islandwn.jpg"></center>'
- end
- else
- if hour >= 8 and hour <= 21:
- '<center><img <<$set_imgh>> src="images/locations/city/island/island.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/island/islandn.jpg"></center>'
- end
- end
- 'The University area of the city, the University, shops, clubs and the like that cater to the college kids dominate this area of the city. There is only three bridges onto and off the island, plus the metro line.'
- !call random events from [street_events], and display them before show location.
- gs'street_event','island' & if streetrand = -1:exit
- if student > 0:act '<b>GO HOME</b> (University dorm)':gt 'dorm', 'start'
- if car > 0 and cardrive = 25:'In the parking stands your <a href="exec:GS ''carF'', ''start''"><<$car>></a>.'
- act 'Wait':
- cla
- waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
- if waiting <= 0 or waiting > 120:
- minut += 15
- elseif waiting > 0 and waiting <= 120:
- minut += waiting
- end
- act 'Take a look at the clock':gt curloc
- end
- gs 'taxi'
- if hour >= 8 and hour <= 22:'You can see the <a href="exec:$locM = ''island'' & minut += 1 & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
- if hour >= 8 and hour <= 22:'You can see the <a href="exec:gt ''dolls'', ''start''">Patch Work Dolls</a> is a clothing store that caters to Alternative styles, like gothic, punk, skater, and the like.'
- if hour >= 4 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
- if week < 6 and hour >= 7:'At the <a href="exec:gt ''univer'', ''start''">University</a> where you can earn your bachelors degree.'
- if student > 0 or (hour >= 6 and hour <= 23):'The <a href="exec:gt ''dorm'', ''start''">University dorms</a> offers small, but cheap, living space, for university students.'
- --- island ---------------------------------
|