1
0

island.qsrc 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # island
  2. !!new island main page
  3. $metka = ''
  4. $loc = 'island'
  5. $location_type = 'public_outdoors'
  6. $menu_loc = 'island'
  7. $menu_arg = ''
  8. menu_off = 0
  9. CLOSE ALL
  10. if sound = 0:
  11. if month >=11 and month <= 12 or month >=1 and month <=3:
  12. 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
  13. if hour >= 0 and hour <= 7: PLAY 'sound/street_noise_siren.mp3',30 & PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  14. else
  15. 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
  16. 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
  17. end
  18. end
  19. clr
  20. gs 'stat'
  21. '<center><h2>St. Petersburg</h2></center>'
  22. '<center><b>Vasilyevsky Island</b></center>'
  23. if month >= 11 or month <= 3:
  24. if hour >= 8 and hour <= 21:
  25. '<center><img <<$set_imgh>> src="images/locations/city/island/islandw.jpg"></center>'
  26. else
  27. '<center><img <<$set_imgh>> src="images/locations/city/island/islandwn.jpg"></center>'
  28. end
  29. else
  30. if hour >= 8 and hour <= 21:
  31. '<center><img <<$set_imgh>> src="images/locations/city/island/island.jpg"></center>'
  32. else
  33. '<center><img <<$set_imgh>> src="images/locations/city/island/islandn.jpg"></center>'
  34. end
  35. end
  36. '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.'
  37. !call random events from [street_events], and display them before show location.
  38. gs'street_event','island' & if streetrand = -1:exit
  39. if student > 0:act '<b>GO HOME</b> (University dorm)':gt 'dorm', 'start'
  40. if car > 0 and cardrive = 25:'In the parking stands your <a href="exec:GS ''carF'', ''start''"><<$car>></a>.'
  41. act 'Wait':gs 'obj_din', 'wait'
  42. gs 'taxi'
  43. 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.'
  44. 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.'
  45. if hour >= 4 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  46. if week < 6 and hour >= 7:'At the <a href="exec:gt ''univer'', ''start''">University</a> where you can earn your bachelors degree.'
  47. 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.'
  48. --- island ---------------------------------