123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652 |
- # kakuzu
- if $ARGS[0] = 'start':
- cla & *clr
- minut += 5
- $menu_loc = 'kakuzu'
- $menu_arg = 'start'
- menu_off = 0
- gs 'stat'
- gs 'themes', 'indoors'
- '<center><b>Mansion Kakuzu</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/mansion/mansion.jpg"></center>'
- '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.'
- act 'Enter the mansion':gt 'kakuzu', 'mansion'
- act 'Leave':gt 'nord'
- end
- if $ARGS[0] = 'mansion':
- $location = 'event'
- cla
- clr
- *clr
- minut += 5
- gs 'stat'
- '<center><b>Mansion Kakuzu</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/mansion/mansion1.jpg"></center>'
- 'The room sits Kakuzu not paying any attention to you'
- act 'Talk to Kakuzu':gt 'kakuzu', 'mansion1'
- act 'Leave':gt 'kakuzu', 'start'
- end
- if $ARGS[0] = 'mansion1':
- $location = 'event'
- cla
- clr
- *clr
- minut += 5
- gs 'stat'
- '<center><b>Kakuzu</b></center>'
- '<center><img <<$set_imgh>> src="images/characters/city/kakuzu/kakuzu.jpg"></center>'
- 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.'
- 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.'
- if money >= 100000 and tobiQW = 1:
- act 'Here''s the money (100,000 <b>₽</b>)':
- cla
- money -= 100000
- tobiQW = 2
- srodpaper = 10
- 'You put money in front of Kakuzu. He threw them in a drawer without even looking.'
- '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."'
- '(Kakuzu) - Listen to me carefully. There are five elements, '
- '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.'
- '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.'
- 'wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.'
- '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.'
- '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.'
- '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.'
- act 'Mark sheets':gt 'kakuzu', 'mansion1'
- end
- elseif tobiQW = 2 and srodpaper <= 0 and money >= 10000:
- act 'I need another paper (10,000 <b>₽</b>)':
- cla
- money -= 10000
- srodpaper += 1
- 'You gave money and Kakuzu handed a sheet of paper.'
- act 'Mark sheets':gt 'kakuzu', 'mansion1'
- end
- end
- if tobiQW = 2:
- act 'Tell us again about the elements':
- cla
- '(Kakuzu) - Idiot, listen and remember. There are five elements, '
- '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.'
- '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.'
- 'wind - weak damage, weak defense, but no fog or clones can save them from the wind and wind spells are almost impossible to dodge.'
- '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.'
- '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.'
- '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.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- if tobiQW = 2 and srodpaper > 0 and pcs_manna < 2000:'You do not have enough mana to continue concentrating.'
- if tobiQW = 2 and srodpaper > 0 and pcs_manna >= 2000:
- act 'Concentrating the energy in the sheet of paper (1:00)':
- cla
- minut += 60
- pcs_manna -= 2000
- pcs_sweat += 40
- if srodstvo = 0:srodrand = rand(1, 5)
- 'You concentrate energy in the sheet of paper. You feel that you are spending a huge amount of mana for this action.'
- srodstvo += rand(1, 10)
- if srodstvo < 100:
- 'You get tired and sweat like a horse, but your effort was not enough.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- elseif srodstvo >= 100:
- srodpaper -= 1
- if srodrand = 1:'Paper broke in your hands. Kakuzu nods approvingly. Affinity with fire. Will you take it?'
- if srodrand = 2:'Paper electrified in your hands, and sparks dance on it. Kakuzu nods approvingly. Affinity with lightning. Will you take it?'
- if srodrand = 3:'Paper hardened in your hands. Kakuzu nods approvingly. Affinity with the land. Will you take it?'
- if srodrand = 4:'Paper shredded to pieces in your hands. Kakuzu nods approvingly. Affinity with the wind. Will you take it?'
- if srodrand = 5:'Paper soaked in your hands. Kakuzu nods approvingly. Affinity for water. Will you take it?'
- act 'Secure affinity':
- cla
- tobiQW = 3
- stihia = srodrand
- srodstvo = 0
- gt 'kakuzu', 'mansion1'
- end
- act 'Unsubscribe from this affinity':
- srodstvo = 0
- gt 'kakuzu', 'mansion1'
- end
- end
- end
- end
- if tobiQW = 3 and pcs_manna < 1000:
- 'Kakuzu tells you "You have almost no energy, you need to rest."'
- elseif tobiQW = 3 and pcs_manna >= 1000:
- if stihia = 1:
- if pcs_magik >= 6 and spellfire1 = 0:
- act 'Learn Flame (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellfireL += rand(1, 10)
- if spellfireL < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellfire1 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 7 and spellfire2 = 0:
- act 'Study the release of fire (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellfire2L += rand(1, 10)
- if spellfire2L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellfire2 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 8 and spellfire3 = 0:
- act 'Study Barrier fire (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellfire3L += rand(1, 10)
- if spellfire3L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellfire3 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 9 and spellfire4 = 0:
- act 'Study Firestorm (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellfire4L += rand(1, 10)
- if spellfire4L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellfire4 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 10 and spellfire5 = 0:
- act 'Learn Flame Shield (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellfire5L += rand(1, 10)
- if spellfire5L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellfire5 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- end
- if stihia = 2:
- if pcs_magik >= 6 and spellele1 = 0:
- act 'Study Discharge (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spelleleL += rand(1, 10)
- if spelleleL < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellele1 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 7 and spellele2 = 0:
- act 'Learn Lightning (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellele1L += rand(1, 10)
- if spellele1L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellele2 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 8 and spellele3 = 0:
- act 'Electro study barrier (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellele2L += rand(1, 10)
- if spellele2L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellele3 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 9 and spellele4 = 0:
- act 'Dance study thousands of birds (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellele3L += rand(1, 10)
- if spellele3L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellele4 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 10 and spellele5 = 0:
- act 'Study Plyaschuschaya sphere (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellele4L += rand(1, 10)
- if spellele4L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellele5 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- end
- if stihia = 3:
- if pcs_magik >= 6 and spellert1 = 0:
- act 'Study Quicksand (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellertL += rand(1, 10)
- if spellertL < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellert1 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 7 and spellert2 = 0:
- act 'Active protection study (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellert2L += rand(1, 10)
- if spellert2L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellert2 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 8 and spellert3 = 0:
- act 'Study Chasm (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellert3L += rand(1, 10)
- if spellert3L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellert3 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 9 and spellert4 = 0:
- act 'Absolute protection study (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellert4L += rand(1, 10)
- if spellert4L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellert4 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 10 and spellert5 = 0:
- act 'Study Sando (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellert5L += rand(1, 10)
- if spellert5L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellert5 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- end
- if stihia = 4:
- if pcs_magik >= 6 and spellwind1 = 0:
- act 'Learn Gust (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwind1L += rand(1, 10)
- if spellwind1L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwind1 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 7 and spellwind2 = 0:
- act 'Horrific study pressure (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwind2L += rand(1, 10)
- if spellwind2L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwind2 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 8 and spellwind3 = 0:
- act 'Vacuum protective sphere (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwind3L += rand(1, 10)
- if spellwind3L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwind3 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 9 and spellwind4 = 0:
- act 'Vacuum Rockets (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwind4L += rand(1, 10)
- if spellwind4L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwind4 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 10 and spellwind5 = 0:
- act 'Devouring vacuum (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwind5L += rand(1, 10)
- if spellwind5L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwind5 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- end
- if stihia = 5:
- if pcs_magik >= 6 and spellwater1 = 0:
- act 'Creek study manna (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwaterL += rand(1, 10)
- if spellwaterL < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwater1 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 7 and spellwater2 = 0:
- act 'Flooding study (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwater2L += rand(1, 10)
- if spellwater2L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwater2 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 8 and spellwater3 = 0:
- act 'Water bubble study (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwater3L += rand(1, 10)
- if spellwater3L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwater3 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 9 and spellwater4 = 0:
- act 'Water study shark missile (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwater4L += rand(1, 10)
- if spellwater4L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwater4 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- if pcs_magik >= 10 and spellwater5 = 0:
- act 'Study the Great Flood (1:00)':
- cla
- pcs_manna -= 1000
- minut += 60
- spellwater5L += rand(1, 10)
- if spellwater5L < 100:
- 'You diligently spell for an hour, but could not grasp it.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- else
- spellwater5 = 1
- 'Finally you will able to study the spell.'
- act 'Move away':gt 'kakuzu', 'mansion1'
- end
- end
- end
- end
- end
- act 'Leave':gt 'kakuzu', 'mansion'
- end
- --- kakuzu ---------------------------------
|