kakuzu.tw 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. :: kakuzu
  2. <<set $here = 'kakuzu'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<if $location_var[$here][0] == 'start'>>
  5. <<set $time.minutes += 5>>
  6. <<set $menu_loc = 'kakuzu'>>
  7. <<set $menu_arg = 'start'>>
  8. <<set $menu_off = 0>>
  9. <center><b>Mansion Kakuzu</b></center>
  10. <<image "locations/city/industrial/mansion/mansion.jpg">>
  11. Old gloomy mansion, which even at the local gangs don't approach out of fear and sincerely believe that something evil lives there. No need to have some sort of skills that make your system, from the death blows.
  12. <<actCLA 'Enter the mansion'>>
  13. <<gt 'kakuzu' 'mansion'>>
  14. <</actCLA>>
  15. <<actCLA 'Leave'>>
  16. <<gt 'city_industrial'>>
  17. <</actCLA>>
  18. <</if>>
  19. <<if $location_var[$here][0] == 'mansion'>>
  20. <<set $location = 'event'>>
  21. <<set $time.minutes += 5>>
  22. <center><b>Mansion Kakuzu</b></center>
  23. <<image "locations/city/industrial/mansion/mansion1.jpg">>
  24. The room sits Kakuzu not paying any attention to you
  25. <<actCLA 'Talk to Kakuzu'>>
  26. <<gt 'kakuzu' 'mansion1'>>
  27. <</actCLA>>
  28. <<actCLA 'Leave'>>
  29. <<gt 'kakuzu' 'start'>>
  30. <</actCLA>>
  31. <</if>>
  32. <<if $location_var[$here][0] == 'mansion1'>>
  33. <<set $location = 'event'>>
  34. <<set $time.minutes += 5>>
  35. <center><b>Kakuzu</b></center>
  36. <<image "characters/city/kakuzu/kakuzu.jpg">>
  37. <<if getvar("$tobiQW") == 1>>
  38. I know who you are and what you need. Pay 100k and then I will teach you how to achieve affinity with the elements.
  39. <</if>>
  40. <<if getvar("$tobiQW") == 2>>
  41. You have <<srodpaper>> sheets of paper to determine the affinity of the elements. If you run out of paper, you have to buy more at Kakuzu 10 thousand sheet.
  42. <</if>>
  43. <<if $finances.cash >= 100000 and getvar("$tobiQW") == 1>>
  44. <<actCLA 'Here`s the money (100,000 <b>₽</b>)'>>
  45. <<set $finances.cash -= 100000>>
  46. <<set $tobiQW = 2>>
  47. <<set $srodpaper = 10>>
  48. You put money in front of Kakuzu. He threw them in a drawer without even looking.
  49. <p>You ask, "Not even going to count?" Kakuzu replies quietly, "if there is not enough by even a ruble, I will find and kill you."</p>
  50. <p>(Kakuzu) - Listen to me carefully. There are five elements, </p>
  51. <p>fire - school has the most powerful damage potential and the weakest protection. But there is no better school for defeating opponent with a single blow.</p>
  52. <p>lightning - in this school each hit paralyzes the opponent, it has weaker than damage than the fire, but if you're hooked by lightning, then quickly you will achieve any.</p>
  53. <p>wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.</p>
  54. <p>earth - defensive school, but the attacks are very dangerous. If the enemy attack misses, they will get stuck in the ground and unable to move. Earth protection is the most powerful of all protection, protection of land and regenerate itself absolute defense to attack the enemy.</p>
  55. <p>Water - Damage of this school is weak, but all spells steal mana from the enemy, the same high level of water protection is very dangerous, it consumes mana from an enemy and regenerates, although it is weaker than earth protection.</p>
  56. <p>Affinity with the elements means that you can learn this particular element. You can not explore another element after selecting affinity until izuchish element completely. I'll give you 10 sheets of paper magic. Each sheet cost me 5, 000 <b>₽</b>. Concentrate the energy on a piece of paper until you succeed, then you can either start over and hope for another element, or proceed with the element that appeared to you.</p>
  57. <<actCLA 'Mark sheets'>>
  58. <<gt 'kakuzu' 'mansion1'>>
  59. <</actCLA>>
  60. <</actCLA>>
  61. <<elseif getvar("$tobiQW") == 2 and getvar("$srodpaper") <= 0 and $finances.cash >= 10000>>
  62. <<actCLA 'I need another paper (10,000 <b>₽</b>)'>>
  63. <<set $finances.cash -= 10000>>
  64. <<set $srodpaper += 1>>
  65. You gave money and Kakuzu handed a sheet of paper.
  66. <<actCLA 'Mark sheets'>>
  67. <<gt 'kakuzu' 'mansion1'>>
  68. <</actCLA>>
  69. <</actCLA>>
  70. <</if>>
  71. <<if getvar("$tobiQW") == 2>>
  72. <<actCLA 'Tell us again about the elements'>>
  73. <p>(Kakuzu) - Idiot, listen and remember. There are five elements, </p>
  74. <p>fire - school has the most powerful damage potential and the weakest protection. But there is no better school for defeating opponent with a single blow.</p>
  75. <p>lightning - in this school each hit paralyzes the opponent, it has weaker than damage than the fire, but if you're hooked by lightning, then quickly you will achieve any.</p>
  76. <p>wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.</p>
  77. <p>earth - defensive school, but the attacks are very dangerous. If the enemy attack misses, they will get stuck in the ground and unable to move. Earth protection is the most powerful of all protection, protection of land and regenerate itself absolute defense to attack the enemy.</p>
  78. <p>Water - Damage of this school is weak, but all spells steal mana from the enemy, the same high level of water protection is very dangerous, it consumes mana from an enemy and regenerates, although it is weaker than earth protection.</p>
  79. <p>Affinity with the elements means that you can learn this particular element. You can not explore another element after selecting affinity until izuchish element completely. I'll give you 10 sheets of paper magic. Each sheet cost me 5, 000 <b>₽</b>. Concentrate the energy on a piece of paper until you succeed, then you can either start over and hope for another element, or proceed with the element that appeared to you.</p>
  80. <<actCLA 'Move away'>>
  81. <<gt 'kakuzu' 'mansion1'>>
  82. <</actCLA>>
  83. <</actCLA>>
  84. <</if>>
  85. <<if getvar("$tobiQW") == 2 and getvar("$srodpaper") > 0 and getvar("$pcs_mana") < 2000>>
  86. You do not have enough mana to continue concentrating.
  87. <</if>>
  88. <<if getvar("$tobiQW") == 2 and getvar("$srodpaper") > 0 and getvar("$pcs_mana") >= 2000>>
  89. <<actCLA 'Concentrating the energy in the sheet of paper (1:00)'>>
  90. <<set $time.minutes += 60>>
  91. <<set $pcs_mana -= 2000>>
  92. <<run $pc.sweatAdd(40)>>
  93. <<if getvar("$srodstvo") == 0>>
  94. <<set $srodrand = rand(1, 5)>>
  95. <</if>>
  96. You concentrate energy in the sheet of paper. You feel that you are spending a huge amount of mana for this action.
  97. <<set $srodstvo += rand(9-(2 * $difficulty), 10)>>
  98. <<if getvar("$srodstvo") < 100>>
  99. You get tired and sweat like a horse, but your effort was not enough.
  100. <<actCLA 'Move away'>>
  101. <<gt 'kakuzu' 'mansion1'>>
  102. <</actCLA>>
  103. <<elseif getvar("$srodstvo") >= 100>>
  104. <<set $srodpaper -= 1>>
  105. <<if getvar("$srodrand") == 1>>
  106. <p>Paper broke in your hands. Kakuzu nods approvingly. Affinity with fire. Will you take it?</p>
  107. <<gs 'spellList' 'addAvailableSpells' 'fireSpells' 20>>
  108. <</if>>
  109. <<if getvar("$srodrand") == 2>>
  110. <p>Paper electrified in your hands, and sparks dance on it. Kakuzu nods approvingly. Affinity with lightning. Will you take it?</p>
  111. <<gs 'spellList' 'addAvailableSpells' 'electSpells' 20>>
  112. <</if>>
  113. <<if getvar("$srodrand") == 3>>
  114. <p>Paper hardened in your hands. Kakuzu nods approvingly. Affinity with the land. Will you take it?</p>
  115. <<gs 'spellList' 'addAvailableSpells' 'earthSpells' 20>>
  116. <</if>>
  117. <<if getvar("$srodrand") == 4>>
  118. <p>Paper shredded to pieces in your hands. Kakuzu nods approvingly. Affinity with the wind. Will you take it?</p>
  119. <<gs 'spellList' 'addAvailableSpells' 'airSpells' 20>>
  120. <</if>>
  121. <<if getvar("$srodrand") == 5>>
  122. <p>Paper soaked in your hands. Kakuzu nods approvingly. Affinity for water. Will you take it?</p>
  123. <<gs 'spellList' 'addAvailableSpells' 'waterSpells' 20>>
  124. <</if>>
  125. <<actCLA 'Secure affinity'>>
  126. <<set $tobiQW = 3>>
  127. <<set $stihia = $srodrand>>
  128. <<set $srodstvo = 0>>
  129. <<gt 'kakuzu' 'mansion1'>>
  130. <</actCLA>>
  131. <<actCLA 'Unsubscribe from this affinity'>>
  132. <<set $srodstvo = 0>>
  133. <<gt 'kakuzu' 'mansion1'>>
  134. <</actCLA>>
  135. <</if>>
  136. <</actCLA>>
  137. <</if>>
  138. <<if getvar("$tobiQW") == 3 and getvar("$pcs_mana") < 1000>>
  139. Kakuzu tells you "You have almost no energy, you need to rest."
  140. <<elseif getvar("$tobiQW") == 3 and getvar("$pcs_mana") >= 1000>>
  141. <<if getvar("$stihia") == 1>>
  142. <<gs 'spellList' 'teacherActions' '$fireSpells' 'kakuzu' 'mansion1'>>
  143. <</if>>
  144. <<if getvar("$stihia") == 2>>
  145. <<gs 'spellList' 'teacherActions' '$electSpells' 'kakuzu' 'mansion1'>>
  146. <</if>>
  147. <<if getvar("$stihia") == 3>>
  148. <<gs 'spellList' 'teacherActions' '$earthSpells' 'kakuzu' 'mansion1'>>
  149. <</if>>
  150. <<if getvar("$stihia") == 4>>
  151. <<gs 'spellList' 'teacherActions' '$airSpells' 'kakuzu' 'mansion1'>>
  152. <</if>>
  153. <<if getvar("$stihia") == 5>>
  154. <<gs 'spellList' 'teacherActions' '$waterSpells' 'kakuzu' 'mansion1'>>
  155. <</if>>
  156. <</if>>
  157. <<actCLA 'Leave'>>
  158. <<gt 'kakuzu' 'mansion'>>
  159. <</actCLA>>
  160. <</if>>