street.qsrc 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. # street
  2. music_loop = 0
  3. CLOSE ALL
  4. $metka = ''
  5. $loc = 'street'
  6. $location_type = 'public_outdoors'
  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. !all random events move to [street_events], and display them before show location. by illume
  17. if streetevent_hour + 2 < hour:gt'street_event','street', 'main'
  18. '<center><h2>St. Petersburg</h2></center>'
  19. '<center><b>Residential Area</b></center>'
  20. if month >= 11 or month <= 3:
  21. if hour >= 8 and hour <= 21:
  22. '<center><img <<$set_imgh>> src="images/locations/city/residential/streetw.jpg"></center>'
  23. else
  24. '<center><img <<$set_imgh>> src="images/locations/city/residential/streetwn.jpg"></center>'
  25. end
  26. else
  27. if hour >= 8 and hour <= 21:
  28. '<center><img <<$set_imgh>> src="images/locations/city/residential/street.jpg"></center>'
  29. else
  30. '<center><img <<$set_imgh>> src="images/locations/city/residential/street_night.jpg"></center>'
  31. end
  32. end
  33. gs'street_event','street', 'extras'
  34. if opusk > 0 or gnewQW = 5:
  35. if rand(0,9) = 0:gt 'gopnew', 'start5'
  36. if home_owned[1] > 0:'Near the entrance to where you live there is something written on the wall. It says:<b>"<<$pcs_nickname>> from apartment 69 is a cheap slut!"</b>'
  37. end
  38. clr
  39. gs 'stat'
  40. palMir = 0
  41. bordysh = 0
  42. housrA = 0
  43. obdysh = 0
  44. tanhouse1 = 0
  45. obMir = 0
  46. houseob = 0
  47. borMir = 0
  48. $onobjsel = 'onobjsel'
  49. if gopdeath = 1 and vsehsdaladay ! daystart:
  50. over = 6
  51. gt 'gameover'
  52. exit
  53. end
  54. housrA = 0
  55. if car > 0 and cardrive = 1:
  56. cardrive = 1
  57. 'In the parking lot is <a href="exec:GS ''carF'', ''start''">your <<$car>></a>.'
  58. end
  59. if home_owned[1] > 0:
  60. act '<b>GO HOME</b>':
  61. gorand = rand(0, 100)
  62. if (loh > 0 or gnewQW = 7) and gopdolg > 0 and hour >= 20 and gorand >= 80:
  63. gt 'gopnew', 'start'
  64. exit
  65. end
  66. if (opusk > 0 or gnewQW = 5) and hour >= 20 and gorand >= 80 and gopopusday ! daystart:
  67. gt 'gopnew', 'start'
  68. exit
  69. end
  70. minut += 1
  71. gt 'korr'
  72. end
  73. end
  74. act 'Wait':
  75. cla
  76. waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
  77. if waiting <= 0 or waiting > 120:
  78. minut += 15
  79. elseif waiting > 0 and waiting <= 120:
  80. minut += waiting
  81. end
  82. act 'Take a look at the clock':gt curloc
  83. end
  84. gs 'taxi'
  85. if hour >= 8 and hour <= 22:'You can see the <a href="exec:$locM = ''street'' & minut += 1 & gt ''kiosk'', ''start''">kiosk</a> selling cigarettes and magazines.'
  86. if Enable_tablemap = 0:
  87. if katkey = 1:'<a href="exec:gt ''katspalnya'', ''start''">Kats</a> apartment'
  88. if IrinaQW >= 1:'<a href="exec:gt ''IrinaRoom'', ''start''">Irenes</a> apartment is not far away from yours.'
  89. if hour >= 16 and hour < 22 and dimaQW > 0:'<a href="exec:gt ''dima'', ''start''">Dimas</a> apartment'
  90. if klofQW >= 2:'<a href="exec:gt ''klofdomhouse'', ''start''">Joras</a> apartment'
  91. else
  92. st_count=0 & $show_table=''
  93. if katkey = 1:gs'show_table','<a href="exec:gt ''katspalnya'', ''start''">Kats</a> apartment','3'
  94. if IrinaQW >= 1:gs'show_table','<a href="exec:gt ''IrinaRoom'', ''start''">Irenes</a> apartment is not far away from yours.','3'
  95. if hour >= 16 and hour < 22 and dimaQW > 0:gs'show_table','<a href="exec:gt ''dima'', ''start''">Dimas</a> apartment','3'
  96. if klofQW >= 2:gs'show_table','<a href="exec:gt ''klofdomhouse'', ''start''">Joras</a> apartment','3'
  97. if hour >= 10 and hour < 22 and lesbiQW = 1:
  98. gs'show_table','<a href="exec:gt ''lesbidomhouse'', ''start''">Natalia Petrovnas</a> apartment.'
  99. elseif lesbiday ! daystart and subdom = 2:
  100. gs'show_table','<a href="exec:GT ''lesbisubhouse'', ''start''">Your slaves</a> apartment.','3'
  101. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13:
  102. gs'show_table','<a href="exec:GT ''lesbidomhouse'', ''start''">Mistress''</a> apartment.','3'
  103. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13:
  104. gs'show_table','<a href="exec:GT ''lesbimistress'', ''start''">Mistress''</a> apartment.','3'
  105. end
  106. if st_count > 0 :'<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  107. end
  108. if hour >= 5 and hour <= 23:'The <a href="exec:gt ''metro'', ''start''">Metro</a> Station is within a 5 minute walk from here.'
  109. if hour >= 8 and hour <= 20:'The <a href="exec: minut += 3 & gt ''shop'', ''start''">supermarket</a> is not far from here.'
  110. if hour >= 8 and hour <= 20:'The <a href="exec:gt ''poli'', ''start''">clinic</a> is also nearby.'
  111. 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.'
  112. if hour >= 8 and hour <= 14 and week ! 1:'You could go shopping at the noisy local <a href="exec: minut += 10 & gt ''rinok'', ''start''">marketplace</a>.'
  113. if hour >= 8 and hour <= 15 and week < 6:'Near the market is a <a href="exec: minut += 10 & gt ''rinok'', ''tailor''">tailor shop</a> where you can get your clothes resized if needed.'
  114. if hour >= 11 and hour < 12 and week > 1 and week < 5 and workKafe = 1:'The side door of <a href="exec: minut += 5 & gt ''kafe'', ''work''">"The Roadhouse"</a> is open, so employees can enter to begin their shift.'
  115. if hour >= 12 and hour <= 22 and week ! 1:'In a side alley, next to the uniquely styled diner <a href="exec: minut += 5 & gt ''kafe'', ''start''">"The Roadhouse"</a>, you can hear the swearing and laughing of some <a href="exec: minut += 5 & gt ''gopnew'', ''start''">gopniks</a>.'
  116. 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>.'
  117. if clener >= 1 and hour >= 7 and hour <= 22:'There''s a small office building where a <a href="exec: minut += 5 & gt ''clener'', ''start''">cleaning lady</a> is needed.'
  118. 'The city''s large <a href="exec:minut += 20 & gt ''park'', ''start''">central park</a> is about a 20-minute walk away.'
  119. 'The city''s only <a href="exec:minut += 40 & gt ''lake'', ''start''">lake</a> is just a 40-minute walk away.'
  120. '24 Hour <a href="exec:$loc = ''street'' & gt ''pharmacy'', ''start''">Pharmacy</a>.'
  121. if Enable_tablemap = 0:
  122. if hour >= 10 and hour < 22 and lesbiQW = 1:
  123. '<a href="exec:gt ''lesbidomhouse'', ''start''">Natalia Petrovna''s</a> apartment.'
  124. elseif lesbiday ! daystart and subdom = 2:
  125. '<a href="exec:GT ''lesbisubhouse'', ''start''">Your slave''s</a> apartment.'
  126. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 2 and lesbiQW < 13:
  127. '<a href="exec:GT ''lesbidomhouse'', ''start''">Mistress''</a> apartment.'
  128. elseif lesbiday ! daystart and hour >= 8 and hour < 22 and lesbiQW >= 13:
  129. '<a href="exec:GT ''lesbimistress'', ''start''">Mistress''</a> apartment.'
  130. end
  131. end
  132. if home_owned[1] = 0:
  133. 'In the courtyard of one of the apartment buildings, you see several <a href="exec: minut += 1 & gt ''trashplace''">trash bins</a>.'
  134. else
  135. 'In the courtyard of your <a href="exec: gt ''etoexhib'', ''pos51''">apartment building</a>, you see several <a href="exec: minut += 1 & gt ''trashplace''">trash bins</a>.'
  136. end
  137. if SNarkPriton > 0:'The <a href="exec:minut += 5 & gt ''narkopriton''">drug house</a> is clearly recognizeable by the syringes and the trash that lies in front of it.'
  138. 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.'
  139. --- street ---------------------------------