kakuzu.qsrc 18 KB

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