1
0

kakuzu.qsrc 18 KB

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