1
0

Nord 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. # Nord
  2. $metka = ''
  3. $loc = 'Nord'
  4. $metkaStreet = ''
  5. $locStreet = 'Nord'
  6. $location_type = 'public_outdoors'
  7. CLOSE ALL
  8. if sound = 0:
  9. if month >=11 and month <= 12 or month >=1 and month <=3:
  10. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  11. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  12. else
  13. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  14. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  15. end
  16. end
  17. clr
  18. gs 'stat'
  19. !call random events from [street_events], and display them before show location.
  20. if streetevent_hour + 2 < hour: gt 'street_event','Nord', 'main'
  21. '<center><h2>St. Petersburg</h2></center>'
  22. '<center><b>Industrial region</b></center>'
  23. if month >= 11 or month <= 3:
  24. if hour >= 8 and hour <= 21:
  25. '<center><img <<$set_imgh>> src="images/locations/city/industrial/industw.jpg"></center>'
  26. else
  27. '<center><img <<$set_imgh>> src="images/locations/city/industrial/industwn.jpg"></center>'
  28. end
  29. else
  30. if hour >= 8 and hour <= 21:
  31. '<center><img <<$set_imgh>> src="images/locations/city/industrial/nord.jpg"></center>'
  32. else
  33. '<center><img <<$set_imgh>> src="images/locations/city/industrial/nord2.jpg"></center>'
  34. end
  35. end
  36. gs'street_event','Nord', 'extras'
  37. act 'Walk to the main road to Pavlovsk (15 min)':minut += 15 & nroad = 0 & gt'road'
  38. act 'Wait':
  39. cla
  40. waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
  41. if waiting <= 0 or waiting > 120:
  42. minut += 15
  43. elseif waiting > 0 and waiting <= 120:
  44. minut += waiting
  45. end
  46. act 'Take a look at the clock':gt curloc
  47. end
  48. gs 'taxi'
  49. if car > 0:
  50. if cardrive = 3 or cardrive >= 6 and cardrive <= 9:'In the parking stands your <a href="exec:GS ''carF'', ''start''"><<$car>></a>.'
  51. end
  52. 'The towns <a href="exec:hour += 1 & gt ''park'', ''start''">central park</a> is an hours walk from here.'
  53. if hour >= 8 and hour <= 22:'You can see the <a href="exec:$locM = ''Nord'' & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  54. '<a href="exec:minut += 15 & gt ''vokzal''">Train Station</a> to get to the small Town.'
  55. if hour < 16:
  56. 'The Bar "Rabotnik" is here, but it seems to be closed. A sign by the door tells you that it''s open every day between 16 and 24 o''clock.'
  57. else:
  58. 'The <a href="exec:gt ''qwBarPolet''">Bar "Rabotnik"</a> seems to be open.'
  59. end
  60. ![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]
  61. litltown = 0
  62. 'There is a <a href="exec:gt ''zaprF'', ''start''">Gas</a> Station near the street'
  63. if hour >= 5 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  64. if hour >= 9 and hour <= 17 and week > 1:'<a href="exec:gt ''autosalonF'', ''start''">Car Dealership</a>'
  65. if hour >= 9 and hour <= 20 and week < 7:'<a href="exec:gt ''autoservisF'', ''start''">Repair Shop</a>'
  66. if hour >= 9 and hour <= 17 and week > 1:'Used <a href="exec:gt ''autotraidF'', ''start''">Car Dealership</a>'
  67. if hour >= 9 and hour < 17 and week < 6:'<a href="exec:gt ''dk'', ''start''">Community centre</a>'
  68. if hour >= 9 and hour <= 17 and (StoryLine = 1 and SchoolAtestat = 0) or bumtolik > 3: '<a href="exec:GT ''buklinik'',''start''">Mercy clinic</a>'
  69. 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>'
  70. 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'', ''start''">Tattoo & Piercing parlor</a>'
  71. if tobiQW >= 1:'The old mansion, home to <a href="exec:gt ''kakuzu'', ''start''">Kakuzu</a>'
  72. 'There is a huge building, with bright lights, which houses a <a href="exec:gt ''casino''">Casino</a> and a hotel.'
  73. if hour >= 14 or hour < 4:'Located far away from the buildings <a href="exec:gt ''lakecafe'', ''main''">barbecue</a>.'
  74. if jouryResult = 10:'You can go to one of the apartment blocks and visit <a href="exec:gt ''youry'',''start''">Yuri''s</a> flat'
  75. if IvanKvartira > 0:'In one of these building is <a href="exec:gt ''ivanRoom''">Manager Ivans</a> apartment'
  76. 'A long and high fence, which is build around the <a href="exec:gt ''Terminal''">storage terminal</a>'
  77. --- Nord ---------------------------------