1
0

city_island.qsrc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # city_island
  2. $loc_arg = ''
  3. $loc = 'city_island'
  4. $region = 'city_island'
  5. $location_type = 'public_outdoors'
  6. $menu_loc = 'city_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 daystage = 2 or daystage = 3:
  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 daystage = 2 or daystage = 3:
  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. if streetevent_hour + 2 < hour:gt'street_event','city_island', 'main'
  39. gs 'street_event', 'city_island', 'extras'
  40. if home_owned[11] = 1:act '<b>GO HOME</b> (University dorm)':gt 'uni_dorm', 'start'
  41. if car > 0 and cardrive = 25:'In the parking stands your <a href="exec:GS ''carF'', ''start''"><<$car>></a>.'
  42. act 'Wait':gs 'obj_din', 'wait'
  43. gs 'taxi'
  44. gs 'camera', 'check_location'
  45. if hour >= 8 and hour <= 22:
  46. 'The <a href="exec: minut += 3 & gt ''uni_shop'', ''start''">supermarket</a> is not far from here.'
  47. 'You can see the <a href="exec:$loc = ''city_island'' & minut += 1 & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  48. else
  49. 'The local convenience store is closed, they open again at 8:00'
  50. 'You can see a closed kiosk. It''s open between 08:00 - 23:00.'
  51. end
  52. if hour >= 8 and hour < 22:
  53. 'You can see <a href="exec:gt ''shop_dolls'', ''start''">Patch Work Dolls</a> a clothing store that caters to Alternative styles, like gothic, punk, skater, and the like. Next to <a href="exec:gt ''shop_nerdvana'', ''start''">Nerdvana</a> a clothing store for everything a nerd could desire.'
  54. else
  55. 'You can see Patch Work Dolls a clothing store that caters to Alternative styles, like gothic, punk, skater, and the like. Next to that is Nerdvana the nerd clothing store, they both open every day between 08:00 - 22:00'
  56. end
  57. if hour >= 4:
  58. 'The <a href="exec:minut += 1 & gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  59. else
  60. 'The Metro Station is closed. The first train will depart at 04:00.'
  61. end
  62. act 'Go to the University campus':
  63. minut += 1
  64. gt 'uni_grounds', 'main'
  65. end
  66. if home_owned[11] = 1 or university['student'] = 1 or hour >= 6:'The <a href="exec:gt ''uni_dorm'', ''start''">University dorms</a> offers small, but cheap, living space, for university students.'
  67. if pcs_magik >= 1 and mainQW = 0 and mid($start_type,1,3) = 'uni':
  68. *clr & cla
  69. menu_off = 1
  70. mainQW = 1
  71. gs 'stat'
  72. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/lab/event/main.jpg"></center>'
  73. 'In front of your dorm, you see Tatiana and Gustav. 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.'
  74. 'Tatiana looks at you closely, "I felt a burst of energy. Were you attacked by a magician?"'
  75. act 'No':gt 'mainQW'
  76. exit
  77. end
  78. --- city_island ---------------------------------