street 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # street
  2. CLOSE ALL
  3. $metkaM = $ARGS[0]
  4. $locM = $CURLOC
  5. $metka = $ARGS[0]
  6. $loc = $CURLOC
  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. !music_on = 0
  17. gs 'dinam'
  18. '<center><b>Residential Area<a href="exec:dynamic $objnewmenu">.</a></b></center>'
  19. '<center><img src="images/etogame/street.jpg"></center>'
  20. !all random events move to [street_events], and display them before show location. by illume
  21. gs'street_event','street' & if streetrand=-1:exit
  22. if opusk > 0 and housr > 0:'Near the entrance to where you live there is something written on the wall. It says:<b>"<<$name>> from apartment 69 is a cheap slut!"</b>'
  23. clr
  24. gs 'stat'
  25. gs 'outdoors'
  26. palMir = 0
  27. bordysh = 0
  28. housrA = 0
  29. obdysh = 0
  30. tanhouse1 = 0
  31. obMir = 0
  32. houseob = 0
  33. borMir = 0
  34. $onobjsel = 'onobjsel'
  35. if gopdeath = 1 and vsehsdaladay ! daystart:
  36. over = 6
  37. gt 'gameover'
  38. exit
  39. end
  40. housrA = 0
  41. if car > 0 and cardrive = 1:
  42. cardrive = 1
  43. 'In the parking lot is <a href="exec:GS ''carF'', ''start''">your <<$car>></a>.'
  44. end
  45. if housr = 1:
  46. act '<b>GO HOME</b>':
  47. gorand = rand(0, 100)
  48. if loh > 0 and gopdolg > 0 and hour >= 20 and gorand >= 80:
  49. gt 'gopnew', 'start'
  50. exit
  51. end
  52. if opusk > 0 and hour >= 20 and gorand >= 80 and gopopusday ! daystart:
  53. gt 'gopnew', 'start'
  54. exit
  55. end
  56. gt 'korr'
  57. end
  58. end
  59. act 'Wait':
  60. cla
  61. waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
  62. if waiting <= 0 or waiting > 120:
  63. minut += 15
  64. elseif waiting > 0 and waiting <= 120:
  65. minut += waiting
  66. end
  67. act 'Take a look at the clock':gt curloc
  68. end
  69. gs 'taxi'
  70. if hour >= 8 and hour <= 22:'You can see the <a href="exec:gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  71. if Enable_tablemap = 0:
  72. if katkey = 1:'<a href="exec:gt ''katspalnya'', ''start''">Katies</a> apartment'
  73. if IrinaQW >= 1:'<a href="exec:gt ''IrinaRoom'', ''start''">Irenes</a> apartment is not far away from yours.'
  74. if hour >= 16 and hour < 22 and dimaQW > 0:'<a href="exec:gt ''dima'', ''start''">Dimas</a> apartment'
  75. if klofQW >= 2:'<a href="exec:gt ''klofdomhouse'', ''start''">Joras</a> apartment'
  76. else
  77. st_count=0 & $show_table=''
  78. if katkey = 1:gs'show_table','<a href="exec:gt ''katspalnya'', ''start''">Katies</a> apartment','3'
  79. if IrinaQW >= 1:gs'show_table','<a href="exec:gt ''IrinaRoom'', ''start''">Irenes</a> apartment is not far away from yours.','3'
  80. if hour >= 16 and hour < 22 and dimaQW > 0:gs'show_table','<a href="exec:gt ''dima'', ''start''">Dimas</a> apartment','3'
  81. if klofQW >= 2:gs'show_table','<a href="exec:gt ''klofdomhouse'', ''start''">Joras</a> apartment','3'
  82. if hour >= 10 and hour < 22 and lesbiQW = 1:
  83. gs'show_table','<a href="exec:gt ''lesbidomhouse'', ''start''">Natalia Petrovnas</a> apartment.'
  84. elseif lesbiday ! daystart and subdom = 2:
  85. gs'show_table','<a href="exec:GT ''lesbisubhouse'', ''start''">Your slaves</a> apartment.','3'
  86. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13:
  87. gs'show_table','<a href="exec:GT ''lesbidomhouse'', ''start''">Mistress''</a> apartment.','3'
  88. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13:
  89. gs'show_table','<a href="exec:GT ''lesbimistress'', ''start''">Mistress''</a> apartment.','3'
  90. end
  91. if st_count > 0 :'<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  92. end
  93. if hour >= 5 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  94. if hour >= 8 and hour <= 20:'Not far from your house is a <a href="exec:gt ''shop'', ''start''">Supermarket</a>'
  95. if hour >= 8 and hour <= 20:'<a href="exec:gt ''poli'', ''start''">The clinic</a> isn''t far from your apartment either'
  96. if hour >= 6 and hour <= 9 and military = 1 and week = 6:'There is a <a href="exec:minut += 60 & gt ''Military'', ''start''">military bus</a> waiting on the other side of the street.'
  97. if hour >= 8 and hour <= 14 and week ! 1:'At the local, but noisy, <a href="exec:gt ''rinok'', ''start''">marketplace</a> you can go for a small shopping trip'
  98. if hour >= 8 and hour <= 4 and week < 6:'Near to the local market square is a <a href="exec:gt ''rinok'', ''tailor''">tailor shop</a> where you can get your clothes resized if required.'
  99. if hour >= 11 and hour < 12 and week > 1 and week < 5 and workKafe = 1:'The side door at the <a href="exec:gt ''kafe'', ''work''">cafe</a> open, so work staff can get in begin their shift.'
  100. if hour >= 12 and hour <= 22 and week ! 1:'In a side alley, next to the <a href="exec:gt ''kafe'', ''start''">cafe</a>, you can hear the swearing and laughing of some <a href="exec:gt ''gopnew'', ''start''">Gopniks</a>.'
  101. if hour > 22 or hour <= 3:'In one of the parking lots you can hear the swearing and laughing of some <a href="exec:gt ''gopnew'', ''start''">Gopniks</a>.'
  102. if clener >= 1 and hour >= 7 and hour <= 22:'There''s a small office building where a <a href="exec:gt ''clener'', ''start''">cleaning lady</a> is needed.'
  103. 'The towns <a href="exec:minut += 20 & gt ''park'', ''start''">central park</a> is about a 20-minute walk away.'
  104. 'The cities only <a href="exec:minut += 40 & gt ''lake'', ''start''">lake</a> can be reached from here and is just a 40-minute walk away.'
  105. '24 Hour <a href="exec:$loc = ''street'' & gt ''pharmacy'', ''start''">Pharmacy</a>.'
  106. if Enable_tablemap = 0:
  107. if hour >= 10 and hour < 22 and lesbiQW = 1:
  108. '<a href="exec:gt ''lesbidomhouse'', ''start''">Natalia Petrovnas</a> apartment.'
  109. elseif lesbiday ! daystart and subdom = 2:
  110. '<a href="exec:GT ''lesbisubhouse'', ''start''">Your slaves</a> apartment.'
  111. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13:
  112. '<a href="exec:GT ''lesbidomhouse'', ''start''">Mistress''</a> apartment.'
  113. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13:
  114. '<a href="exec:GT ''lesbimistress'', ''start''">Mistress''</a> apartment.'
  115. end
  116. end
  117. 'In the courtyard of the house you live in, you can find the <a href="exec:gt ''trashplace''">Wastebaskets</a>'
  118. if SNarkPriton > 0:'<a href="exec:minut += 5 & gt ''narkopriton''">The Drug House</a> is clearly recognizeable by the syringes and the trash that lies in front of it.'
  119. if hour >= 8 and hour <= 23 or saunaWorkWhore > 0 or workDisk = 2:'<a href="exec:minut += 10 & gt ''sauna''">The Sauna</a> is a 10 minute walk away. Rumors say the sauna is just the front for a brothel.'
  120. --- street ---------------------------------