KGZfight.tw 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. :: KGZfight
  2. <<set $here = 'KGZfight'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<set $time.minutes += 1>>
  5. <<gs 'KGZdyn'>>
  6. <<if getvar("$KGZHP") <= 0>>
  7. <<set $pc.mood -= 10>>
  8. <center><b>GAME OVER</b></center>
  9. <<actCLA 'Quit Game'>>
  10. <<gt 'KGZstart'>>
  11. <</actCLA>>
  12. $exit
  13. <</if>>
  14. <<if getvar("$KGZdead") <= 0>>
  15. <<set $KGZbatl = 1>>
  16. <<set $pc.mood += 10>>
  17. All the dead were silent on the ground.
  18. <<actCLA 'Leave'>>
  19. <<gt 'KGZgame'>>
  20. <</actCLA>>
  21. $exit
  22. <</if>>
  23. <<if getvar("$GZdist") < 0>>
  24. <<set $GZdist = 0>>
  25. <</if>>
  26. <!-- !!'<<link "Get out of the game">><<gt 'KGZstart'>><</link>>'-->
  27. Health <<KGZHP>>. Day <<KGZday>>, h <<KGZhour>>.
  28. <p>Edged weapons:$KGZweapon</p>
  29. <<if getvar("$KGZgun") > 0>>
  30. <<$KGZgun>>
  31. <</if>>
  32. <<if getvar("$KGZgun2") > 0>>
  33. <<$KGZgun2>>
  34. <</if>>
  35. <<if getvar("$KGZgun3") > 0>>
  36. <<$KGZgun3>>
  37. <</if>>
  38. To you run <<KGZdead>> dead. They are at a distance <<KGZdist>> meters.
  39. <<if getvar("$KGZdost") == 1>>
  40. Vincent fires a rifle.
  41. <<set $KGZdead -= 1>>
  42. One of the dead falls with prostrelyanny head.
  43. <<if getvar("$KGZdead") <= 0>>
  44. <<gt $curloc>>
  45. <</if>>
  46. <</if>>
  47. <<if getvar("$KGZgun") > 0 and getvar("$bullet") > 0>>
  48. <<actCLA 'Shoot a gun'>>
  49. <<set $bullet -= 1>>
  50. <<KGZgunatk>>
  51. <<KGZdeadmanatk>>
  52. <<actCLA 'Further'>>
  53. <<gt $curloc>>
  54. <</actCLA>>
  55. <</actCLA>>
  56. <</if>>
  57. <<if getvar("$KGZgun2") > 0 and getvar("$bullet2") > 0>>
  58. <<actCLA 'Shoot a shotgun'>>
  59. <<set $bullet2 -= 1>>
  60. <<KGZgunatk2>>
  61. <<KGZdeadmanatk>>
  62. <<actCLA 'Further'>>
  63. <<gt $curloc>>
  64. <</actCLA>>
  65. <</actCLA>>
  66. <</if>>
  67. <<if getvar("$KGZgun3") > 0 and getvar("$bullet3") > 0>>
  68. <<actCLA 'Shoot a machine gun (single)'>>
  69. <<set $bullet3 -= 1>>
  70. <<KGZgunatk3>>
  71. <<KGZdeadmanatk>>
  72. <<actCLA 'Further'>>
  73. <<gt $curloc>>
  74. <</actCLA>>
  75. <</actCLA>>
  76. <<if getvar("$bullet3") >= 3>>
  77. <<actCLA 'Shoot a machine gun (short burst)'>>
  78. <<set $bullet3 -= 3>>
  79. <<set $KGZbulgun = 3>>
  80. <<KGZgunatk4>>
  81. <<KGZdeadmanatk>>
  82. <<actCLA 'Further'>>
  83. <<gt $curloc>>
  84. <</actCLA>>
  85. <</actCLA>>
  86. <</if>>
  87. <<if getvar("$bullet3") >= 10>>
  88. <<actCLA 'Shoot a machine gun (long queue)'>>
  89. <<set $bullet3 -= 10>>
  90. <<set $KGZbulgun = 10>>
  91. <<KGZgunatk5>>
  92. <<KGZdeadmanatk>>
  93. <<actCLA 'Further'>>
  94. <<gt $curloc>>
  95. <</actCLA>>
  96. <</actCLA>>
  97. <</if>>
  98. <</if>>
  99. <<if getvar("$KGZgranade") > 0>>
  100. <<actCLA 'Throw a grenade'>>
  101. <<KGZgranatk>>
  102. <<actCLA 'Further'>>
  103. <<gt $curloc>>
  104. <</actCLA>>
  105. <</actCLA>>
  106. <</if>>
  107. <<if getvar("$KGZdist") <= 2>>
  108. <<actCLA 'Strike $KGZweapona'>>
  109. <<KGZfizatk>>
  110. <<actCLA 'Further'>>
  111. <<gt $curloc>>
  112. <</actCLA>>
  113. <</actCLA>>
  114. <<else>>
  115. <<actCLA 'Wait'>>
  116. <<set $KGZdist -= 1>>
  117. <<gt $curloc>>
  118. <</actCLA>>
  119. <<actCLA 'Go to meet the dead'>>
  120. <<set $KGZdist -= 2>>
  121. <<gt $curloc>>
  122. <</actCLA>>
  123. <<actCLA 'Scoot'>>
  124. <<if getvar("$KGZdead") >= 10>>
  125. <<set $KGZdist -= 5>>
  126. Dead too much and they surrounded you, you can not escape.
  127. <<actCLA 'Fuck!'>>
  128. <<gt $curloc>>
  129. <</actCLA>>
  130. <<else>>
  131. <<set $KGZdedrandrun = rand(0, 1)>>
  132. <<if getvar("$KGZdedrandrun") == 0>>
  133. <<set $KGZbatl = 1>>
  134. You managed to escape from the dead.
  135. <<actCLA 'Leave'>>
  136. <<gt 'KGZgame'>>
  137. <</actCLA>>
  138. <<elseif getvar("$KGZdedrandrun") == 1>>
  139. <<set $KGZdist -= 5>>
  140. <<set $KGZdead += rand(KGZdead, KGZdead * 5)>>
  141. You have stumbled upon other dead and now you have to fight with a lot of dead.
  142. <<actCLA 'Fuck!'>>
  143. <<gt $curloc>>
  144. <</actCLA>>
  145. <</if>>
  146. <</if>>
  147. <</actCLA>>
  148. <</if>>