1
0

kakuzu.qsrc 18 KB

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