city_island.qsrc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # city_island
  2. ! 14-09-22 Added Metro link to navigation line 49
  3. $loc_arg = ''
  4. $loc = 'city_island'
  5. $region = 'city'
  6. $location_type = 'public_outdoors'
  7. $menu_loc = 'city_island'
  8. $menu_arg = ''
  9. menu_off = 0
  10. close all
  11. if sound = 0:
  12. if month >=11 and month <= 12 or month >= 1 and month <= 3:
  13. 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
  14. if hour >= 0 and hour <= 7: PLAY 'sound/street_noise_siren.mp3', 30 & PLAY 'sound/street_night.mp3', 30 & PLAY 'sound/zima.mp3', 30
  15. else
  16. 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
  17. 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
  18. end
  19. end
  20. clr
  21. gs 'stat'
  22. '<center><h2>St. Petersburg</h2></center>'
  23. '<center><b>Vasilyevsky Island</b></center>'
  24. if month >= 11 or month <= 3:
  25. if dayStage = 2 or dayStage = 3:
  26. '<center><img <<$set_imgh>> src="images/locations/city/island/islandw.jpg"></center>'
  27. else
  28. '<center><img <<$set_imgh>> src="images/locations/city/island/islandwn.jpg"></center>'
  29. end
  30. else
  31. if dayStage = 2 or dayStage = 3:
  32. '<center><img <<$set_imgh>> src="images/locations/city/island/island.jpg"></center>'
  33. else
  34. '<center><img <<$set_imgh>> src="images/locations/city/island/islandn.jpg"></center>'
  35. end
  36. end
  37. 'The university and shops and clubs that cater to the students dominate this area of the city.'
  38. !call random events from [street_events], and display them before show location.
  39. if streetevent_hour + 2 < hour:gt'street_event','city_island', 'main'
  40. gs 'street_event', 'city_island', 'extras'
  41. if func('homes_properties', 'has_access', 'university_dorm') :act '<b>GO HOME</b> (University dorm)':gt 'uni_dorm', 'start'
  42. if car > 0 and cardrive = 25:'Your <a href="exec:GS ''carF'', ''start''"><<$car>></a> stands in the parking lot.'
  43. if hour >= 4 and hour < 23:
  44. act 'Walk to the Metro': gt 'metro', 'start'
  45. end
  46. act 'Wait':gs 'obj_din', 'wait'
  47. gs 'taxi'
  48. gs 'camera', 'check_location'
  49. if hour >= 8 and hour <= 22:
  50. 'The <a href="exec: minut += 3 & gt ''uni_shop'', ''start''">supermarket</a> is not far from here.'
  51. 'You can see the <a href="exec:$loc = ''city_island'' & minut += 1 & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  52. else
  53. 'The local convenience store is closed. It will reopen at 08:00'
  54. 'You can see a closed kiosk. It''s open between 08:00 and 23:00.'
  55. end
  56. if hour >= 8 and hour < 22:
  57. '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 and skater. Next door is <a href="exec:gt ''shop_nerdvana'', ''start''">Nerdvana</a>, a clothing store that stock everything a nerd could desire.'
  58. else
  59. 'You can see Patch Work Dolls, a clothing store that caters to Alternative styles, like gothic, punk, skater. Next door is Nerdvana, the nerd clothing store. They both open every day between 08:00 and 22:00'
  60. end
  61. if hour >= 7 and hour < 22:
  62. 'You can see a sign advertising a coffee shop called <a href="exec: minut += 3 & gt ''city_coffee_hole'', ''start''">The Coffee Hole</a> just a few blocks away from the university.'
  63. else
  64. 'The Coffee Hole is closed. They reopen at 07:00.'
  65. end
  66. if hour >= 4 and hour < 23:
  67. 'The <a href="exec:minut += 1 & gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  68. else
  69. 'The Metro Station is closed. The first train will depart at 04:00.'
  70. end
  71. if anushkaCityQW['first_visit'] > 0:
  72. 'Anushka lives in <a href="exec:minut += 1 & gt ''anushapt_city'', ''home''">a shared apartment</a> around the corner.'
  73. end
  74. act 'Go to the university campus':
  75. minut += 1
  76. gt 'uni_grounds', 'main'
  77. end
  78. if func('homes_properties', 'has_access', 'university_dorm') 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.'
  79. if pcs_magik >= 1 and mainQW = 0 and mid($start_type,1,3) = 'uni':
  80. *clr & cla
  81. menu_off = 1
  82. mainQW = 1
  83. gs 'stat'
  84. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/lab/event/main.jpg"></center>'
  85. 'You see Tatiana and Gustav standing in front of your dorm. 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.'
  86. 'Tatiana looks at you closely. "I felt a burst of energy. Were you attacked by a magician?"'
  87. act 'No':gt 'mainQW'
  88. exit
  89. end
  90. --- city_island ---------------------------------