Nord.qsrc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. # Nord
  2. if $ARGS[0] = '':
  3. $metka = ''
  4. $loc = 'Nord'
  5. $metkaStreet = ''
  6. $locStreet = 'Nord'
  7. $location_type = 'public_outdoors'
  8. $menu_loc = 'Nord'
  9. $menu_arg = ''
  10. menu_off = 0
  11. CLOSE ALL
  12. if sound = 0:
  13. if month >=11 and month <= 12 or month >=1 and month <=3:
  14. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  15. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  16. else
  17. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  18. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  19. end
  20. end
  21. clr
  22. gs 'stat'
  23. !call random events from [street_events], and display them before show location.
  24. if streetevent_hour + 2 < hour: gt 'street_event','Nord', 'main'
  25. '<center><h2>St. Petersburg</h2></center>'
  26. '<center><b>Industrial Region</b></center>'
  27. if month >= 11 or month <= 3:
  28. if hour >= 8 and hour <= 21:
  29. '<center><img <<$set_imgh>> src="images/locations/city/industrial/industw.jpg"></center>'
  30. else
  31. '<center><img <<$set_imgh>> src="images/locations/city/industrial/industwn.jpg"></center>'
  32. end
  33. else
  34. if hour >= 8 and hour <= 21:
  35. '<center><img <<$set_imgh>> src="images/locations/city/industrial/nord.jpg"></center>'
  36. else
  37. '<center><img <<$set_imgh>> src="images/locations/city/industrial/nord2.jpg"></center>'
  38. end
  39. end
  40. gs'street_event','Nord', 'extras'
  41. act 'Walk to the main road to Pavlovsk (0:15)': minut += 15 & nroad = 0 & gt'road'
  42. act 'Visit the Red Light District (0:05)': minut += 5 & gt 'Nord', 'redlight'
  43. act 'Wait':gs 'obj_din', 'wait'
  44. gs 'taxi'
  45. if car > 0:
  46. if cardrive = 3 or cardrive >= 6 and cardrive <= 9:'In the parking stands your <a href="exec:GS ''carF'', ''start''"><<$car>></a>.'
  47. end
  48. 'The towns <a href="exec:hour += 1 & gt ''park'', ''start''">central park</a> is an hours walk from here.'
  49. if hour >= 8 and hour <= 22:'You can see the <a href="exec:$locM = ''Nord'' & minut += 1 & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  50. '<a href="exec:minut += 15 & gt ''nordtrain'', ''outside''">Train Station</a> to get to the small Town.'
  51. if week = 3 or hour < 16:
  52. 'The Bar "Rabotnik" is here, but it seems to be closed. A sign by the door tells you that it''s open every day (except Wednesday) between 16:00 and 24:00.'
  53. else
  54. 'The <a href="exec: minut += 5 & gt ''qwBarPolet''">Bar "Rabotnik"</a> seems to be open.'
  55. end
  56. ![slavaQW - Related to Glory; references to bar "Flight" have to be fixed - requirement to access the bar has been removed for now, since content not related - Variable not used by anything else at the moment]
  57. litltown = 0
  58. 'There is a <a href="exec: minut += 5 & gt ''zaprF'', ''start''">Gas</a> Station near the street'
  59. if hour >= 5 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  60. if hour >= 9 and hour <= 20 and week < 7:'<a href="exec: minut += 5 & gt ''autoservisF'', ''start''">Repair Shop</a>'
  61. if hour >= 9 and hour <= 17 and week > 1:'<a href="exec: minut += 5 & gt ''autotraidF'', ''start''">Car Dealership</a>'
  62. if hour >= 9 and hour < 17 and week < 6:'<a href="exec: minut += 5 & gt ''dk'', ''start''">Community centre</a>'
  63. if hour >= 9 and hour <= 17 and (StoryLine = 1 and SchoolAtestat = 0) or bumtolik > 3: '<a href="exec:gt ''buklinik'',''start''">Mercy clinic</a>'
  64. if hour >= 8 and hour <= 20:'The parking lot, which is engulfed in bright lights, belongs to a <a href="exec: minut += 2 & gt ''shop'', ''start''">Supermarket</a>'
  65. if hour >= 12 and hour <= 19:'Above the door to a basement room is a bright neon sign for the <a href="exec: minut += 5 & gt ''pirsingsalon'', ''start''">Tattoo & Piercing parlor</a>'
  66. if tobiQW >= 1:'The old mansion, home to <a href="exec:gt ''kakuzu'', ''start''">Kakuzu</a>'
  67. 'There is a huge building, with bright lights, which houses a <a href="exec: minut += 10 & gt ''casino'', ''outside''">Casino</a>.'
  68. if hour >= 14 or hour < 4:'Located far away from the buildings <a href="exec: minut += 2 & gt ''lakecafe'', ''main''">barbecue</a>.'
  69. if jouryResult = 10:'You can go to one of the apartment blocks and visit <a href="exec:gt ''youry'',''start''">Yuri''s</a> flat'
  70. if IvanKvartira > 0:'In one of these building is <a href="exec:gt ''ivanRoom''">Manager Ivans</a> apartment'
  71. 'A long and high fence, which is build around the <a href="exec:gt ''Terminal''">storage terminal</a>'
  72. end
  73. if $ARGS[0] = 'redlight':
  74. $metka = 'redlight'
  75. $loc = 'Nord'
  76. $metkaStreet = 'redlight'
  77. $locStreet = 'Nord'
  78. $location_type = 'public_outdoors'
  79. CLOSE ALL
  80. if sound = 0:
  81. if month >=11 and month <= 12 or month >=1 and month <=3:
  82. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  83. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  84. else
  85. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  86. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  87. end
  88. end
  89. clr
  90. gs 'stat'
  91. '<center><h2>St. Petersburg</h2></center>'
  92. '<center><b>Red Light District</b></center>'
  93. if hour >= 18 or hour < 2:
  94. 'The <a href="exec:gt ''stripclub'', ''start''">Strip Clubs</a> red lights, attracting men from all over the city.'
  95. else
  96. 'The <a href="exec:msg ''The Strip Club is closed for the day and will reopen at 18:00''">Strip Clubs</a> red lights, attracting men from all over the city.'
  97. end
  98. if pornstudio >= 1 and hour >= 10 and hour < 22:
  99. 'At the <a href="exec:gt ''pornstudio'', ''start''">Porn Studio</a>, where a variety of naughty movies are created'
  100. elseif pornstudio >= 1 and (hour < 10 or hour >= 22):
  101. 'At the <a href="exec:msg ''The Porn Studio is closed for the day and will reopen at 10:00''">Porn Studio</a>, where a variety of naughty movies are created'
  102. end
  103. 'A shop for <a href="exec:gt ''sexshop'', ''start''">Sex Toys</a> is open for perverts from all around the city.'
  104. if bordel > 0 and hour >= 20 or bordel > 0 and hour <= 3:'Inside the courtyard is the entrance to the <a href="exec:gt ''bordel''">brothel</a>.'
  105. act 'Return to the Industrial Region (0:05)': minut += 5 & gt 'Nord'
  106. act 'Wait':gs 'obj_din', 'wait'
  107. gs 'taxi'
  108. if hour >= 20 or hour <= 4:
  109. *nl
  110. 'There are prostitutes working in places near here.'
  111. if pcs_makeup > 2 and PCloStyle = 4 and pcs_inhib >= 40:
  112. act 'Prostitute yourself': gt 'street_walker', 'work'
  113. elseif pcs_inhib >= 40:
  114. *nl
  115. 'You could work as a prostitute, but you need to wear appropriate clothes and more than a little bit of makeup.'
  116. else
  117. *nl
  118. 'You could work as a prostitute, but you aren''t comfortable with the idea.'
  119. end
  120. end
  121. end
  122. --- Nord ---------------------------------