294_kakuzu 19 KB

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