metro.qsrc 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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 $loc = 'city_suburbs': act 'Walk to the bus stop (0:15)': minut += 15 & gt 'bus', 'suburbs'
  42. if money >= 16:
  43. if $loc ! 'city_residential':
  44. act 'Go to the Residential Area (00:10 - 16 <b>₽</b>)':
  45. $loc = 'city_residential'
  46. $loc_arg = ''
  47. money -= 16
  48. minut += 10
  49. gt 'metro', 'vagon'
  50. end
  51. end
  52. if $loc ! 'city_center':
  53. act 'Go to the City Center (00:10 - 16 <b>₽</b>)':
  54. $loc = 'city_center'
  55. $loc_arg = ''
  56. money -= 16
  57. minut += 10
  58. gt 'metro', 'vagon'
  59. end
  60. end
  61. if $loc ! 'city_industrial':
  62. act 'Go to the City Industrial Region (00:10 - 16 <b>₽</b>)':
  63. $loc = 'city_industrial'
  64. $loc_arg = ''
  65. money -= 16
  66. minut += 10
  67. gt 'metro', 'vagon'
  68. end
  69. end
  70. if $loc ! 'city_suburbs':
  71. act 'Go to the City Suburbs (00:10 - 16 <b>₽</b>)':
  72. $loc = 'city_suburbs'
  73. $loc_arg = 'start'
  74. money -= 16
  75. minut += 10
  76. gt 'metro', 'vagon'
  77. end
  78. end
  79. if $loc ! 'city_island':
  80. act 'Go to Vasilyevsky Island (00:10 - 16 <b>₽</b>)':
  81. $loc = 'city_island'
  82. $loc_arg = ''
  83. money -= 16
  84. minut += 10
  85. gt 'metro', 'vagon'
  86. end
  87. end
  88. else
  89. 'You don''t have enough money to pay for the metro.'
  90. end
  91. if pusher = 1 and dealer = 0:
  92. dealer = 1
  93. '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.'
  94. act 'Talk to the man':gt 'metro', 'dealer'
  95. elseif dealer ! 0:
  96. 'You see the dealer lurking around the station.'
  97. act 'Buy drugs':gt 'metro', 'shop'
  98. end
  99. end
  100. if $ARGS[0] = 'vagon':
  101. *clr & cla
  102. CLOSE ALL
  103. if sound = 0:PLAY 'sound/metro1.mp3',30
  104. gs 'stat'
  105. gs 'themes', 'indoors'
  106. menu_off = 1
  107. '<center><b><font color="maroon">Metro car</font></b></center>'
  108. if hour < 7 or hour >= 22:
  109. if rand(0, 100) >= 70: gt 'metro_events', 'frot'
  110. metro_busy = rand(0,1)
  111. elseif (hour >= 9 and hour < 16) or (hour >= 18 and hour < 22):
  112. if rand(0, 100) >= 80: gt 'metro_events', 'frot'
  113. metro_busy = rand(1,2)
  114. else
  115. if rand(0, 100) >= 90: gt 'metro_events', 'frot'
  116. metro_busy = rand(2,3)
  117. end
  118. if metro_busy = 0:
  119. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metroempty.jpg"></center>'
  120. '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.'
  121. elseif metro_busy = 1:
  122. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metro.jpg"></center>'
  123. '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.'
  124. elseif metro_busy = 2:
  125. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metrofull<<rand(1,5)>>.jpg"></center>'
  126. '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.'
  127. else
  128. '<center><img <<$set_imgh>> src="images/locations/city/shared/metro/metropacked.jpg"></center>'
  129. '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.'
  130. end
  131. if (cumloc[6] = 1 or cumloc[7] = 1) or cumloc[11] = 1:
  132. if hour >= 7 and hour <= 21:
  133. pcs_mood -= 10
  134. 'Several passengers are shocked, noticing the cum smears on you.'
  135. end
  136. end
  137. act 'Get out of the car':
  138. if hour < 7 or hour >= 22:
  139. if rand(0, 100) >= 70: gt 'metro_events', 'station'
  140. elseif (hour >= 9 and hour < 16) or (hour >= 18 and hour < 22):
  141. if rand(1,100) >= 80: gt 'metro_events', 'station'
  142. else
  143. if rand(1,100) >= 90: gt 'metro_events', 'station'
  144. end
  145. gt 'metro', 'start'
  146. end
  147. end
  148. if $ARGS[0] = 'shop':
  149. *clr & cla
  150. menu_off = 1
  151. gs 'stat'
  152. 'He shows you a small box filled with red and blue pills. There are about two dozen of each pill inside.'
  153. act 'Leave':gt 'metro','start'
  154. if money >= 1000:
  155. '<a href="exec:money -= 1000 & mentats_have += 20 & gt ''metro'', ''shop''">Buy neuroboosters</a> 1000 <b>₽</b>'
  156. else
  157. 'Buy neuroboosters 1000 <b>₽</b> (You do not have enough money)'
  158. end
  159. 'Uses left: <<mentats_have>>'
  160. 'A pillbox with 10 orange pills inside, the description is removed from the box.'
  161. if money >= 500:
  162. '<a href="exec:money -= 500 & steroid_have += 10 & gt ''metro'', ''shop''">Buy steroids</a> 500 <b>₽</b>'
  163. else
  164. 'Buy steroids 500 <b>₽</b> (You do not have enough money)'
  165. end
  166. 'Uses left: <<steroid_have>>'
  167. 'Paste tube with two pictures of a woman. In the latter one, she sports an enormous bust.'
  168. if money >= 500:
  169. '<a href="exec:money -= 500 & bcream_have += 5 & gt ''metro'', ''shop''">Buy breast cream</a> 500 <b>₽</b>'
  170. else
  171. 'Buy breast cream 500 <b>₽</b> (You do not have enough money)'
  172. end
  173. 'Uses left: <<bcream_have>>'
  174. if $start_subtype ! 'nomagic':
  175. 'Packet of pink chewing gum. There are 10 in one package.'
  176. if money >= 200:
  177. '<a href="exec:money -= 200 & aphrodisiac_have += 10 & gt ''metro'', ''shop''">Buy aphrodisiacs</a> 200 <b>₽</b>'
  178. else
  179. 'Buy aphrodisiacs 200 <b>₽</b> (You do not have enough money)'
  180. end
  181. 'Uses left: <<aphrodisiac_have>>'
  182. end
  183. if money >= 250:
  184. 'Buy enough <a href="exec:money -= 250 & joint += 5 & gt ''metro'', ''shop''">weed</a> for 5 joints for 250 <b>₽</b>'
  185. if money >= 500: 'Buy enough <a href="exec:money -= 500 & joint += 10 & gt ''metro'', ''shop''">weed</a> for 10 joints for 500 <b>₽</b>'
  186. else
  187. 'Buy enough weed for 5 joints for 250 <b>₽</b> (You do not have enough money)'
  188. end
  189. end
  190. if $ARGS[0] = 'dealer':
  191. *clr & cla
  192. menu_off = 1
  193. '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."'
  194. '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.'
  195. '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."'
  196. act 'Continue': gt 'metro','shop'
  197. end
  198. --- metro ---------------------------------