metro 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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':
  7. '<center><b><font color="maroon">Residential area</font></b></center>'
  8. '<center><img src="images/pic/tagan.jpg"></center>'
  9. elseif $loc = 'down':
  10. '<center><b><font color="maroon">Center</font></b></center>'
  11. '<center><img src="images/pic/center.jpg"></center>'
  12. elseif $loc = 'Nord':
  13. '<center><b><font color="maroon">Northern region</font></b></center>'
  14. '<center><img src="images/pic/sever.jpg"></center>'
  15. else
  16. '<center><img src="images/etogame/metro.jpg"></center>'
  17. end
  18. !'<center><img src="images/etogame/metro.jpg"></center>'
  19. 'Subway fare costs 16 <b>₽</b>.'
  20. minut += 5
  21. clr
  22. gs 'stat'
  23. fcolor = rgb(0, 0, 0)
  24. bcolor = rgb(255, 255, 255)
  25. lcolor = rgb(106, 90, 205)
  26. if workDisk = 3 and konvert = 1:
  27. badrand = rand(0, 100)
  28. if badrand >= 80:konvert = 0
  29. end
  30. if money >= 16:
  31. if $loc ! 'street':
  32. act 'Go to the <b>Residential Area</b> (16 <b>₽</b>)':
  33. $loc = 'street'
  34. gt 'metro', 'vagon'
  35. end
  36. end
  37. if $loc ! 'down':
  38. act 'Go to the <b>City Center</b> (16 <b>₽</b>)':
  39. $loc = 'down'
  40. gt 'metro', 'vagon'
  41. end
  42. end
  43. if $loc ! 'Nord':
  44. act 'Go to the <b>City Industrial Area</b> (16 <b>₽</b>)':
  45. $loc = 'Nord'
  46. gt 'metro', 'vagon'
  47. end
  48. end
  49. end
  50. act 'Get off the subway':
  51. minut += 15
  52. gt '<<$loc>>'
  53. end
  54. if pusher = 1 and dealer = 0:
  55. '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.'
  56. act 'Talk to the man':gt 'metro', 'dealer'
  57. dealer = 1
  58. elseif dealer ! 0:
  59. 'You see dealer lurking around the station.'
  60. act 'Buy drugs':gt 'metro', 'shop'
  61. end
  62. end
  63. if $ARGS[0] = 'vagon':
  64. cla
  65. clr
  66. CLOSE ALL
  67. if sound = 0:PLAY 'sound/metro1.mp3',30
  68. money -= 16
  69. gs 'stat'
  70. fcolor = rgb(0, 0, 0)
  71. bcolor = rgb(255, 255, 255)
  72. lcolor = rgb(106, 90, 205)
  73. '<center><b><font color="maroon">Subway car</font></b></center>'
  74. if hour < 5 or hour > 10 and hour < 15 or hour > 24:
  75. '<center><img src="images/etogame/vagon.jpg"></center>'
  76. 'In the car are just a few passengers vacantly reading magazines and papers.'
  77. elseif hour >= 5 and hour <= 10 or hour >= 15 and hour <= 24:
  78. '<center><img src="images/etogame/vagonfull.jpg"></center>'
  79. 'In the car there are lots of people all standing like statues, trying not to make eye conteact with each other.'
  80. frotrand = rand(0, 100)
  81. if frotrand >= 90 - (frot * 10) and frot < 3:
  82. 'FROT 1 <<frot>>'
  83. gt 'frot', 'a'
  84. elseif frotrand >= 90 - (frot * 10) and frot >= 3 and spdirtyc = 0 and PCloSkirt > 0:
  85. 'FROT 2 <<frot>>'
  86. tipfrot = rand(0, 2)
  87. if tipfrot = 0:gt 'frot', 'b'
  88. if tipfrot = 1:gt 'frot', 'd1'
  89. if tipfrot = 2:gt 'frot', 'c'
  90. !!gt 'frot', 'b'
  91. elseif frotrand >= 90 - (frot * 10) and frot >= 3 and spdirtyc = 0 and PCloSkirt = 0:
  92. 'FROT 3 <<frot>>'
  93. tipfrot = rand(0, 2)
  94. if tipfrot =0:gt 'frot', 'c'
  95. if tipfrot =1:gt 'frot', 'd'
  96. if tipfrot =2:gt 'frot', 'e'
  97. end
  98. end
  99. if sosedQW >= 1:
  100. if hour = 7 or hour = 15:
  101. sosedMetroRand = rand(0, 100)
  102. if sosedMetroRand >= 60 and sosedMetroDay ! daystart:'You notice in the subway <a href="exec:gt ''TimofeiMetro''">Timothy</a>, your neighbor.'
  103. end
  104. end
  105. if spdirtyc > 0 or spdirtyv > 0:
  106. if hour >= 7 and hour <= 21:
  107. manna -= 10
  108. 'Several passengers are shocked, looking at where you are cum smeared.'
  109. end
  110. end
  111. act 'Get out of the car':gt 'metro', 'start'
  112. end
  113. if $ARGS[0] = 'shop':
  114. cls
  115. '<b>What''s it gonna be?</b>'
  116. 'Small box filled with red and blue pills. There are 20 pieces inside.'
  117. if money >= 1000:
  118. '<a href="exec:money - 1000 & mentats_have += 20 & gt ''metro'', ''shop''">Buy neuroboosters</a> 1000 <b>₽</b>'
  119. else
  120. 'Buy neuroboosters 1000 <b>₽</b> (You do not have enough money)'
  121. end
  122. 'Uses left: <<mentats_have>>'
  123. 'Nondescript box with 10 orange pills inside.'
  124. if money >= 1000:
  125. '<a href="exec:money - 500 & steroid_have += 10 & gt ''metro'', ''shop''">Buy steroids</a> 500 <b>₽</b>'
  126. else
  127. 'Buy steroids 500 <b>₽</b> (You do not have enough money)'
  128. end
  129. 'Uses left: <<steroid_have>>'
  130. 'Paste tube with two pictures of a woman. In latter one she sports enormous bust.'
  131. if money >= 1000:
  132. '<a href="exec:money - 500 & bcream_have += 5 & gt ''metro'', ''shop''">Buy breast cream</a> 500 <b>₽</b>'
  133. else
  134. 'Buy breast cream 500 <b>₽</b> (You do not have enough money)'
  135. end
  136. 'Uses left: <<bcream_have>>'
  137. if MagikDostup = 0:
  138. 'Packet of pink chewing gums. There are 10 in one package.'
  139. if money >= 1000:
  140. '<a href="exec:money - 200 & aphrodisiac_have += 10 & gt ''metro'', ''shop''">Buy aphrodisiacs</a> 200 <b>₽</b>'
  141. else
  142. 'Buy aphrodisiacs 200 <b>₽</b> (You do not have enough money)'
  143. end
  144. 'Uses left: <<aphrodisiac_have>>'
  145. end
  146. act 'back':gt 'metro','start'
  147. end
  148. if $ARGS[0] = 'dealer':
  149. cls
  150. '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>'
  151. act 'Continue':gt 'metro','shop'
  152. end
  153. --- metro ---------------------------------