1
0

kakuzu 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. # kakuzu
  2. if $ARGS[0] = 'start':
  3. cla
  4. clr
  5. *clr
  6. minut += 5
  7. gs 'stat'
  8. fcolor = rgb(0, 0, 0)
  9. bcolor = rgb(255, 255, 255)
  10. lcolor = rgb(106, 90, 205)
  11. '<center><b>Mansion Kakuzu</b></center>'
  12. '<center><img src="images/etogame/mansion.jpg"></center>'
  13. '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.'
  14. act 'Enter the mansion':gt 'kakuzu', 'mansion'
  15. act 'Leave':gt 'nord'
  16. end
  17. if $ARGS[0] = 'mansion':
  18. $location = 'event'
  19. cla
  20. clr
  21. *clr
  22. minut += 5
  23. gs 'stat'
  24. '<center><b>Mansion Kakuzu</b></center>'
  25. '<center><img src="images/etogame/mansion1.jpg"></center>'
  26. 'The room sits Kakuzu not paying any attention to you'
  27. act 'Talk to Kakuzu':gt 'kakuzu', 'mansion1'
  28. act 'Leave':gt 'kakuzu', 'start'
  29. end
  30. if $ARGS[0] = 'mansion1':
  31. $location = 'event'
  32. cla
  33. clr
  34. *clr
  35. minut += 5
  36. gs 'stat'
  37. '<center><b>Kakuzu</b></center>'
  38. '<center><img src="images/qwest/kakuzu.jpg"></center>'
  39. 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.'
  40. 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.'
  41. if money >= 100000 and tobiQW = 1:
  42. act 'Here''s the money (100,000 <b>₽</b>)':
  43. cla
  44. money -= 100000
  45. tobiQW = 2
  46. srodpaper = 10
  47. 'You put money in front of Kakuzu. He threw them in a drawer without even looking.'
  48. '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."'
  49. '(Kakuzu) - Listen to me carefully. There are five elements, '
  50. '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.'
  51. '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.'
  52. 'wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.'
  53. '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.'
  54. 'Water - Damage of this school is weak, but all spells steal manna from the enemy, the same high level of water protection is very dangerous, it consumes manna from an enemy and regenerates, although it is weaker than earth protection.'
  55. '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.'
  56. act 'Mark sheets':gt 'kakuzu', 'mansion1'
  57. end
  58. elseif tobiQW = 2 and srodpaper <= 0 and money >= 10000:
  59. act 'I need another paper (10,000 <b>₽</b>)':
  60. cla
  61. money -= 10000
  62. srodpaper += 1
  63. 'You gave money and Kakuzu handed a sheet of paper.'
  64. act 'Mark sheets':gt 'kakuzu', 'mansion1'
  65. end
  66. end
  67. if tobiQW = 2:
  68. act 'Tell us again about the elements':
  69. cla
  70. '(Kakuzu) - Idiot, listen and remember. There are five elements, '
  71. '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.'
  72. '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.'
  73. 'wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.'
  74. '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.'
  75. 'Water - Damage of this school is weak, but all spells steal manna from the enemy, the same high level of water protection is very dangerous, it consumes manna from an enemy and regenerates, although it is weaker than earth protection.'
  76. '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.'
  77. act 'Move away':gt 'kakuzu', 'mansion1'
  78. end
  79. end
  80. if tobiQW = 2 and srodpaper > 0 and manna < 2000:'You do not have enough mana to continue concentrating.'
  81. if tobiQW = 2 and srodpaper > 0 and manna >= 2000:
  82. act 'Concentrating the energy in the sheet of paper (1:00)':
  83. cla
  84. minut += 60
  85. manna -= 2000
  86. sweat += 40
  87. if srodstvo = 0:srodrand = rand(1, 5)
  88. 'You concentrate energy in the sheet of paper. You feel that you are spending a huge amount of mana for this action.'
  89. srodstvo += rand(1, 10)
  90. if srodstvo < 100:
  91. 'You get tired and sweat like a horse, but your effort was not enough.'
  92. act 'Move away':gt 'kakuzu', 'mansion1'
  93. elseif srodstvo >= 100:
  94. srodpaper -= 1
  95. if srodrand = 1:'Paper broke in your hands. Kakuzu nods approvingly. Affinity with fire. Will you take it?'
  96. if srodrand = 2:'Paper electrified in your hands, and sparks dance on it. Kakuzu nods approvingly. Affinity with lightning. Will you take it?'
  97. if srodrand = 3:'Paper hardened in your hands. Kakuzu nods approvingly. Affinity with the land. Will you take it?'
  98. if srodrand = 4:'Paper shredded to pieces in your hands. Kakuzu nods approvingly. Affinity with the wind. Will you take it?'
  99. if srodrand = 5:'Paper soaked in your hands. Kakuzu nods approvingly. Affinity for water. Will you take it?'
  100. act 'Secure affinity':
  101. cla
  102. tobiQW = 3
  103. stihia = srodrand
  104. srodstvo = 0
  105. gt 'kakuzu', 'mansion1'
  106. end
  107. act 'Unsubscribe from this affinity':
  108. srodstvo = 0
  109. gt 'kakuzu', 'mansion1'
  110. end
  111. end
  112. end
  113. end
  114. if tobiQW = 3 and manna < 1000:
  115. 'Kakuzu tells you "You have almost no energy, you need to rest."'
  116. elseif tobiQW = 3 and manna >= 1000:
  117. if stihia = 1:
  118. if magik >= 6 and spellfire1 = 0:
  119. act 'Learn Flame (1:00)':
  120. cla
  121. manna -= 1000
  122. minut += 60
  123. spellfireL += rand(1, 10)
  124. if spellfireL < 100:
  125. 'You diligently spell for an hour, but could not grasp it.'
  126. act 'Move away':gt 'kakuzu', 'mansion1'
  127. else
  128. spellfire1 = 1
  129. 'Finally you will able to study the spell.'
  130. act 'Move away':gt 'kakuzu', 'mansion1'
  131. end
  132. end
  133. end
  134. if magik >= 7 and spellfire2 = 0:
  135. act 'Study the release of fire (1:00)':
  136. cla
  137. manna -= 1000
  138. minut += 60
  139. spellfire2L += rand(1, 10)
  140. if spellfire2L < 100:
  141. 'You diligently spell for an hour, but could not grasp it.'
  142. act 'Move away':gt 'kakuzu', 'mansion1'
  143. else
  144. spellfire2 = 1
  145. 'Finally you will able to study the spell.'
  146. act 'Move away':gt 'kakuzu', 'mansion1'
  147. end
  148. end
  149. end
  150. if magik >= 8 and spellfire3 = 0:
  151. act 'Study Barrier fire (1:00)':
  152. cla
  153. manna -= 1000
  154. minut += 60
  155. spellfire3L += rand(1, 10)
  156. if spellfire3L < 100:
  157. 'You diligently spell for an hour, but could not grasp it.'
  158. act 'Move away':gt 'kakuzu', 'mansion1'
  159. else
  160. spellfire3 = 1
  161. 'Finally you will able to study the spell.'
  162. act 'Move away':gt 'kakuzu', 'mansion1'
  163. end
  164. end
  165. end
  166. if magik >= 9 and spellfire4 = 0:
  167. act 'Study Firestorm (1:00)':
  168. cla
  169. manna -= 1000
  170. minut += 60
  171. spellfire4L += rand(1, 10)
  172. if spellfire4L < 100:
  173. 'You diligently spell for an hour, but could not grasp it.'
  174. act 'Move away':gt 'kakuzu', 'mansion1'
  175. else
  176. spellfire4 = 1
  177. 'Finally you will able to study the spell.'
  178. act 'Move away':gt 'kakuzu', 'mansion1'
  179. end
  180. end
  181. end
  182. if magik >= 10 and spellfire5 = 0:
  183. act 'Learn Flame Shield (1:00)':
  184. cla
  185. manna -= 1000
  186. minut += 60
  187. spellfire5L += rand(1, 10)
  188. if spellfire5L < 100:
  189. 'You diligently spell for an hour, but could not grasp it.'
  190. act 'Move away':gt 'kakuzu', 'mansion1'
  191. else
  192. spellfire5 = 1
  193. 'Finally you will able to study the spell.'
  194. act 'Move away':gt 'kakuzu', 'mansion1'
  195. end
  196. end
  197. end
  198. end
  199. if stihia = 2:
  200. if magik >= 6 and spellele1 = 0:
  201. act 'Study Discharge (1:00)':
  202. cla
  203. manna -= 1000
  204. minut += 60
  205. spelleleL += rand(1, 10)
  206. if spelleleL < 100:
  207. 'You diligently spell for an hour, but could not grasp it.'
  208. act 'Move away':gt 'kakuzu', 'mansion1'
  209. else
  210. spellele1 = 1
  211. 'Finally you will able to study the spell.'
  212. act 'Move away':gt 'kakuzu', 'mansion1'
  213. end
  214. end
  215. end
  216. if magik >= 7 and spellele2 = 0:
  217. act 'Learn Lightning (1:00)':
  218. cla
  219. manna -= 1000
  220. minut += 60
  221. spellele1L += rand(1, 10)
  222. if spellele1L < 100:
  223. 'You diligently spell for an hour, but could not grasp it.'
  224. act 'Move away':gt 'kakuzu', 'mansion1'
  225. else
  226. spellele2 = 1
  227. 'Finally you will able to study the spell.'
  228. act 'Move away':gt 'kakuzu', 'mansion1'
  229. end
  230. end
  231. end
  232. if magik >= 8 and spellele3 = 0:
  233. act 'Electro study barrier (1:00)':
  234. cla
  235. manna -= 1000
  236. minut += 60
  237. spellele2L += rand(1, 10)
  238. if spellele2L < 100:
  239. 'You diligently spell for an hour, but could not grasp it.'
  240. act 'Move away':gt 'kakuzu', 'mansion1'
  241. else
  242. spellele3 = 1
  243. 'Finally you will able to study the spell.'
  244. act 'Move away':gt 'kakuzu', 'mansion1'
  245. end
  246. end
  247. end
  248. if magik >= 9 and spellele4 = 0:
  249. act 'Dance study thousands of birds (1:00)':
  250. cla
  251. manna -= 1000
  252. minut += 60
  253. spellele3L += rand(1, 10)
  254. if spellele3L < 100:
  255. 'You diligently spell for an hour, but could not grasp it.'
  256. act 'Move away':gt 'kakuzu', 'mansion1'
  257. else
  258. spellele4 = 1
  259. 'Finally you will able to study the spell.'
  260. act 'Move away':gt 'kakuzu', 'mansion1'
  261. end
  262. end
  263. end
  264. if magik >= 10 and spellele5 = 0:
  265. act 'Study Plyaschuschaya sphere (1:00)':
  266. cla
  267. manna -= 1000
  268. minut += 60
  269. spellele4L += rand(1, 10)
  270. if spellele4L < 100:
  271. 'You diligently spell for an hour, but could not grasp it.'
  272. act 'Move away':gt 'kakuzu', 'mansion1'
  273. else
  274. spellele5 = 1
  275. 'Finally you will able to study the spell.'
  276. act 'Move away':gt 'kakuzu', 'mansion1'
  277. end
  278. end
  279. end
  280. end
  281. if stihia = 3:
  282. if magik >= 6 and spellert1 = 0:
  283. act 'Study Quicksand (1:00)':
  284. cla
  285. manna -= 1000
  286. minut += 60
  287. spellertL += rand(1, 10)
  288. if spellertL < 100:
  289. 'You diligently spell for an hour, but could not grasp it.'
  290. act 'Move away':gt 'kakuzu', 'mansion1'
  291. else
  292. spellert1 = 1
  293. 'Finally you will able to study the spell.'
  294. act 'Move away':gt 'kakuzu', 'mansion1'
  295. end
  296. end
  297. end
  298. if magik >= 7 and spellert2 = 0:
  299. act 'Active protection study (1:00)':
  300. cla
  301. manna -= 1000
  302. minut += 60
  303. spellert2L += rand(1, 10)
  304. if spellert2L < 100:
  305. 'You diligently spell for an hour, but could not grasp it.'
  306. act 'Move away':gt 'kakuzu', 'mansion1'
  307. else
  308. spellert2 = 1
  309. 'Finally you will able to study the spell.'
  310. act 'Move away':gt 'kakuzu', 'mansion1'
  311. end
  312. end
  313. end
  314. if magik >= 8 and spellert3 = 0:
  315. act 'Study Chasm (1:00)':
  316. cla
  317. manna -= 1000
  318. minut += 60
  319. spellert3L += rand(1, 10)
  320. if spellert3L < 100:
  321. 'You diligently spell for an hour, but could not grasp it.'
  322. act 'Move away':gt 'kakuzu', 'mansion1'
  323. else
  324. spellert3 = 1
  325. 'Finally you will able to study the spell.'
  326. act 'Move away':gt 'kakuzu', 'mansion1'
  327. end
  328. end
  329. end
  330. if magik >= 9 and spellert4 = 0:
  331. act 'Absolute protection study (1:00)':
  332. cla
  333. manna -= 1000
  334. minut += 60
  335. spellert4L += rand(1, 10)
  336. if spellert4L < 100:
  337. 'You diligently spell for an hour, but could not grasp it.'
  338. act 'Move away':gt 'kakuzu', 'mansion1'
  339. else
  340. spellert4 = 1
  341. 'Finally you will able to study the spell.'
  342. act 'Move away':gt 'kakuzu', 'mansion1'
  343. end
  344. end
  345. end
  346. if magik >= 10 and spellert5 = 0:
  347. act 'Study Sando (1:00)':
  348. cla
  349. manna -= 1000
  350. minut += 60
  351. spellert5L += rand(1, 10)
  352. if spellert5L < 100:
  353. 'You diligently spell for an hour, but could not grasp it.'
  354. act 'Move away':gt 'kakuzu', 'mansion1'
  355. else
  356. spellert5 = 1
  357. 'Finally you will able to study the spell.'
  358. act 'Move away':gt 'kakuzu', 'mansion1'
  359. end
  360. end
  361. end
  362. end
  363. if stihia = 4:
  364. if magik >= 6 and spellwind1 = 0:
  365. act 'Learn Gust (1:00)':
  366. cla
  367. manna -= 1000
  368. minut += 60
  369. spellwind1L += rand(1, 10)
  370. if spellwind1L < 100:
  371. 'You diligently spell for an hour, but could not grasp it.'
  372. act 'Move away':gt 'kakuzu', 'mansion1'
  373. else
  374. spellwind1 = 1
  375. 'Finally you will able to study the spell.'
  376. act 'Move away':gt 'kakuzu', 'mansion1'
  377. end
  378. end
  379. end
  380. if magik >= 7 and spellwind2 = 0:
  381. act 'Horrific study pressure (1:00)':
  382. cla
  383. manna -= 1000
  384. minut += 60
  385. spellwind2L += rand(1, 10)
  386. if spellwind2L < 100:
  387. 'You diligently spell for an hour, but could not grasp it.'
  388. act 'Move away':gt 'kakuzu', 'mansion1'
  389. else
  390. spellwind2 = 1
  391. 'Finally you will able to study the spell.'
  392. act 'Move away':gt 'kakuzu', 'mansion1'
  393. end
  394. end
  395. end
  396. if magik >= 8 and spellwind3 = 0:
  397. act 'Vacuum protective sphere (1:00)':
  398. cla
  399. manna -= 1000
  400. minut += 60
  401. spellwind3L += rand(1, 10)
  402. if spellwind3L < 100:
  403. 'You diligently spell for an hour, but could not grasp it.'
  404. act 'Move away':gt 'kakuzu', 'mansion1'
  405. else
  406. spellwind3 = 1
  407. 'Finally you will able to study the spell.'
  408. act 'Move away':gt 'kakuzu', 'mansion1'
  409. end
  410. end
  411. end
  412. if magik >= 9 and spellwind4 = 0:
  413. act 'Vacuum Rockets (1:00)':
  414. cla
  415. manna -= 1000
  416. minut += 60
  417. spellwind4L += rand(1, 10)
  418. if spellwind4L < 100:
  419. 'You diligently spell for an hour, but could not grasp it.'
  420. act 'Move away':gt 'kakuzu', 'mansion1'
  421. else
  422. spellwind4 = 1
  423. 'Finally you will able to study the spell.'
  424. act 'Move away':gt 'kakuzu', 'mansion1'
  425. end
  426. end
  427. end
  428. if magik >= 10 and spellwind5 = 0:
  429. act 'Devouring vacuum (1:00)':
  430. cla
  431. manna -= 1000
  432. minut += 60
  433. spellwind5L += rand(1, 10)
  434. if spellwind5L < 100:
  435. 'You diligently spell for an hour, but could not grasp it.'
  436. act 'Move away':gt 'kakuzu', 'mansion1'
  437. else
  438. spellwind5 = 1
  439. 'Finally you will able to study the spell.'
  440. act 'Move away':gt 'kakuzu', 'mansion1'
  441. end
  442. end
  443. end
  444. end
  445. if stihia = 5:
  446. if magik >= 6 and spellwater1 = 0:
  447. act 'Creek study manna (1:00)':
  448. cla
  449. manna -= 1000
  450. minut += 60
  451. spellwaterL += rand(1, 10)
  452. if spellwaterL < 100:
  453. 'You diligently spell for an hour, but could not grasp it.'
  454. act 'Move away':gt 'kakuzu', 'mansion1'
  455. else
  456. spellwater1 = 1
  457. 'Finally you will able to study the spell.'
  458. act 'Move away':gt 'kakuzu', 'mansion1'
  459. end
  460. end
  461. end
  462. if magik >= 7 and spellwater2 = 0:
  463. act 'Flooding study (1:00)':
  464. cla
  465. manna -= 1000
  466. minut += 60
  467. spellwater2L += rand(1, 10)
  468. if spellwater2L < 100:
  469. 'You diligently spell for an hour, but could not grasp it.'
  470. act 'Move away':gt 'kakuzu', 'mansion1'
  471. else
  472. spellwater2 = 1
  473. 'Finally you will able to study the spell.'
  474. act 'Move away':gt 'kakuzu', 'mansion1'
  475. end
  476. end
  477. end
  478. if magik >= 8 and spellwater3 = 0:
  479. act 'Water bubble study (1:00)':
  480. cla
  481. manna -= 1000
  482. minut += 60
  483. spellwater3L += rand(1, 10)
  484. if spellwater3L < 100:
  485. 'You diligently spell for an hour, but could not grasp it.'
  486. act 'Move away':gt 'kakuzu', 'mansion1'
  487. else
  488. spellwater3 = 1
  489. 'Finally you will able to study the spell.'
  490. act 'Move away':gt 'kakuzu', 'mansion1'
  491. end
  492. end
  493. end
  494. if magik >= 9 and spellwater4 = 0:
  495. act 'Water study shark missile (1:00)':
  496. cla
  497. manna -= 1000
  498. minut += 60
  499. spellwater4L += rand(1, 10)
  500. if spellwater4L < 100:
  501. 'You diligently spell for an hour, but could not grasp it.'
  502. act 'Move away':gt 'kakuzu', 'mansion1'
  503. else
  504. spellwater4 = 1
  505. 'Finally you will able to study the spell.'
  506. act 'Move away':gt 'kakuzu', 'mansion1'
  507. end
  508. end
  509. end
  510. if magik >= 10 and spellwater5 = 0:
  511. act 'Study the Great Flood (1:00)':
  512. cla
  513. manna -= 1000
  514. minut += 60
  515. spellwater5L += rand(1, 10)
  516. if spellwater5L < 100:
  517. 'You diligently spell for an hour, but could not grasp it.'
  518. act 'Move away':gt 'kakuzu', 'mansion1'
  519. else
  520. spellwater5 = 1
  521. 'Finally you will able to study the spell.'
  522. act 'Move away':gt 'kakuzu', 'mansion1'
  523. end
  524. end
  525. end
  526. end
  527. end
  528. act 'Leave':gt 'kakuzu', 'mansion'
  529. end
  530. --- kakuzu ---------------------------------