Nord 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. # Nord
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $metkaStreet = $ARGS[0]
  5. $locStreet = $CURLOC
  6. CLOSE ALL
  7. if sound = 0:
  8. if month >=11 and month <= 12 or month >=1 and month <=3:
  9. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  10. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  11. else
  12. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  13. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  14. end
  15. end
  16. gs 'dinam'
  17. clr
  18. gs 'stat'
  19. gs 'outdoors'
  20. '<center><b>Northern region</b></center>'
  21. '<center><img src="images/etogame/nord.jpg"></center>'
  22. !call random events from [street_events], and display them before show location.
  23. gs'street_event','Nord' & if streetrand=-1:exit
  24. if marudatestinterface = 1:
  25. !!!!!
  26. !!! Transportation
  27. '<center>'
  28. if hour >= 5 and hour <= 23:
  29. *p '<a href="exec: GT ''metro'',''start''">Metro Station</a>'
  30. else *p 'Closed until 5 AM'
  31. end
  32. *p ' - '
  33. *p'<a href="exec:minut += 15 & GT ''vokzal''">Train Station</a>'
  34. *p ' - '
  35. *p '<a href="exec:GT ''zaprF'',''start''">Gas Station</a>'
  36. *nl
  37. *nl
  38. !!! General Content Locations / Activities
  39. *p '<a href="exec: set minut += 36 & GT ''park'',''start''">The Central Park</a>'
  40. *p ' - '
  41. *p'<a href="exec:GT ''casino''">"In Cash We Trust" Casino</a>'
  42. *p ' - '
  43. if hour >= 9 and hour <= 17 and week < 6:
  44. *p '<a href="exec: GT ''dk'',''start''">Community Centre</a>'
  45. else *p 'Closed until 9 AM and on Weekends'
  46. end
  47. *p ' - '
  48. *p'<a href="exec:GT ''Terminal''">Storage Units</a>'
  49. *nl
  50. *nl
  51. !!! Shopping Locations
  52. if hour >= 8 and hour <= 22:
  53. *p '<a href="exec: dynamic $kiosksig">Kiosk</a>'
  54. else *p 'Closed until 8 AM'
  55. end
  56. *p ' - '
  57. if hour >= 8 and hour <= 20:
  58. *p '<a href="exec: GT ''shop'',''start''">Supermarket</a>'
  59. else *p 'Closed until 8 AM'
  60. end
  61. *p ' - '
  62. if hour >= 9 and hour <= 17 and week > 1:
  63. *p '<a href="exec: GT ''autosalonF'',''start''">Car Dealership</a>'
  64. else *p 'Closed until 9 AM and on Mondays'
  65. end
  66. *p ' - '
  67. if hour >= 9 and hour <= 17 and week > 1:
  68. *p '<a href="exec: GT ''autotraidF'',''start''">Used-Car Dealership</a>'
  69. else *p 'Closed until 9 AM and on Mondays'
  70. end
  71. *p ' - '
  72. if hour >= 9 and hour <= 20 and week < 7:
  73. *p '<a href="exec: GT ''autoservisF'',''start''">Repair Shop</a>'
  74. else *p 'Closed until 9 AM and on Sundays'
  75. end
  76. *p ' - '
  77. if hour >= 12 and hour < 20:
  78. *p '<a href="exec: GT ''pirsingsalon''">Tatoo & Piercing Palor</a>'
  79. else *p 'Closed until 12 AM'
  80. end
  81. *nl
  82. *nl
  83. !!! Work Locations
  84. if hour >= 14 or hour < 4:
  85. *p '<a href="exec: GT ''lakecafe'',''main''">Cafe & Restaurant</a>'
  86. else *p 'Closed until 2 PM'
  87. end
  88. *p ' - '
  89. if hour >= 9 and hour <= 17 and week < 6 and bumtolik > 3:
  90. *p '<a href="exec:gt ''buklinik'', ''start''">Mercy clinic</a>'
  91. elseif hour < 9 and hour > 17 and week > 6 and bumtolik > 3: *p 'Closed until 9 AM and on Weekends'
  92. elseif bumtolik <= 3: *p 'Location locked'
  93. end
  94. *nl
  95. *nl
  96. !!! Locations bound to Characters - Location Locked = Player does not meet requirements yet (obviously)
  97. if slavaQW >= 1:
  98. *p '<a href="exec: GT ''qwBarPolet''">Bar "Flight"</a>'
  99. else *p 'Location locked'
  100. end
  101. *p ' - '
  102. if bumtolik > 3 and hour >= 9 and hour <= 17 and week < 6:
  103. *p '<a href="exec: GT ''buklinik'',''start''">"Mercy" Clinic</a>'
  104. elseif hour > 17 or hour < 9: *p 'Closed until 9 AM and on Weekends'
  105. else *p 'Location locked'
  106. end
  107. *p ' - '
  108. if tobiQW >= 1:
  109. *p 'The old mansion, home to <a href="exec: GT ''kakuzu'',''start''">Kakuzu</a>'
  110. else *p 'Location locked'
  111. end
  112. *p ' - '
  113. if jouryResult = 10:
  114. *p 'In one of the building you can find <a href="exec: GT ''youry''">Georges flat</a>'
  115. else *p 'Location locked'
  116. end
  117. *p ' - '
  118. if IvanKvartira > 0:
  119. *p 'In one of these building is <a href="exec: GT ''ivanRoom''">Manager Ivans apartment</a>'
  120. else *p 'Location locked'
  121. end
  122. *nl
  123. *nl
  124. end
  125. !!!!! End of marudatestinterface
  126. !!act 'Exit to the northern highway':minut += 15 & nroad = 0 & gt 'road'
  127. act 'Wait':
  128. cla
  129. waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
  130. if waiting <= 0 or waiting > 120:
  131. minut += 15
  132. elseif waiting > 0 and waiting <= 120:
  133. minut += waiting
  134. end
  135. act 'Take a look at the clock':gt curloc
  136. end
  137. gs 'taxi'
  138. if car > 0:
  139. if cardrive = 3 or cardrive >= 6 and cardrive <= 9:'In the parking stands your <a href="exec:GS ''carF'', ''start''"><<$car>></a>.'
  140. end
  141. if marudatestinterface = 0:
  142. 'The towns <a href="exec:hour += 1 & gt ''park'', ''start''">central park</a> is an hours walk from here.'
  143. if hour >= 8 and hour <= 22:'A kiosk is selling <a href="exec:dynamic $kiosksig">cigarettes</a>.'
  144. '<a href="exec:minut += 15 & gt ''vokzal''">Train Station</a> to get to the small Town.'
  145. if slavaQW >= 1:'<a href="exec:gt ''qwBarPolet''">Bar "Flight"</a>.'
  146. litltown = 0
  147. 'There is a <a href="exec:gt ''zaprF'', ''start''">Gas</a> Station near the street'
  148. if hour >= 5 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  149. if hour >= 9 and hour <= 17 and week > 1:'<a href="exec:gt ''autosalonF'', ''start''">Car Dealership</a>'
  150. if hour >= 9 and hour <= 20 and week < 7:'<a href="exec:gt ''autoservisF'', ''start''">Repair Shop</a>'
  151. if hour >= 9 and hour <= 17 and week > 1:'Used <a href="exec:gt ''autotraidF'', ''start''">Car Dealership</a>'
  152. if hour >= 9 and hour <= 17 and week < 6:'<a href="exec:gt ''dk'', ''start''">Community centre</a>'
  153. if hour >= 9 and hour <= 17 and week < 6 and bumtolik > 3:'<a href="exec:gt ''buklinik'', ''start''">Mercy clinic</a>'
  154. if hour >= 8 and hour <= 20:'The parking lot, which is engulfed in bright lights, belongs to a <a href="exec:gt ''shop'', ''start''">Supermarket</a>'
  155. if hour >= 12 and hour <= 19:'Above the door to a basement room is a bright neon sign for the <a href="exec:gt ''pirsingsalon''">Tatoo & Piercing parlor</a>'
  156. if tobiQW >= 1:'The old mansion, home to <a href="exec:gt ''kakuzu'', ''start''">Kakuzu</a>'
  157. 'There is a huge building, with bright lights, which houses a <a href="exec:gt ''casino''">Casino</a> and a hotel.'
  158. if hour >= 14 or hour < 4:'Located far away from the buildings <a href="exec:gt ''lakecafe'', ''main''">barbecue</a>.'
  159. if jouryResult = 10:'In one of the building you can find <a href="exec:gt ''youry''">Georges</a> flat'
  160. if IvanKvartira > 0:'In one of these building is <a href="exec:gt ''ivanRoom''">Manager Ivans</a> apartment'
  161. 'A long and high fence, which is build around the <a href="exec:gt ''Terminal''">storage terminal</a>'
  162. end
  163. !!!!! End of marudatestinterface
  164. --- Nord ---------------------------------