city_industrial.qsrc 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. # city_industrial
  2. !!2021/04/23
  3. if $ARGS[0] = '':
  4. $loc_arg = ''
  5. $loc = 'city_industrial'
  6. $location_type = 'public_outdoors'
  7. $menu_loc = 'city_industrial'
  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/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  14. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  15. else
  16. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  17. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  18. end
  19. end
  20. gs 'stat'
  21. !call random events from [street_events], and display them before show location.
  22. if streetevent_hour + 2 < hour: gt 'street_event','city_industrial', 'main'
  23. '<center><h2>St. Petersburg</h2></center>'
  24. '<center><b>Industrial Region</b></center>'
  25. if month >= 11 or month <= 3:
  26. if daystage = 2 or daystage = 3:
  27. '<center><img <<$set_imgh>> src="images/locations/city/industrial/industw.jpg"></center>'
  28. else
  29. '<center><img <<$set_imgh>> src="images/locations/city/industrial/industwn.jpg"></center>'
  30. end
  31. else
  32. if daystage = 2 or daystage = 3:
  33. '<center><img <<$set_imgh>> src="images/locations/city/industrial/nord.jpg"></center>'
  34. else
  35. '<center><img <<$set_imgh>> src="images/locations/city/industrial/nord2.jpg"></center>'
  36. end
  37. end
  38. gs'street_event','city_industrial', 'extras'
  39. act 'Walk to the main road to Pavlovsk (0:15)': minut += 15 & nroad = 0 & gt'road'
  40. act 'Visit the Red Light District (0:05)': minut += 5 & gt 'city_industrial', 'redlight'
  41. act 'Wait':gs 'obj_din', 'wait'
  42. gs 'taxi'
  43. if car > 0:
  44. if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
  45. 'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
  46. cardrive = 3
  47. end
  48. if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
  49. 'In the parking stands your <a href="exec:' + iif(cardrive = 3, '', 'minut += 5 & ') + 'gs ''carF'', ''start''"><<$car>></a>.'
  50. end
  51. end
  52. 'The town''s <a href="exec:minut += 60 & gt ''city_park'', ''start''">central park</a> is a one hour walk from here.'
  53. if hour > 7 and hour < 23:
  54. 'You can see the <a href="exec:$loc = ''city_industrial'' & minut += 1 & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  55. else
  56. 'The kiosk is closed between 23:00 and 07:00.'
  57. end
  58. 'At the center of the industrial region is a <a href="exec:minut += 15 & gt ''city_industrial_train'', ''outside''">train station</a>.'
  59. if week = 3 or hour < 16:
  60. 'The "Rabotnik" bar 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 midnight...'
  61. else
  62. 'The <a href="exec: minut += 5 & gt ''qwBarPolet''">Bar "Rabotnik"</a> seems to be open.'
  63. end
  64. ![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]
  65. litltown = 0
  66. 'There is a <a href="exec: minut += 5 & gt ''zaprF'', ''start''">gas station</a> near the street'
  67. if hour >= 5 and hour <= 23:
  68. 'The <a href="exec: minut += 5 & gt ''metro'', ''start''">metro station</a> is within a 5 minute walk from here.'
  69. else
  70. 'The metro station is within a 5 minute walk from here. The metro system is closed between midnight and 05:00.'
  71. end
  72. if func('autotraidF', 'is_open'):
  73. 'A <a href="exec: minut += 5 & gt ''autotraidF'', ''start''">car dealership</a> is nearby.'
  74. else
  75. 'A car dealership is nearby' + iif(week = 1, ', but it''s closed on Mondays.', '. It''s currently closed and will open between 09:00 and 18:00.') + iif(car > 0 and cardrive = 9, ' Your <<$car>> is currently locked inside.', '')
  76. end
  77. if func('autoservisF', 'is_open'):
  78. 'Next to the car dealership is a <a href="exec: minut += 5 & gt ''autoservisF'', ''start''">repair shop</a>.'
  79. else
  80. 'Next to the car dealership is a repair shop.' + iif(week = 7, 'It''s closed on Sundays.', 'It will be open between 09:00 and 20:00.') + iif(car > 0 and cardrive = 7, ' Your <<$car>> is currently locked inside.', '')
  81. end
  82. if hour >= 9 and hour < 17 and week < 6:
  83. 'The <a href="exec: minut += 5 & gt ''dk'', ''start''">community centre</a> is currently open.'
  84. else
  85. 'The community centre is currently closed. It''s only open during the week between 09:00 and 17:00.'
  86. end
  87. if hour >= 9 and hour <= 17 and (StoryLine = 1 and SchoolAtestat = 0) or bumtolik > 3:
  88. '<a href="exec: gt ''buklinik'',''start''">Mercy clinic</a> is open.'
  89. elseif (hour < 9 or hour > 17) and (StoryLine = 1 and SchoolAtestat = 0) or bumtolik > 3:
  90. 'Mercy clinic is closed.'
  91. end
  92. if hour >= 8 and hour <= 20:
  93. 'The parking lot, which is engulfed in bright lights, belongs to a <a href="exec: minut += 2 & gt ''shop'', ''start''">supermarket</a>.'
  94. else
  95. 'The empty parking lot, which is engulfed in bright lights, belongs to a supermarket that is open between 08:00 and 20:00'
  96. end
  97. if hour >= 12 and hour <= 19:
  98. '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>.'
  99. else
  100. 'Above the door to a basement room is a bright neon sign for the Tattoo & Piercing parlor. The opening hours are 12:00 to 20:00'
  101. end
  102. if tobiQW >= 1:'The old mansion, home to <a href="exec:gt ''kakuzu'', ''start''">Kakuzu</a>'
  103. 'There is a huge building, with bright lights, which houses a <a href="exec: minut += 10 & gt ''casino'', ''outside''">Casino</a>.'
  104. if hour >= 14 or hour < 4:
  105. 'Located far away from the buildings is a <a href="exec: minut += 2 & gt ''lakecafe'', ''main''">barbecue</a>.'
  106. else
  107. 'Located far away from the buildings is a barbecue. It''ll be open between 14:00 and 04:00'
  108. end
  109. if jouryResult = 10:'You can go to one of the apartment blocks and visit <a href="exec:gt ''youry'',''start''">Yuri''s</a> flat'
  110. if BurgerQW['IlyQWTatianaHelp'] > 0:'In one of these building is <a href="exec:gt ''ilyroom''">Manager Ilyushkins</a> apartment'
  111. 'A long and high fence, which is build around the <a href="exec:gt ''Terminal''">storage terminal</a>'
  112. end
  113. if $ARGS[0] = 'redlight':
  114. $loc_arg = 'redlight'
  115. $loc = 'city_industrial'
  116. $location_type = 'public_outdoors'
  117. $menu_loc = 'city_industrial'
  118. $menu_arg = 'redlight'
  119. menu_off = 0
  120. CLOSE ALL
  121. if sound = 0:
  122. if month >=11 and month <= 12 or month >=1 and month <=3:
  123. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  124. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  125. else
  126. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  127. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  128. end
  129. end
  130. gs 'stat'
  131. '<center><h2>St. Petersburg</h2></center>'
  132. '<center><b>Red Light District</b></center>'
  133. '<center><img <<$set_imgh>> src="images/locations/city/redlight/redlight.jpg"></center>'
  134. 'This small area inside the Industrial District has lots of strip clubs and sex shops. The Porn studio also operates out of this district.'
  135. if hour >= 18 or hour < 2:
  136. 'The <a href="exec:gt ''stripclub'', ''start''">Strip Clubs</a> red lights, attracting men from all over the city.'
  137. else
  138. '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.'
  139. end
  140. if pornstudio >= 1 and hour >= 10 and hour < 22:
  141. 'At the <a href="exec:gt ''pornstudio'', ''start''">Porn Studio</a>, where a variety of adult movies are created.'
  142. elseif pornstudio >= 1 and (hour < 10 or hour >= 22):
  143. '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 adult movies are created.'
  144. end
  145. if hour < 3 or hour >= 11:
  146. 'A shop for <a href="exec:minut += 5 & gt ''sexshop'', ''start''">Sex Toys</a> is open for perverts from all around the city to browse its stock.'
  147. else
  148. 'A shop that sells sex toys. It is currently closed and will open at 11:00.'
  149. end
  150. if bordel > 0 and func('bordel', 'is_open'):'Inside the courtyard is the entrance to the <a href="exec:gt ''bordel''">brothel</a>.'
  151. if hour >= 10:
  152. 'You see a small <a href="exec:gt ''etoexhib'',''pos54''">printing shop</a> tucked away between two larger buildings.'
  153. end
  154. act 'Return to the Industrial Region (0:05)': minut += 5 & gt 'city_industrial'
  155. act 'Wait':gs 'obj_din', 'wait'
  156. gs 'taxi'
  157. if car > 0:
  158. if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
  159. 'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
  160. cardrive = 3
  161. end
  162. if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
  163. 'In the parking stands your <a href="exec:' + iif(cardrive = 27, '', 'minut += 5 & ') + 'gs ''carF'', ''start''"><<$car>></a>.'
  164. end
  165. end
  166. if hour >= 20 or hour <= 4:
  167. *nl
  168. 'There are prostitutes working in places near here.'
  169. if pcs_makeup > 2 and PCloStyle = 4 and pcs_inhib >= 40:
  170. act 'Prostitute yourself': gt 'street_walker', 'work'
  171. elseif pcs_inhib >= 40:
  172. *nl
  173. 'You could work as a prostitute, but you need to wear appropriate clothes and more than a little bit of makeup.'
  174. else
  175. *nl
  176. 'You could work as a prostitute, but you aren''t comfortable with the idea.'
  177. end
  178. end
  179. end
  180. --- city_industrial ---------------------------------