kakuzu.qsrc 18 KB

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