kakuzu.qsrc 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. # kakuzu
  2. if $ARGS[0] = 'start':
  3. cla & *clr
  4. minut += 5
  5. $menu_loc = 'kakuzu'
  6. $menu_arg = 'start'
  7. menu_off = 0
  8. gs 'stat'
  9. gs 'themes', 'indoors'
  10. '<center><b>Mansion Kakuzu</b></center>'
  11. '<center><img <<$set_imgh>> src="images/locations/city/industrial/mansion/mansion.jpg"></center>'
  12. '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.'
  13. act 'Enter the mansion':gt 'kakuzu', 'mansion'
  14. act 'Leave':gt 'city_industrial'
  15. end
  16. if $ARGS[0] = 'mansion':
  17. $location = 'event'
  18. *clr & cla
  19. minut += 5
  20. gs 'stat'
  21. '<center><b>Mansion Kakuzu</b></center>'
  22. '<center><img <<$set_imgh>> src="images/locations/city/industrial/mansion/mansion1.jpg"></center>'
  23. 'The room sits Kakuzu not paying any attention to you'
  24. act 'Talk to Kakuzu':gt 'kakuzu', 'mansion1'
  25. act 'Leave':gt 'kakuzu', 'start'
  26. end
  27. if $ARGS[0] = 'mansion1':
  28. $location = 'event'
  29. *clr & cla
  30. minut += 5
  31. gs 'stat'
  32. '<center><b>Kakuzu</b></center>'
  33. '<center><img <<$set_imgh>> src="images/characters/city/kakuzu/kakuzu.jpg"></center>'
  34. if tobiQW = 1:'I know who you are and what you need. Pay 100k and then I will teach you how to achieve affinity with the elements.'
  35. if tobiQW = 2:'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.'
  36. if money >= 100000 and tobiQW = 1:
  37. act 'Here''s the money (100,000 <b>₽</b>)':
  38. cla
  39. money -= 100000
  40. tobiQW = 2
  41. srodpaper = 10
  42. 'You put money in front of Kakuzu. He threw them in a drawer without even looking.'
  43. '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."'
  44. '(Kakuzu) - Listen to me carefully. There are five elements, '
  45. '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.'
  46. '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.'
  47. 'wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.'
  48. '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.'
  49. '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.'
  50. '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.'
  51. act 'Mark sheets':gt 'kakuzu', 'mansion1'
  52. end
  53. elseif tobiQW = 2 and srodpaper <= 0 and money >= 10000:
  54. act 'I need another paper (10,000 <b>₽</b>)':
  55. cla
  56. money -= 10000
  57. srodpaper += 1
  58. 'You gave money and Kakuzu handed a sheet of paper.'
  59. act 'Mark sheets':gt 'kakuzu', 'mansion1'
  60. end
  61. end
  62. if tobiQW = 2:
  63. act 'Tell us again about the elements':
  64. cla
  65. '(Kakuzu) - Idiot, listen and remember. There are five elements, '
  66. '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.'
  67. '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.'
  68. 'wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.'
  69. '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.'
  70. '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.'
  71. '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.'
  72. act 'Move away':gt 'kakuzu', 'mansion1'
  73. end
  74. end
  75. if tobiQW = 2 and srodpaper > 0 and pcs_mana < 2000:'You do not have enough mana to continue concentrating.'
  76. if tobiQW = 2 and srodpaper > 0 and pcs_mana >= 2000:
  77. act 'Concentrating the energy in the sheet of paper (1:00)':
  78. cla
  79. minut += 60
  80. pcs_mana -= 2000
  81. gs 'sweat', 'add', 40
  82. if srodstvo = 0:srodrand = rand(1, 5)
  83. 'You concentrate energy in the sheet of paper. You feel that you are spending a huge amount of mana for this action.'
  84. srodstvo += rand(9-(2*difficulty), 10)
  85. if srodstvo < 100:
  86. 'You get tired and sweat like a horse, but your effort was not enough.'
  87. act 'Move away':gt 'kakuzu', 'mansion1'
  88. elseif srodstvo >= 100:
  89. srodpaper -= 1
  90. if srodrand = 1:
  91. 'Paper broke in your hands. Kakuzu nods approvingly. Affinity with fire. Will you take it?'
  92. gs 'spellList','addAvailableSpells','fireSpells', 20
  93. end
  94. if srodrand = 2:
  95. 'Paper electrified in your hands, and sparks dance on it. Kakuzu nods approvingly. Affinity with lightning. Will you take it?'
  96. gs 'spellList','addAvailableSpells','electSpells', 20
  97. end
  98. if srodrand = 3:
  99. 'Paper hardened in your hands. Kakuzu nods approvingly. Affinity with the land. Will you take it?'
  100. gs 'spellList','addAvailableSpells','earthSpells', 20
  101. end
  102. if srodrand = 4:
  103. 'Paper shredded to pieces in your hands. Kakuzu nods approvingly. Affinity with the wind. Will you take it?'
  104. gs 'spellList','addAvailableSpells','airSpells', 20
  105. end
  106. if srodrand = 5:
  107. 'Paper soaked in your hands. Kakuzu nods approvingly. Affinity for water. Will you take it?'
  108. gs 'spellList','addAvailableSpells','waterSpells', 20
  109. end
  110. act 'Secure affinity':
  111. cla
  112. tobiQW = 3
  113. stihia = srodrand
  114. srodstvo = 0
  115. gt 'kakuzu', 'mansion1'
  116. end
  117. act 'Unsubscribe from this affinity':
  118. srodstvo = 0
  119. gt 'kakuzu', 'mansion1'
  120. end
  121. end
  122. end
  123. end
  124. if tobiQW = 3 and pcs_mana < 1000:
  125. 'Kakuzu tells you "You have almost no energy, you need to rest."'
  126. elseif tobiQW = 3 and pcs_mana >= 1000:
  127. if stihia = 1:
  128. gs 'spellList', 'teacherActions', '$fireSpells', 'kakuzu', 'mansion1'
  129. end
  130. if stihia = 2:
  131. gs 'spellList', 'teacherActions', '$electSpells', 'kakuzu', 'mansion1'
  132. end
  133. if stihia = 3:
  134. gs 'spellList', 'teacherActions', '$earthSpells', 'kakuzu', 'mansion1'
  135. end
  136. if stihia = 4:
  137. gs 'spellList', 'teacherActions', '$airSpells', 'kakuzu', 'mansion1'
  138. end
  139. if stihia = 5:
  140. gs 'spellList', 'teacherActions', '$waterSpells', 'kakuzu', 'mansion1'
  141. end
  142. end
  143. act 'Leave':gt 'kakuzu', 'mansion'
  144. end
  145. --- kakuzu ---------------------------------