metro 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. # metro
  2. if $ARGS[0] = 'start':
  3. CLOSE ALL
  4. if sound = 0:PLAY 'sound/metro.mp3',30
  5. '<center><b><font color="maroon">Metro station</font></b></center>'
  6. if $loc = 'street':'<center><b><font color="maroon">Residential area</font></b></center>'
  7. if $loc = 'down':'<center><b><font color="maroon">Center</font></b></center>'
  8. if $loc = 'Nord':'<center><b><font color="maroon">Northern region</font></b></center>'
  9. '<center><img src="images/etogame/metro.jpg"></center>'
  10. 'Subway fare costs 16 <b>₽</b>.'
  11. minut += 15
  12. clr
  13. gs 'stat'
  14. fcolor = rgb(0, 0, 0)
  15. bcolor = rgb(255, 255, 255)
  16. lcolor = rgb(106, 90, 205)
  17. if workDisk = 3 and konvert = 1:
  18. badrand = rand(0, 100)
  19. if badrand >= 80:konvert = 0
  20. end
  21. if money >= 16:
  22. if $loc ! 'street':
  23. act 'Go to the <b>residential area</b> (16 <b>₽</b>)':
  24. $loc = 'street'
  25. gt 'metro', 'vagon'
  26. end
  27. end
  28. if $loc ! 'down':
  29. act 'Go to the <b>center</b> (16 <b>₽</b>)':
  30. $loc = 'down'
  31. gt 'metro', 'vagon'
  32. end
  33. end
  34. if $loc ! 'Nord':
  35. act 'Go to the <b>northern area</b> (16 <b>₽</b>)':
  36. $loc = 'Nord'
  37. gt 'metro', 'vagon'
  38. end
  39. end
  40. if $loc ! 'liam':
  41. act 'Go to the <b>the old town</b> (16 <b>₽</b>)':
  42. $loc = 'liam'
  43. gt 'metro', 'vagon'
  44. end
  45. end
  46. end
  47. act 'Get off the subway':
  48. minut += 15
  49. gt '<<$loc>>'
  50. end
  51. if pusher = 1 and dealer = 0:
  52. 'You see a tall, emaciated man leaning against the wall next to tracks. Looking very shady.<br>He notices you looking and beckons you closer.'
  53. act 'Talk to the man':gt 'metro', 'dealer'
  54. dealer = 1
  55. elseif dealer ! 0:
  56. 'You see dealer lurking around the station.'
  57. act 'Buy drugs':gt 'metro', 'shop'
  58. end
  59. end
  60. if $ARGS[0] = 'vagon':
  61. cla
  62. clr
  63. CLOSE ALL
  64. if sound = 0:PLAY 'sound/metro1.mp3',30
  65. money -= 16
  66. gs 'stat'
  67. fcolor = rgb(0, 0, 0)
  68. bcolor = rgb(255, 255, 255)
  69. lcolor = rgb(106, 90, 205)
  70. '<center><b><font color="maroon">Subway car</font></b></center>'
  71. if hour < 5 or hour > 10 and hour < 15 or hour > 24:
  72. '<center><img src="images/etogame/vagon.jpg"></center>'
  73. 'In the car are just a few passengers vacantly reading magazines and papers.'
  74. elseif hour >= 5 and hour <= 10 or hour >= 15 and hour <= 24:
  75. '<center><img src="images/etogame/vagonfull.jpg"></center>'
  76. 'In the car there are lots of people all standing like statues, trying not to make eye conteact with each other.'
  77. frotrand = rand(0, 100)
  78. if frotrand >= 90 - (frot * 10) and frot < 3:
  79. 'FROT 1 <<frot>>'
  80. gt 'frot', 'a'
  81. elseif frotrand >= 90 - (frot * 10) and frot >= 3 and spdirtyc = 0 and PCloSkirt > 0:
  82. 'FROT 2 <<frot>>'
  83. tipfrot = rand(0, 2)
  84. if tipfrot = 0:gt 'frot', 'b'
  85. if tipfrot = 1:gt 'frot', 'd1'
  86. if tipfrot = 2:gt 'frot', 'c'
  87. !!gt 'frot', 'b'
  88. elseif frotrand >= 90 - (frot * 10) and frot >= 3 and spdirtyc = 0 and PCloSkirt = 0:
  89. 'FROT 3 <<frot>>'
  90. tipfrot = rand(0, 2)
  91. if tipfrot =0:gt 'frot', 'c'
  92. if tipfrot =1:gt 'frot', 'd'
  93. if tipfrot =2:gt 'frot', 'e'
  94. end
  95. end
  96. if sosedQW >= 1:
  97. if hour = 7 or hour = 15:
  98. sosedMetroRand = rand(0, 100)
  99. if sosedMetroRand >= 60 and sosedMetroDay ! daystart:'You notice in the subway <a href="exec:gt ''TimofeiMetro''">Timothy</a>, your neighbor.'
  100. end
  101. end
  102. if spdirtyc > 0 or spdirtyv > 0:
  103. if hour >= 7 and hour <= 21:
  104. manna -= 10
  105. 'Several passengers are shocked, looking at where you are cum smeared.'
  106. end
  107. end
  108. act 'Get out of the car':gt 'metro', 'start'
  109. end
  110. if $ARGS[0] = 'shop':
  111. cls
  112. '<b>What''s it gonna be?</b>'
  113. 'Small box filled with red and blue pills. There are 20 pieces inside.'
  114. if money >= 1000:
  115. '<a href="exec:money - 1000 & mentats_have += 20 & gt ''metro'', ''shop''">Buy neuroboosters</a> 1000 <b>₽</b>'
  116. else
  117. 'Buy neuroboosters 1000 <b>₽</b>'
  118. end
  119. 'Uses left: <<mentats_have>>'
  120. 'Nondescript box with 10 orange pills inside.'
  121. if money >= 1000:
  122. '<a href="exec:money - 500 & steroid_have += 10 & gt ''metro'', ''shop''">Buy steroids</a> 500 <b>₽</b>'
  123. else
  124. 'Buy steroids 500 <b>₽</b>'
  125. end
  126. 'Uses left: <<steroid_have>>'
  127. 'Paste tube with two pictures of a woman. In latter one she sports enormous bust.'
  128. if money >= 1000:
  129. '<a href="exec:money - 500 & bcream_have += 5 & gt ''metro'', ''shop''">Buy breast cream</a> 500 <b>₽</b>'
  130. else
  131. 'Buy breast cream 500 <b>₽</b>'
  132. end
  133. 'Uses left: <<bcream_have>>'
  134. if MagikDostup = 0:
  135. 'Packet of pink chewing gums. There are 10 in one package.'
  136. if money >= 1000:
  137. '<a href="exec:money - 200 & aphrodisiac_have += 10 & gt ''metro'', ''shop''">Buy aphrodisiacs</a> 200 <b>₽</b>'
  138. else
  139. 'Buy aphrodisiacs 200 <b>₽</b>'
  140. end
  141. 'Uses left: <<aphrodisiac_have>>'
  142. end
  143. act 'back':gt 'metro','start'
  144. end
  145. if $ARGS[0] = 'dealer':
  146. cls
  147. 'He sizes you up with suspicion.<br><b>"Hey miss, saw you buying Lady in the park."</b> <br>He clears his throat and spits onto the tracks.<b> "That shit will mess you up."</b><br>He opens his coat and you flinch thinking he is going to flash you, but instead you see he is wearing a business suit beneath.<br>He gestures at numerous pockets lining insides of his coat. They are filled to bursting with various packages, pills and ampoules.<br><b>"Here, my product is much better. Great times and guaranteed not to kill you."</b>'
  148. act 'Continue':gt 'metro','shop'
  149. end
  150. --- metro ---------------------------------