metro.qsrc 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. # metro
  2. if $ARGS[0] = 'start':
  3. CLOSE ALL
  4. $menu_loc = 'metro'
  5. $menu_arg = 'start'
  6. menu_off = 0
  7. if sound = 0:PLAY 'sound/metro' + rand(1,4) + '.mp3',30
  8. '<center><b><font color="maroon">Metro station</font></b></center>'
  9. if $loc = 'city_residential':
  10. '<center><b><font color="maroon">Residential Area</font></b></center>'
  11. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/platresident.jpg"></center>'
  12. elseif $loc = 'city_center':
  13. '<center><b><font color="maroon">City Center</font></b></center>'
  14. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/platcenter.jpg"></center>'
  15. elseif $loc = 'city_industrial':
  16. '<center><b><font color="maroon">City Industrial Region</font></b></center>'
  17. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/platindust.jpg"></center>'
  18. elseif $loc = 'city_suburbs':
  19. '<center><b><font color="maroon">City Suburbs</font></b></center>'
  20. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/platsuburb.jpg"></center>'
  21. elseif $loc = 'city_island':
  22. '<center><b><font color="maroon">Vasilyevsky Island</font></b></center>'
  23. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/platisland.jpg"></center>'
  24. end
  25. 'The metro fare costs 16 <b>₽</b>.'
  26. clr
  27. gs 'stat'
  28. gs 'themes', 'indoors'
  29. if workDisk = 3 and konvert = 1:
  30. badrand = rand(0, 100)
  31. if badrand >= 80:konvert = 0
  32. end
  33. act 'Leave the Metro station':
  34. if $loc = 'city_suburbs':
  35. minut += 20
  36. else
  37. minut += 5
  38. end
  39. gt $loc, $loc_arg
  40. end
  41. if money >= 16:
  42. if $loc ! 'city_residential':
  43. act 'Go to the Residential Area (16 <b>₽</b>)':
  44. $loc = 'city_residential'
  45. $loc_arg = ''
  46. money -= 16
  47. minut += 10
  48. gt 'metro', 'vagon'
  49. end
  50. end
  51. if $loc ! 'city_center':
  52. act 'Go to the City Center (16 <b>₽</b>)':
  53. $loc = 'city_center'
  54. $loc_arg = ''
  55. money -= 16
  56. minut += 10
  57. gt 'metro', 'vagon'
  58. end
  59. end
  60. if $loc ! 'city_industrial':
  61. act 'Go to the City Industrial Region (16 <b>₽</b>)':
  62. $loc = 'city_industrial'
  63. $loc_arg = ''
  64. money -= 16
  65. minut += 10
  66. gt 'metro', 'vagon'
  67. end
  68. end
  69. if $loc ! 'city_suburbs':
  70. act 'Go to the City Suburbs (16 <b>₽</b>)':
  71. $loc = 'city_suburbs'
  72. $loc_arg = 'start'
  73. money -= 16
  74. minut += 10
  75. gt 'metro', 'vagon'
  76. end
  77. end
  78. if $loc ! 'city_island':
  79. act 'Go to Vasilyevsky Island (16 <b>₽</b>)':
  80. $loc = 'city_island'
  81. $loc_arg = ''
  82. money -= 16
  83. minut += 10
  84. gt 'metro', 'vagon'
  85. end
  86. end
  87. else
  88. 'You don''t have enough money to pay for the metro.'
  89. end
  90. if pusher = 1 and dealer = 0:
  91. dealer = 1
  92. 'You see a tall, emaciated man leaning against the wall next to the tracks, looking very shady. He notices you looking and beckons you to come closer.'
  93. act 'Talk to the man':gt 'metro', 'dealer'
  94. elseif dealer ! 0:
  95. 'You see the dealer lurking around the station.'
  96. act 'Buy drugs':gt 'metro', 'shop'
  97. end
  98. end
  99. if $ARGS[0] = 'vagon':
  100. *clr & cla
  101. CLOSE ALL
  102. if sound = 0:PLAY 'sound/metro1.mp3',30
  103. gs 'stat'
  104. gs 'themes', 'indoors'
  105. menu_off = 1
  106. '<center><b><font color="maroon">Metro car</font></b></center>'
  107. if hour < 7 or hour >=22:
  108. if rand(0, 100) >= 70:gt 'metro_events', 'frot'
  109. metro_busy = rand(0,1)
  110. elseif (hour >= 9 and hour < 16) or (hour >= 18 and hour < 22):
  111. if rand(0, 100) >= 80:gt 'metro_events', 'frot'
  112. metro_busy = rand(1,2)
  113. else
  114. if rand(0, 100) >= 90:gt 'metro_events', 'frot'
  115. metro_busy = rand(2,3)
  116. end
  117. if metro_busy = 0:
  118. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metroempty.jpg"></center>'
  119. 'The car is almost completely empty, with only one or two other passengers in the car with you. It seems a bit odd and a little creepy seeing the car this empty. Having practically the entire car to yourself, you pick the cleanest spot to sit.'
  120. elseif metro_busy = 1:
  121. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metro.jpg"></center>'
  122. 'The car is mostly empty, leaving you a choice of seats. You easily find a place for yourself, leaving you plenty of room to get comfortable. The few other people on the car mind their own business, leaving you to your own thoughts.'
  123. elseif metro_busy = 2:
  124. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metrofull<<rand(1,5)>>.jpg"></center>'
  125. 'The car is full of people. All the seats are taken, but only a few people are forced to stand. You easily find a place for yourself, leaving you plenty of room to get comfortable.'
  126. else
  127. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metropacked.jpg"></center>'
  128. 'The car is packed with people, most of them being forced to stand since there aren''t enough seats. It''s so tightly packed that people are crammed up tightly against each other, but you manage to squeeze yourself in. You can feel other bodies pressed up tightly against yours, making for a very uncomfortable journey.'
  129. end
  130. if (cumloc[6] = 1 or cumloc[7] = 1) or cumloc[11] = 1:
  131. if hour >= 7 and hour <= 21:
  132. pcs_mood -= 10
  133. 'Several passengers are shocked, noticing the cum smears on you.'
  134. end
  135. end
  136. act 'Get out of the car':
  137. if hour < 7 or hour >=22:
  138. if rand(0, 100) >= 70:gt 'metro_events', 'station'
  139. elseif (hour >= 9 and hour < 16) or (hour >= 18 and hour < 22):
  140. if rand(1,100) >= 80:gt 'metro_events', 'station'
  141. else
  142. if rand(1,100) >= 90:gt 'metro_events', 'station'
  143. end
  144. gt 'metro', 'start'
  145. end
  146. end
  147. if $ARGS[0] = 'shop':
  148. *clr & cla
  149. menu_off = 1
  150. gs 'stat'
  151. 'He shows you a small box filled with red and blue pills. There are about two dozen of each pill inside.'
  152. act 'Leave':gt 'metro','start'
  153. if money >= 1000:
  154. '<a href="exec:money -= 1000 & mentats_have += 20 & gt ''metro'', ''shop''">Buy neuroboosters</a> 1000 <b>₽</b>'
  155. else
  156. 'Buy neuroboosters 1000 <b>₽</b> (You do not have enough money)'
  157. end
  158. 'Uses left: <<mentats_have>>'
  159. 'A pillbox with 10 orange pills inside, the description is removed from the box.'
  160. if money >= 500:
  161. '<a href="exec:money -= 500 & steroid_have += 10 & gt ''metro'', ''shop''">Buy steroids</a> 500 <b>₽</b>'
  162. else
  163. 'Buy steroids 500 <b>₽</b> (You do not have enough money)'
  164. end
  165. 'Uses left: <<steroid_have>>'
  166. 'Paste tube with two pictures of a woman. In the latter one, she sports an enormous bust.'
  167. if money >= 500:
  168. '<a href="exec:money -= 500 & bcream_have += 5 & gt ''metro'', ''shop''">Buy breast cream</a> 500 <b>₽</b>'
  169. else
  170. 'Buy breast cream 500 <b>₽</b> (You do not have enough money)'
  171. end
  172. 'Uses left: <<bcream_have>>'
  173. if $start_type[1] ! 'nomagic':
  174. 'Packet of pink chewing gum. There are 10 in one package.'
  175. if money >= 200:
  176. '<a href="exec:money -= 200 & aphrodisiac_have += 10 & gt ''metro'', ''shop''">Buy aphrodisiacs</a> 200 <b>₽</b>'
  177. else
  178. 'Buy aphrodisiacs 200 <b>₽</b> (You do not have enough money)'
  179. end
  180. 'Uses left: <<aphrodisiac_have>>'
  181. end
  182. if money >= 250:
  183. 'Buy enough <a href="exec:money -= 250 & joint += 5 & gt ''metro'', ''shop''">weed</a> for 5 joints for 250 <b>₽</b>'
  184. if money >= 500:'Buy enough <a href="exec:money -= 500 & joint += 10 & gt ''metro'', ''shop''">weed</a> for 10 joints for 500 <b>₽</b>'
  185. else
  186. 'Buy enough weed for 5 joints for 250 <b>₽</b> (You do not have enough money)'
  187. end
  188. end
  189. if $ARGS[0] = 'dealer':
  190. *clr & cla
  191. menu_off = 1
  192. 'He sizes you up with suspicion. "Hey there. Saw you buying Lady in the park." He clears his throat and spits onto the tracks. "That shit will mess you up." He opens his coat and you flinch, thinking he''s going to flash you, but instead see that he''s wearing a business suit underneath. He gestures at numerous pockets lining the insides of his coat, filled to bursting with various packages, pills and ampules. "Here, my products are of a much better quality. You''ll have a great time, and I guarantee they won''t kill you."'
  193. act 'Continue':gt 'metro','shop'
  194. end
  195. --- metro ---------------------------------