Jump to content
  • 0

biologist never ends


darkfun3

Question

So after you finish the last quest of the bio it start all over again from orc teeth

Here is my quest to tell me if there is something wrong

quest bio begin 
    state start begin 
        when login or levelup with pc.level>29 begin 
            set_state(talk_to_disciple_lv30) 
        end     
    end 
    state talk_to_disciple_lv30 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("O Âéïëüãïò, ï ìáèçôåõüìåíïò ôïõ Uriel, ") 
            say("áíáæçôÜ ôç âïÞèåéá óïõ åðåéãüíôùò. ") 
            say("") 
            say_reward("ÂéÜóïõ íá ôïí âïçèÞóåéò! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Äüíôéá Ïñê " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("") 
            say("Á÷, Þñèåò íá ìå âïçèÞóåéò; ") 
            say("Êáëþò ... ") 
            say("Åãþ óáí Âéïëüãïò ìåëåôþ ðïëëÜ ") 
            say("åßäç Öõôþí óôïí Êüóìï. ") 
            say("Áí ìå âïçèÞóåôå óôçí Ýñåõíá ìïõ, ") 
            say("èá óáò áíôáìåßøù ðëïõóéïðÜñï÷á. ") 
            say("") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Ðñüóöáôá îåêßíçóá êáé ðÜëé...") 
            say("Åñåõíþ Ýíá Ìýèï....") 
            say("ÁëëÜ Ý÷ù íá êÜíù ðïëëÜ ðñïò ôï ðáñüí, ") 
            say("èá Þôáí ùñáßï áí ìðïñïýóåò íá ìå âïçèÞóåéò... ") 
            say("") 
            wait() 
            say("Âéïëüãïò: ") 
            say("×ñåéÜæïìáé äÝêá Äüíôéá Ïñê ãéá ôçí ¸ñåõíá ìïõ. ") 
            say("Ùóôüóï, áõôÜ åßíáé ðïëý åõáßóèçôá, ") 
            say("êáé ìðïñåß êÜðïéá áðü áõôÜ íá óðÜóïõí ") 
            say("ôçí þñá ðïõ èá ôá ìåëåôþ. ") 
            say("ÐñáãìáôéêÜ ÷ñåéÜæïìáé äÝêá, ðñïêåéìÝíïõ ") 
            say("íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
            say("") 
            set_state(collect_orcteeth) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)   
        end 
    end 
    state collect_orcteeth begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Äüíôéá Ïñê ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò ") 
            say("10 Äüíôéá Ïñê ") 
            say("ÁõôÜ ìðïñåßò íá ôá ðÜñåéò ") 
            say("áðü ôï Ãåíéêü ÊáôÜóôçìá. ") 
            say_item_vnum(30006)  
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Äüíôéá Ïñê! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò Äüíôé Ïñê êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30006)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò Äüíôéá Ïñê êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 20084.chat."Äüíôéá Ïñê " with pc.count_item(30006)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Äüíôé Ïñê... ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá ... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30006", 1) 
                pc.setqf("duration",get_time() + 60*60*2) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<10 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ, áõôü ôï Äüíôé åßíáé êáëü. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñá Äüíôéá Ïñê, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Äüíôéá Ïñê! ") 
                        say("") 
                        pc.setqf("drink_drug",0)   
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëá ôá Äüíôéá Ïñê!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèï Øõ÷Þò ôùí Ïñê. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ")     
                        say("") 
                        say_reward("Ìðïñåßò íá ôïí ðÜñåéò áðü ôá Ïñêò. ") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("drink_drug",0)   
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0)  
                        set_state(collect_jinunggyis) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ôï Äüíôé ") 
                    say("Ýóðáóå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Äüíôé Ïñê! ") 
                    pc.setqf("drink_drug",0)   
                end 
            else 
                say("Âéïëüãïò: ") 
                say("ËõðÜìáé... ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Äüíôé ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 2 ¿ñåò. ") 
                say("") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;         
            end 
        end 
    end 
    state collect_jinunggyis begin 
        when letter begin 
            send_letter("Ï Ëßèïò Øõ÷Þò ôùí Ïñê ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ôùí Ïñê ") 
            say("") 
            say("¸÷åéò óõãêåíôñþóåé ôá 10 Äüíôéá Ïñê. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèï Øõ÷Þò ôùí Ïñê! ") 
            say_item_vnum(30220) 
            say("Ëåò áõôüò ï Ëßèïò íá ðåñéÝ÷åé ") 
            say("ðñáãìáôéêÜ ôéò øõ÷Ýò ôùí Ïñê; ") 
        end 
        when 635.kill or 636.kill or 637.kill begin 
            if pc.count_item(30220)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30220, 1) 
                end 
            end     
        end 
        when 20084.chat."Ï Ëßèïò Øõ÷Þò ôùí Ïñê " begin 
            if pc.count_item(30220)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óáò, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò ôùí Ïñê. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                pc.remove_item(30220,1) 
                set_state(jinunggyis_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ý÷åéò öÝñåé ôá 10 Äüíôéá Ïñê... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ôùí Ïñê. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü ôá Ïñê ...")     
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ Äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")         
            end 
        end 
    end     
    state jinunggyis_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôá Äüíôéá êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï! ") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ,ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Ôá÷ýôçôá Êßíçóçò +10% (Ìüíéìá) ") 
            say_reward("¸íá Ìðëå Ëßèï ") 
            say_reward("¸íá ÐñÜóéíï Ëßèï ") 
            say("") 
            affect.add_collect(apply.MOV_SPEED, 10, 60*60*24*365*60) 
            pc.give_item2("30230") 
            pc.give_item2("30231") 
            set_state(collect_quest_lv40)  
        end 
    end 

    ---------------------------------- 
    -- LvL 40 / Fluchsammlung 
    ---------------------------------- 
    state collect_quest_lv40 begin 
        when login or levelup with pc.level>39 begin 
            set_state(talk_to_disciple_lv40) 
        end     
    end 
    state talk_to_disciple_lv40 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Âéâëßá ìå ÊáôÜñåò " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Êáëþò ôïí... ") 
            say("Ç ÌåëÝôç ãéá ôá Äüíôéá Ïñê ") 
            say("¸÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé íá åîåôÜóù ") 
            say("êÜðïéá íÝá Áíôéêåßìåíá! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("Èá Þôáí ðïëý ùñáßá áí ìðïñïýóåò ") 
            say("ôï êÜíåéò áõôü ãéá ìÝíá. ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("ÈÝëù íá ìåëåôÞóù ôá Âßâëéá ìå ÊáôÜñåò. ") 
            say("÷ñåéÜæïìáé 15 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ôá Âéâëßá åßíáé áñêåôÜ ðáëéÜ ") 
            say("êáé ìåñéêÜ ìðïñåß íá êáôáóôñáöïýí ") 
            say("ôçí þñá ðïõ èá ôá ìåëåôþ! ")                                                                                                                                                           
            set_state(collect_cursebook) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_cursebook begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Âéâëßá ìå ÊáôÜñåò ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("15 Âéâëßá ìå ÊáôÜñåò! ") 
            say("ÁõôÜ ìðïñåßò íá ôá ðÜñåéò áðü ") 
            say("ôï Ãåíéêü ÊáôÜóôçìá! ") 
            say("") 
            say_item_vnum(30047)  
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Âéâëßá ìå ÊáôÜñåò! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò Âéâëßï ìå ÊáôÜñåò êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30047)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò Âéâëßá ìå ÊáôÜñåò êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 20084.chat."Âéâëßá ìå ÊáôÜñåò " with pc.count_item(30047)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Âéâëßï ìå ÊáôÜñåò ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30047", 1) 
                pc.setqf("duration",get_time() + 60*60*2) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<15 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ, áõôü ôï Âéâëßï åßíáé êáëü. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñá Âéâëßá, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Âéâëßá ìå ÊáôÜñåò! ") 
                        say("") 
                        pc.setqf("drink_drug",0)   
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëá ôá Âéâëßá ìå ÊáôÜñåò!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèï Øõ÷Þò ôùí Íáïý. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ") 
                        say("") 
                        say_reward("Ìðïñåßò íá ôïí ðÜñåéò áðü ôá Ïñê. ") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0) 
                        pc.setqf("drink_drug",0)  
                        set_state(collect_templekey) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ôï Âéâëßï ") 
                    say("Ýóðáóå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Âéâëßï ìå ÊáôÜñåò! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("ËõðÜìáé... ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Âéâëßï ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 2 ¿ñåò. ") 
                say("")   
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_templekey begin 
        when letter begin 
            send_letter("Ëßèïò Øõ÷Þò ôùí Íáïý ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ôùí Íáïý ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôá 15 Âéâëßá ìå ÊáôÜñåò. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèï Øõ÷Þò ôïõ Íáïý! ") 
            say_item_vnum(30221) 
            say("Ëåò áõôüò ï Ëßèïò íá ðåñéÝ÷åé ") 
            say("ðñáãìáôéêÜ ôéò øõ÷Ýò ôùí ïðáäþí Íáïý; ") 
            say("") 
        end 
        when 635.kill or 636.kill or 637.kill begin 
            if pc.count_item(30221)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30221, 1) 
                end 
            end     
        end 
        when 20084.chat."Ëßèïò Øõ÷Þò ôùí Íáïý " begin 
            if pc.count_item(30221)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óou, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò toõ Íáïý. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(30221,1) 
                set_state(templekey_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ý÷åéò öÝñåé ôá 15 Âéâëßá ìå ÊáôÜñåò... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ôïõ Íáïý. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü ôá Ïñê ...")     
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ Äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")      
                say("")         
            end 
        end 
    end 
    state templekey_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôá Âéâëßá êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï!  ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ, ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Ôá÷ýôçôá Åðßèåóçò +5% (Ìüíéìá) ") 
            say_reward("Êüêêéíç Ëßèï ") 
            say_reward("Ìùâ Ëßèï ") 
            say("") 
            affect.add_collect(apply.ATT_SPEED, 5, 60*60*24*365*60) 
            pc.give_item2("30232") 
            pc.give_item2("30233") 
            set_state(collect_quest_lv50) 
        end 
    end 

    ---------------------------------- 
    -- LvL 50 / D&#948;monenandenken 
    ---------------------------------- 
    state collect_quest_lv50 begin 
        when login or levelup with pc.level>49 begin 
            set_state(talk_to_disciple_lv50) 
        end     
    end 
    state talk_to_disciple_lv50 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Åíèýìéï Äáßìïíá " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Êáëþò ôïí... ") 
            say("Ç ÌåëÝôç ãéá ôá Âéâëßá ìå ÊáôÜñåò. ") 
            say("¸÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé íá åîåôÜóù ") 
            say("êÜðïéá íÝá Áíôéêåßìåíá! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("Èá Þôáí ðïëý ùñáßá áí ìðïñïýóåò ") 
            say("ôï êÜíåéò áõôü ãéá ìÝíá. ") 
            wait() 
            say("Âéïëüãïò: ") 
           say("ÈÝëù íá ìåëåôÞóù ôá Åíèýìéá ôïõ Äáßìïíá. ") 
            say("÷ñåéÜæïìáé 15 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ôá Åíèýìéá åßíáé åýèñáõóôá ") 
            say("êáé ìåñéêÜ ìðïñåß íá êáôáóôñáöïýí ") 
            say("ôçí þñá ðïõ èá ôá ìåëåôþ! ")   
            say("")                                                                                                                                                           
            set_state(collect_deamonitem) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_deamonitem begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Åíèýìéï Äáßìïíá ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("15 Åíèýìéá ôïõ Äáßìïíá ìðïñåßò ") 
            say("íá ôá âñåßò óôïí Äáéìïíéêü Ðýñãï! ") 
            say("êáëÞ ôý÷ç! ") 
            say("") 
            say_item_vnum(30015) 
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Åíèýìéá ôïõ Äáßìïíá! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò Åíèýìéï ôïõ Äáßìïíá êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30015)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò Åíèýìéï ôïõ Äáßìïíá êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 20084.chat."Åíèýìéï ôïõ Äáßìïíá " with pc.count_item(30015)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Åíèýìéï ôïõ Äáßìïíá. ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30015", 1) 
                pc.setqf("duration",get_time() + 60*60*4) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<15 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ! ") 
                        say("Áõôü ôï Åíèýìéï åßíáé êáëü. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñá Åíèýìéá, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Åíèýìéá ôïõ Äáßìïíá! ") 
                        say("") 
                        pc.setqf("drink_drug",0)  
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëá ôá Åíèýìéá ôïõ Äáßìïíá!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèï Øõ÷Þò ôïõ Äáßìïíá. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ") 
                        say("") 
                        say_reward("Ìðïñåßò íá ôïí ðÜñåéò óôïí Äáéìïíéêü Ðýñãï. ") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0)  
                        set_state(collect_sagyis) 
                    end 
                else  
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ôï Åíèýìéï ") 
                    say("êáôáóôñÜöçêå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Åíèýìéï ôïõ Äáßìïíá! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("ËõðÜìáé... ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Åíèýìéï ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 4 ¿ñåò. ") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_sagyis begin 
        when letter begin 
            send_letter("Ëßèïò Øõ÷Þò ôïõ Äáßìïíá ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ôïõ Äáßìïíá ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôá 15 Åíèýìéá ôïõ Äáßìïíá. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèïò Øõ÷Þò ôïõ Äáßìïíá! ") 
            say("") 
            say_item_vnum(30222) 
            say("Ëåò íá ðåñéÝ÷åé áõôüò ï ëßèïò ") 
            say("ôçí Øõ÷Þ ôïõ Äáßìïíá; ") 
            say("") 
        end 
        when 1031.kill or 1032.kill or 1033.kill or 1034.kill  begin 
            if pc.count_item(30222)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30222, 1) 
                end 
            end     
        end 
        when 20084.chat."Ëßèïò øõ÷Þò ôïõ Äáßìïíá " begin 
            target.delete("__TARGET__") 
            if pc.count_item(30222)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óáò, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò ôïõ Äáßìïíá. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(30222,1) 
                set_state(sagyis_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ýöåñåò ôá 15 Åíèýìéá ôïõ Äáßìïíá... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ôïõ Äáßìïíá. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü ôá ÔÝñáôá ")     
                say("óôïí Äáéìïíéêü Ðýñãï. ")  
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")    
                say("")     
            end 
        end 
    end 
    state sagyis_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôá Åíèýìéá êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé Ýíá Ìõóôéêü Ößëôñï!  ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ,ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("¢ìõíá +60 (Ìüíéìá) ") 
            say_reward("¸íá Ëåõêü ÌáñãáñéôÜñé ") 
            say_reward("¸íá Ìðëå ÌáñãáñéôÜñé ") 
            say("") 
            affect.add_collect(apply.DEF_GRADE_BONUS,60,60*60*24*365*60) 
            pc.give_item2("27992") 
            pc.give_item2("27993") 
            set_state(collect_quest_lv60) 
        end 
    end 

    ---------------------------------- 
    -- LvL 60 / &#914;üëïé ÐÜãïõ  
    ---------------------------------- 
    state collect_quest_lv60 begin 
        when login or levelup with pc.level>59 begin 
            set_state(talk_to_disciple_lv60) 
        end     
    end 
    state talk_to_disciple_lv60 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Âüëïé ÐÜãïõ " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Êáëþò ôïí... ") 
            say("Ç ÌåëÝôç ãéá ôá Åíèýìéá ôïõ Äáßìïíá. ") 
            say("¸÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé íá åîåôÜóù ") 
            say("êÜðïéá íÝá Áíôéêåßìåíá! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("Èá Þôáí ðïëý ùñáßá áí ìðïñïýóåò ") 
            say("ôï êÜíåéò áõôü ãéá ìÝíá. ") 
            wait() 
            say("Âéïëüãïò: ") 
           say("ÈÝëù íá ìåëåôÞóù ôïõò Âüëïõò ÐÜãïõ ") 
            say("÷ñåéÜæïìáé 20 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ïé Âüëïé åßíáé åýèñáõóôïé") 
            say("êáé ìåñéêïß ìðïñåß íá êáôáóôñáöïýí ") 
            say("ôçí þñá ðïõ èá ôïõò ìåëåôþ! ")   
            say("")                                                                                                                                                           
            set_state(collect_scoops) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_scoops begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Âüëïé ÐÜãïõ ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("20 Âüëïõò ÐÜãïõ ìðïñåßò íá ôïõò ") 
            say("ðÜñåéò áðü ôá Ãêüëåì. ÊáëÞ Ôý÷ç! ") 
            say("") 
            say_item_vnum(30050) 
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Âüëïõò ÐÜãïõ! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò Âüëïõò ÐÜãïõ êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30050)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò Âüëïõò ÐÜãïõ êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 20084.chat."Âüëïé ÐÜãïõ " with pc.count_item(30050)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Âüëï ÐÜãïõ. ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá ... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30050", 1) 
                pc.setqf("duration",get_time() + 60*60*8) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<20 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ! ") 
                        say("Áõôüò ï Âüëïò åßíáé êáëüò. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñïõò Âüëïõò, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Âüëïõò ÐÜãïõ! ") 
                        say("") 
                        pc.setqf("drink_drug",0)  
                    else  
                        say("Âéïëüãïò: ") 
                        say("ÌÜæåøåò üëïõò ôïõò Âüëïõò ÐÜãïõ!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèï Øõ÷Þò ôùí ÐÜãùí. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ") 
                        say("") 
                        say_reward("Ìðïñåßò íá ôïí ðÜñåéò óôïí Âïõíü Sohan. ")                         
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0)  
                        set_state(collect_aurtumryus) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ï Âüëïò ") 
                    say("êáôáóôñÜöçêå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Âüëï ÐÜãïõ! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("ËõðÜìáé... ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Âüëï ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 8 ¿ñåò. ") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_aurtumryus begin 
        when letter begin 
            send_letter("Ëßèïò Øõ÷Þò ôùí ÐÜãùí ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ôùí ÐÜãùí ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôïõò 15 âüëïõò ÐÜãïõ. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèïò Øõ÷Þò ôùí ÐÜãùí! ") 
            say("") 
            say_item_vnum(30223) 
            say("Ëåò íá ðåñéÝ÷åé áõôüò ï Ëßèïò ") 
            say("ôçí Øõ÷Þ ôùí ÐÜãùí; ") 
            say("") 
        end 
        when 1101.kill or 1102.kill or 1103.kill or 1104.kill or 1105.kill or 1106.kill or 1107.kill begin 
            if pc.count_item(30223)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30223, 1) 
                end 
            end     
        end 
        when 20084.chat."Ëßèïò Øõ÷Þò ôùí ÐÜãùí " begin 
            if pc.count_item(30223)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óáò, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò ôùí ÐÜãùí. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(30223,1) 
                set_state(aurtumryus_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ýöåñåò ôïõò 15 Âüëïõò ÐÜãïõ... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ôùí ÐÜãùí. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü ôá ÔÝñáôá ")     
                  say("óôïí Âïõíü Sohan. ")  
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")    
                say("")             
            end 
        end 
    end 
    state aurtumryus_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôïõò Âüëïõò êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï!  ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ,ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Áîßá Åðßèåóçò +50 (Ìüíéìá) ") 
            say_reward("¸íá ÌáôùìÝíï ÌáñãáñéôÜñé ") 
            say_reward("¸íá Ìáýñï ÌáñãáñéôÜñé ") 
            say("") 
            affect.add_collect(apply.ATT_GRADE_BONUS,50,60*60*24*365*60) 
            pc.give_item2("27994") 
            pc.give_item2("99005") 
            set_state(collect_quest_lv70) 
        end 
    end 

    ---------------------------------- 
    -- LvL 70 / &#922;ëáäß Zelkova 
    ---------------------------------- 
    state collect_quest_lv70 begin 
        when login or levelup with pc.level>69 begin 
            set_state(talk_to_disciple_lv70) 
        end     
    end 
    state talk_to_disciple_lv70 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Êëáäß Zelkova " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Êáëþò ôïí... ") 
            say("Ç ÌåëÝôç ãéá ôïõò Âüëïõò ÐÜãïõ. ") 
            say("¸÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé íá åîåôÜóù ") 
            say("êÜðïéá íÝá Áíôéêåßìåíá! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("Èá Þôáí ðïëý ùñáßá áí ìðïñïýóåò ") 
            say("ôï êÜíåéò áõôü ãéá ìÝíá. ") 
            wait() 
            say("Âéïëüãïò: ") 
           say("ÈÝëù íá ìåëåôÞóù ôá ÊëáäéÜ Zelkova. ") 
            say("÷ñåéÜæïìáé 25 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ôá Êëáäßá åßíáé åýèñáõóôá ") 
            say("êáé ìåñéêÜ ìðïñåß íá êáôáóôñáöïýí ") 
            say("ôçí þñá ðïõ èá ôá ìåëåôþ! ")   
            say("")                                                                                                                                                           
            set_state(collect_branches) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_branches begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Êëáäß Zelkova ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("25 Êëáäßá Zelkova ìðïñåßò ") 
            say("íá ôá âñåßò óôïí Êüêêéíï ÄÜóïò! ") 
            say("ÊáëÞ Ôý÷ç! ") 
            say("") 
            say_item_vnum(30165) 
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." ÊëáäéÜ Zelkova! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò ÊëáäéÜ Zelkova êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30165)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò ÊëáäéÜ Zelkova êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
                 
        when 2301.kill or 2302.kill or 2303.kill or 2304.kill or 2305.kill or 2311.kill or  
             2312.kill or 2313.kill or 2314.kill or 2315.kill or 2306.kill or 2307.kill begin 
            if pc.count_item(30165)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30165, 1) 
                end 
            end     
        end 
                 
        when 20084.chat."Êëáäß Zelkova" with pc.count_item(30165)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Êëáäß Zelkova. ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá ... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30165", 1) 
                pc.setqf("duration",get_time() + 60*60*12) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<25 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ! ") 
                        say("Áõôü ôï Êëáäß åßíáé êáëü. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñá ÊëáäéÜ, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." ÊëáäéÜ Zelkova! ") 
                        say("") 
                        pc.setqf("drink_drug",0)  
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëá ôá ÊëáäéÜ Zelkova!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèïò Øõ÷Þò ÖáíôáóìÜôùí. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ") 
                        say("") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0)  
                        set_state(collect_gyimoks) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ôï Êëáäß ") 
                    say("êáôáóôñÜöçêå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Êëáäß Zelkova! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("ËõðÜìáé... ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Êëáäß ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 12 ¿ñåò. ") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_gyimoks begin 
        when letter begin 
            send_letter("Ëßèïò Øõ÷Þò ÖáíôáóìÜôùí ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ÖáíôáóìÜôùí ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôá 25 ÊëáäéÜ Zelkova. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèïò Øõ÷Þò ÖáíôáóìÜôùí! ") 
            say("") 
            say_item_vnum(30224) 
            say("Ëåò íá ðåñéÝ÷åé áõôüò ï Ëßèïò ") 
            say("ôçí Øõ÷Þ ôùí ÖáíôáóìÜôùí; ") 
            say("") 
        end 
        when 2301.kill or 2302.kill or 2303.kill or 2304.kill or 2305.kill or 2311.kill or  
             2312.kill or 2313.kill or 2314.kill or 2315.kill or 2306.kill or 2307.kill begin 
            if pc.count_item(30224)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30224, 1) 
                end 
            end     
        end 
        when 20084.chat."Ëßèïò Øõ÷Þò ÖáíôáóìÜôùí " begin 
            target.delete("__TARGET__") 
            if pc.count_item(30224)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óáò, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò ÖáíôáóìÜôùí. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(30224,1) 
                set_state(gyimoks_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ýöåñåò ôá 25 ÊëáäéÜ Zelkova... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ÖáíôáóìÜôùí. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü ôá ÔÝñáôá ")     
                  say("óôï Êüêêéíï ÄÜóïò. ")  
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")    
                say("")               
            end 
        end 
    end 
    state gyimoks_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôá ÊëáäéÜ êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï! ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ! ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Ôá÷ýôçôá Êßíçóçò +10% (Ìüíéìá) ") 
            say_reward("Ìåßùóç ÆçìéÜò +10% (Ìüíéìá) ") 
            say_reward("¸íá Óêïýñïìðëå ÌáñãáñéôÜñé ") 
            say_reward("¸íá Óêïõñïêüêêéíï ÌáñãáñéôÜñé ") 
            say("") 
            affect.add_collect(apply.MOV_SPEED,10,60*60*24*365*60) 
            affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60) 
            pc.give_item2("99006") 
            pc.give_item2("99007") 
            set_state(collect_quest_lv80) 
        end 
    end 

    ---------------------------------- 
    -- LvL 80 / &#928;éóôïðïéçôéêÜ ÃéãÜíôùí  
    ---------------------------------- 
    state collect_quest_lv80 begin 
        when login or levelup with pc.level>79 begin 
            set_state(talk_to_disciple_lv80) 
        end     
    end 
    state talk_to_disciple_lv80 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."ÐéóôïðïéçôéêÜ ÃéãÜíôùí " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Êáëþò ôïí... ") 
            say("Ç ÌåëÝôç ãéá ôá ÊëáäéÜ Zelkova. ") 
            say("¸÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé íá åîåôÜóù ") 
            say("êÜðïéá íÝá Áíôéêåßìåíá! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("Èá Þôáí ðïëý ùñáßá áí ìðïñïýóåò ") 
            say("ôï êÜíåéò áõôü ãéá ìÝíá. ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("ÈÝëù íá ìåëåôÞóù ôá ÐéóôïðïéçôéêÜ ÃéãÜíôùí. ") 
            say("÷ñåéÜæïìáé 30 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ôá ÐéóôïðïéçôéêÜ åßíáé ðáëéÜ ") 
            say("êáé ìåñéêÜ ìðïñåß íá êáôáóôñáöïýí ") 
            say("ôçí þñá ðïõ èá ôá ìåëåôþ! ")   
            say("")                                                                                                                                                           
            set_state(collect_plates) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_plates begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("ÐéóôïðïéçôéêÜ ÃéãÜíôùí ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("30 ÐéóôïðïéçôéêÜ ÃéãÜíôùí ìðïñåßò ") 
            say("íá ôá âñåßò óôçí Ãç ôùí ÃéãÜíôùí! ") 
            say("ÊáëÞ Ôý÷ç! ") 
            say("") 
            say_item_vnum(30166) 
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." ÐéóôïðïéçôéêÜ ÃéãÜíôùí! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò ÐéóôïðïéçôéêÜ ÃéãÜíôùí êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30166)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò ÐéóôïðïéçôéêÜ ÃéãÜíôùí êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 1401.kill or 1402.kill or 1403.kill or 1601.kill or 1602.kill or 1603.kill begin 
            local rand = number(0,99) 
            if rand<5 then pc.give_item2(30166, 1) 
            end 
        end 
        when 20084.chat."ÐéóôïðïéçôéêÜ ÃéãÜíôùí " with pc.count_item(30166)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Ðéóôïðïéçôéêü ÃéãÜíôùí. ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá ... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30166", 1) 
                pc.setqf("duration",get_time() + 60*60*12) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<30 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ! ") 
                        say("Áõôü ôï Ðéóôïðïéçôéêü åßíáé êáëü. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñá ÐéóôïðïéçôéêÜ, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." ÐéóôïðïéçôéêÜ ÃéãÜíôùí! ") 
                        say("") 
                        pc.setqf("drink_drug",0)  
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëá ôá ÐéóôïðïéçôéêÜ ÃéãÜíôùí!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèï Øõ÷Þò ôùí ÃéãÜíôùí. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ") 
                        say("") 
                        say_reward("Ìðïñåßò íá ôïí ðÜñåéò óôçí Ãç ôùí ÃéãÜíôùí. ") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0)  
                        set_state(collect_tugyis) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ôï Ðéóôïðïéçôéêü ") 
                    say("êáôáóôñÜöçêå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Ðéóôïðïéçôéêü ÃéãÜíôùí! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Ðéóôïðïéçôéêü ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 12 ¿ñåò. ") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_tugyis begin 
        when letter begin 
            send_letter("Ëßèïò Øõ÷Þò ôùí ÃéãÜíôùí ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ôùí ÃéãÜíôùí ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôá 30 ÐéóôïðïéçôéêÜ ÃéãÜíôùí. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèï Øõ÷Þò ôùí ÃéãÜíôùí! ") 
            say("") 
            say_item_vnum(30225) 
            say("Ëåò íá ðåñéÝ÷åé áõôüò ï ëßèïò ") 
            say("ôçí Øõ÷Þ ôùí ÃéãÜíôùí; ") 
            say("") 
        end 
        when 1401.kill or 1402.kill or 1403.kill or 1601.kill or 1602.kill or 1603.kill begin 
            if pc.count_item(30224)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30225, 1) 
                end 
            end     
        end 
        when 20084.chat."Ëßèïò Øõ÷Þò ôùí ÃéãÜíôùí " begin 
            if pc.count_item(30225)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óáò, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò ôùí ÃéãÜíôùí. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(30225,1) 
                set_state(tugyis_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ýöåñåò ôá 30 ÐéóôïðïéçôéêÜ ÃéãÜíôùí... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ôùí ÃéãÜíôùí. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü ôá ÔÝñáôá ")     
                  say("óôçí Ãç ôùí ÃéãÜíôùí. ")  
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")    
                say("")              
            end 
        end 
    end 
    state tugyis_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôá ÐéóôïðïéçôéêÜ êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï! ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ,ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Ôá÷ýôçôá Åðßèåóçò +5% (Ìüíéìá) ") 
            say_reward("Áýîçóç ÆçìéÜò +10% (Ìüíéìá) ") 
            say_reward("Ìßá Óöñáãßäá Ëåõêïý Ëéïíôáñéïý ") 
            say("") 
            affect.add_collect(apply.ATT_SPEED,5,60*60*24*365*60) 
            affect.add_collect_point(apply.POINT_ATT_BONUS,10,60*60*24*365*60) 
            pc.give_item2("71124") 
            set_state(collect_quest_lv90) 
        end 
    end 

    ---------------------------------- 
    -- LvL 90 / &#931;çìåéþìáôá Áñ÷çãþí  
    ---------------------------------- 
    state collect_quest_lv90 begin 
        when login or levelup with pc.level>79 begin 
            set_state(talk_to_disciple_lv90) 
        end     
    end 
    state talk_to_disciple_lv90 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ  ") 
        end 
        when button or info begin 
            say_title("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Óçìåéþìáôá Áñ÷çãþí " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Êáëþò ôïí... ") 
            say("Ç ÌåëÝôç ãéá ôá ÐéóôïðïéçôéêÜ ÃéãÜíôùí. ") 
            say("¸÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé íá åîåôÜóù ") 
            say("êÜðïéá íÝá Áíôéêåßìåíá! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("Èá Þôáí ðïëý ùñáßá áí ìðïñïýóåò ") 
            say("ôï êÜíåéò áõôü ãéá ìÝíá. ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("ÈÝëù íá ìåëåôÞóù ôá Óçìåéþìáôá Áñ÷çãþí ") 
            say("÷ñåéÜæïìáé 50 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ôá Óçìåéþìáôá åßíáé ðáëéÜ ") 
            say("êáé ìåñéêÜ ìðïñåß íá êáôáóôñáöïýí ") 
            say("ôçí þñá ðïõ èá ôá ìåëåôþ! ") 
            say("")                                                                                                                                                           
            set_state(collect_notices) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_notices begin 
        when letter begin 
            send_letter("Ç ÁíáæÞôçóç ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Óçìåéþìáôá Áñ÷çãþí ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("50 Óçìåéþìáôá Áñ÷çãþí ìðïñåßò ") 
            say("íá ôá ðÜñåéò áðü Boss! ") 
            say("¼ðùò Áñ÷çãüò Ïñê, Âáóßëéóóá ÁñÜ÷íç ") 
            say("ÅííéÜ ÏõñÝò êôë. ") 
            say("ÊáëÞ Ôý÷ç! ") 
            say("") 
            say_item_vnum(30168) 
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Óçìåéþìáôá Áñ÷çãþí! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò Óçìåéþìáôá Áñ÷çãþí êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30168)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò Óçìåéþìáôá Áñ÷çãþí êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëü áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 591.kill or 691.kill or 791.kill or 793.kill or 991.kill or 992.kill or 993.kill or 1091.kill or 1092.kill or 1093.kill or 1304.kill or 
             1403.kill or 2091.kill or 2191.kill or 2206.kill or 2207.kill or 2306.kill or 2493.kill or 2494.kill or 5001.kill or 5004.kill or 
             5161.kill or 5162.kill or 5163.kill begin 
            local rand = number(0,99) 
            if rand<5 then pc.give_item2(30168, 1) 
            end 
        end 
        when 20084.chat."Óçìåéþìáôá Áñ÷çãþí " with pc.count_item(30168)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò Ýíá Óçìåßùìá Áñ÷çãþí. ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôï åîÝôáóù ðñùôá ... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30168", 1) 
                pc.setqf("duration",get_time() + 60*60*15) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<50 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ! ") 
                        say("Áõôü ôï Óçìåßùìá åßíáé êáëü. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñá Óçìåéþìáôá, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôçí ÝñåõíÜ ìïõ. ") 
                        say("") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Óçìåéþìáôá Áñ÷çãþí! ") 
                        say("") 
                        pc.setqf("drink_drug",0)  
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëá ôá Óçìåéþìáôá Áñ÷çãþí!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé Ýíá Ëßèï. ") 
                        say("Ôïí Ëßèï Øõ÷Þò ôùí Áñ÷çãþí. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôüí ôïí Ëßèï; ") 
                        say("") 
                        say_reward("Ìðïñåßò íá ôïí ðÜñåéò áðü Boss. ") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0)  
                        set_state(collect_bossKey) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ôï Óçìåßùìá ") 
                    say("êáôáóôñÜöçêå êáôÜ ôéò Ýñåõíåò ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ Ýíá ") 
                    say("Üëëï Óçìåßùìá Áñ÷çãþí! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("Äåí Ý÷ù ìåëåôÞóåé áêüìá ôï Óçìåßùìá ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 15 ¿ñåò. ") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_bossKey begin 
        when letter begin 
            send_letter("Ëßèïò Øõ÷Þò ôùí Áñ÷çãþí ") 
        end 
        when button or info begin 
            say_title("Ëßèïò Øõ÷Þò ôùí Áñ÷çãþí ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôá 50 Óçìåéþìáôá Áñ÷çãþí. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá âñåéò ") 
            say("ôïí Ëßèï Øõ÷Þò ôùí Áñ÷çãþí! ") 
            say("") 
            say_item_vnum(30227) 
            say("Ëåò íá ðåñéÝ÷åé áõôüò ï ëßèïò ") 
            say("ôçí Øõ÷Þ ôùí Áñ÷çãþí; ") 
            say("") 
        end 
        when 591.kill or 691.kill or 791.kill or 793.kill or 991.kill or 992.kill or 993.kill or 1091.kill or 1092.kill or 1093.kill or 1304.kill or 
             1403.kill or 2091.kill or 2191.kill or 2206.kill or 2207.kill or 2306.kill or 2493.kill or 2494.kill or 5001.kill or 5004.kill or 
             5161.kill or 5162.kill or 5163.kill begin 
            if pc.count_item(30227)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(30227, 1) 
                end 
            end     
        end 
        when 20084.chat."Ëßèïò Øõ÷Þò ôùí Áñ÷çãþí " begin 
            if pc.count_item(30227)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óáò, êáôáëáâáßíù ôþñá ") 
                say("ôï ìýèï ôïõ Ëßèïõ Øõ÷Þò ôùí Áñ÷çãþí. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(30227,1) 
                set_state(bossKey_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ýöåñåò ôá 50 Óçìåéþìáôá Áñ÷çãþí... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôïí Ëßèï Øõ÷Þò ôùí Áñ÷çãþí. ") 
                say("Áõôüí ìðïñåßò íá ôï ðÜñåéò áðü Boss ")     
                  say("üðùò ôá Óçìåéþìáôá. ")  
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")  
                say("")         
            end 
        end 
    end 
    state bossKey_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôéò Ðëçñïöïñßåò ") 
            say("ðïõ ðÞñå áðÜ ôá Óçìåéþìáôá êáé ôïí Ëßèï Øõ÷Þò ") 
            say("óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï! ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ,ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Ôá÷ýôçôá Êßíçóçò +5% (Ìüíéìá) ") 
            say_reward("Ôá÷ýôçôá Åðßèåóçò +5% (Ìüíéìá) ") 
            say_reward("Ìåßùóç ÆçìéÜò +5% (Ìüíéìá) ") 
            say_reward("Áîßá Åðßèåóçò +50 (Ìüíéìá) ") 
            say_reward("Ìßá Óöñáãßäá Ëéïíôáñéïý ") 
            say("") 
            affect.add_collect(apply.MOV_SPEED, 5, 60*60*24*365*60) 
            affect.add_collect(apply.ATT_SPEED, 5, 60*60*24*365*60) 
            affect.add_collect(apply.ATT_GRADE_BONUS,25,60*60*24*365*60) 
            affect.add_collect(apply.DEF_GRADE_BONUS,5,60*60*24*365*60) 
            pc.give_item2("71124")  
            set_state(collect_quest_lv100) 
        end 
    end 

    ---------------------------------- 
    -- LvL 100 / Tofusteak 
    ---------------------------------- 
    state collect_quest_lv100 begin 
        when login or levelup with pc.level>99 begin 
            set_state(talk_to_disciple_lv100) 
        end     
    end 
    state talk_to_disciple_lv100 begin 
        when letter begin 
            local v = find_npc_by_vnum(20084) 
            if v != 0 then target.vid("__TARGET__", v, "Biologe") 
            end 
            send_letter("Ôï ÐÜñôõ ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ôï ÐÜñôõ ôïõ Âéïëüãïõ ") 
            say("") 
            say("Ï Âéïëüãïò ×ñåéÜæåôáé êáé ðÜëé ôçí âïÞèåéá óïõ! ") 
            say("×ñåéÜæåôáé âïÞèåéá ãéá íá âñåéò ") 
            say("êÜðïéá óõãêåêñéìÝíá áíôéêåßìåíá. ") 
            say("ÐÞãáéíå óå áõôüí, ") 
            say("ãéá íá óïõ ðåé ôé èÝëåé! ") 
            say("") 
            say_reward("ÐÞãáéíå óôïí Âéïëüãï! ") 
            say("") 
        end 
        when __TARGET__.target.click or 20084.chat."Ìðñéæüëåò Ôüöïõ " begin 
            target.delete("__TARGET__") 
            say("Âéïëüãïò: ") 
            say("Ç ÌåëÝôç ãéá ôá Óçìåéþìáôá Áñ÷çãþí ") 
            say("Ý÷åé ôåëåßùóåé! ") 
            say("Ôþñá üìùò ÷ñåéÜæïìáé êÜðïéá íÝá ") 
            say("Áíôéêåßìåíá, ç êïðÝëá ðïõ Ý÷åé ") 
            say("ôï Ãåíéêü ÊáôÜóôçìá Ý÷åé ÃåíÝèëéá ") 
            say("êáé åãþ èá äéïñãáíþóù ôï ðÜñôõ! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("Èá ðÞãáéíá íá ôá ìáæÝøù ìüíïò ìïõ, ") 
            say("áëëÜ Ý÷ù ðÜñá ðïëëÜ íá êÜíù... ") 
            say("×ñåÜæïìáé Ìðñéæüëåò Ôüöïõ ") 
            say("ãéá ôïõò ÊáëåóìÝíïõò óå ðáñáêáëþ  ") 
            say("âïÞèçóå ìå êáé èá óå áíôáìåßøù! ") 
            wait() 
            say("Âéïëüãïò: ") 
            say("ÈÝëù íá ìáãåéñÝøù Ìðñéæüëåò Ôüöïõ. ") 
            say("÷ñåéÜæïìáé 35 ÔåìÜ÷éá! ") 
            say("Ùóôüóï ïé Ìðñéæüëåò ìðïñåß íá ìçí ") 
            say("åßíáé êáëÝò êáé ìåñéêÝò ìðïñåß íá êáïýí ") 
            say("ôçí þñá ðïõ èá ôéò ìáãåéñåýù! ")   
            say("") 
            set_state(collect_tofu) 
            pc.setqf("duration",0) 
            pc.setqf("collect_count",0) 
            pc.setqf("drink_drug",0)  
        end 
    end 
    state collect_tofu begin 
        when letter begin 
            send_letter("Ôï ÐÜñôõ ôïõ Âéïëüãïõ ") 
        end 
        when button or info begin 
            say_title("Ìðñéæüëåò Ôüöïõ ") 
            say("") 
            say("Ï Âéïëüãïò óïõ æÞôçóå íá ìáæÝøåéò, ") 
            say("35 Ìðñéæüëåò Ôüöïõ ìðïñåßò íá ôá ðÜñåéò ") 
            say("áðü ôïõò Åêáôü Ãßãá ÐïëåìéóôÝò óôçí Ãç ôùí ÃéãÜíôùí! ") 
            say("ÊáëÞ Ôý÷ç! ") 
            say("") 
            say_item_vnum(30068) 
            say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Ìðñéæüëåò Ôüöïõ! ") 
            say("") 
        end 
         
        when 71035.use begin  
            if get_time() < pc.getqf("duration") then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åé Ýñèåé áêüìá ï ÷ñüíïò ") 
                say("ãéá íá äþóåéò Ìðñéæüëåò Ôüöïõ êáé äåí ") 
                say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                return 
            end 
             if pc.getqf("drink_drug")==1 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("¸÷åéò ÷ñçóéìïðïéÞóåé Þäç Ýíá ÅëéîÞñéï! ") 
                say("") 
                return 
            end 
            if pc.count_item(30166)==0 then 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("Äåí Ý÷åéò Ìðñéæüëåò Ôüöïõ êáé äåí ") 
                 say("ìðïñåßò íá ÷ñçóéìïðïéÞóåéò ôï ÅëéîÞñéï! ") 
                 say("") 
                 return 
              end 
                say_title("Âéïëüãïò: ") 
                say("") 
                say("×ñçóéìïðïéÞóåò Ýíá ÅëéîÞñéï ïé ") 
                say("ðéèáíüôçôåò íá åßíáé êáëÞ áíÝâçêáí ") 
                say("êáôÜ ðïëõ! ") 
                pc.remove_item(71035,1) 
                pc.setqf("drink_drug",1) 
                end 
        when 1603.kill begin 
            local rand = number(0,99) 
            if rand<5 then pc.give_item2(30068, 1) 
            end 
        end 
        when 20084.chat."Ìðéæüëá Ôüöïõ " with pc.count_item(30068)>0 begin 
            if get_time()>pc.getqf("duration") then 
                say("Ù! Ìïõ Ýöåñåò ìßá Ìðñéæüëá Ôüöïõ. ") 
                say("Åõ÷áñéóôþ ðïëý!!! ") 
                say("Ðñåðåé íá ôçí åîÝôáóù ðñùôá ... ") 
                say("Ðåñßìåíå Ýíá ëåðôü! ") 
                say("") 
                pc.remove_item("30068", 1) 
                pc.setqf("duration",get_time() + 60*60*18) 
                wait() 
                local pass_percent 
                if pc.getqf("drink_drug")==0 then 
                    pass_percent=50 
                else 
                    pass_percent=90 
                end 

                local s= number(1,100) 
                if s<= pass_percent  then 
                    local count = pc.getqf("collect_count")+1 
                    if count<35 then 
                        pc.setqf("collect_count", count) 
                        say("Âéïëüãïò: ") 
                        say("ÅîáéñåôéêÜ! ") 
                        say("ÁõôÞ ç Ìðñéæüëá åßíáé êáëÞ. ") 
                        say("ÖÝñå ìïõ óå ðáñáêáëþ ðåñéóóüôåñåò Ìðñéæüëåò, ") 
                        say("þóôå íá ìðïñÝóù íá ïëïêëçñþóù ôï Öáãçôü . ") 
                        say("ãéá ôï ÐÜñôõ! ") 
                        say_reward("¸÷åéò ìáæÝøåé "..pc.getqf("collect_count").." Ìðñéæüëåò Ôüöïõ! ") 
                        say("") 
                        pc.setqf("drink_drug",0)  
                    else  
                        say("Âéïëüãïò: ") 
                        say("Óõã÷áñçôÞñéá!! ") 
                        say("ÌÜæåøåò üëåò ôéò Ìðñéæüëåò Ôüöïõ!! ") 
                        say("Ôþñá üìùò ÷ñåéÜæïìáé ìßá Áðüäåéîç. ") 
                        say("Ôçí Áðüäåéîç ôùí Áñ÷Üñéùí. ") 
                        say("Ìðïñåßò íá ìïõ öÝñåéò áõôÞí ôïí Áðüäåéîç; ") 
                        say("") 
                        say_reward("Ìðïñåßò íá ôçí ðÜñåéò óôçí Ãç ôùí ÃéãÜíôùí ") 
                        say_reward("áðü ôïí Ãßãáíôá ×ßëéïé Ìá÷çôÝò. ") 
                        say("") 
                        pc.setqf("collect_count",0) 
                        pc.setqf("duration",0)  
                        pc.setqf("drink_drug",0) 
                        set_state(collect_recipe) 
                    end 
                else                                 
                    say("Âéïëüãïò: ") 
                    say("ËõðÜìáé, áëëÜ ç Ìðñéæüëá ") 
                    say("êÜçêå êáôÜ ôï ìáãåßñåìá ìïõ. ") 
                    say("Óå ðáñáêáëþ öÝñå ìïõ ìßá ") 
                    say("Üëëç Ìðñéæüëá Ôüöïõ! ") 
                    pc.setqf("drink_drug",0)  
                end 
            else 
                say("Âéïëüãïò: ") 
                say("Äåí Ý÷ù ìáãåéñÝøåé áêüìá ôç Ìðñéæüëá ") 
                say("ðïõ ìïõ Ýöåñåò..... ") 
                say("Óå ðáñáêáëþ Ýëá óå 18 ¿ñåò. ") 
            if pc.count_item(50903) >0 then 
                    say("") 
                    say("¼ðùò âëÝðù Ý÷åéò ìéá Áðüäåéîç. ") 
                    say("Ìå áõôÞí ìðïñåßò íá åðçñåÜóåéò ôïí ") 
                    say("÷ñüíï êáé íá ìçí ðåñéìÝíåéò. ") 
                    say_reward("ÈÝëåéò íá åðçññåÜóåéò ôïí ÷ñüíï; ") 
                    local s = select("ÈÝëù íá åðçñåÜóù ôï ×ñüíï ", "ÐåñéìÝíù ÊáíïíéêÜ... ") 
                    if s == 1 then 
                        say("Ï ×ñüíïò åðçñåÜóôçêå åðéôõ÷þò! ") 
                        pc.setqf("duration",0) 
                        pc.remove_item(50903,1) 
                    end 
                end 
                return;     
            end 
        end 
    end 
    state collect_recipe begin 
        when letter begin 
            send_letter("Áðüäåéîç Áñ÷Üñéùí ") 
        end 
        when button or info begin 
            say_title("Áðüäåéîç Áñ÷Üñéùí ") 
            say("") 
            say("ÓõãêÝíôñùóåò ôéò 35 Ìðñéæüëåò Ôüöïõ. ") 
            say("Ôþñá ëïéðüí ðñÝðåé íá ìïõ ") 
            say("öÝñåéò ôçí Áðüäåéîç ôùí Áñ÷Üñéùí. ") 
            say("") 
            say_item_vnum(50902) 
            say("Ç Áðüäåéîç Áñ÷Üñéùí ") 
            say("ðåñéÝ÷åé ìßá ÌõóôéêÞ ÓõíôáãÞ! ") 
        end 
        when 1403.kill begin 
            if pc.count_item(50902)<1 then 
                local rand = number(0,99) 
                if rand<5 then pc.give_item2(50902, 1) 
                end 
            end     
        end 
        when 20084.chat."Áðüäåéîç Áñ÷Üñéùí " begin 
            if pc.count_item(50902)>0 then 
                say("Âéïëüãïò: ") 
                say("×Üñç óôç âïÞèåéÜ óïõ, ôþñá ") 
                say("ìðïñþ íá åôïéìÜóù ôï öáãçôü ãéá ôï ÐÜñôõ. ") 
                say("ÐïëÝìçóåò ðïëý óêëçñÜ. ") 
                say("ÐÞãáéíå óôïí Baek-Go êáé áõôüò èá ") 
                say("óå âïçèÞóåé íá áíáðôýîåéò ôéò ") 
                say("ÅóùôåñéêÝò óïõ ÄõíÜìåéò! ") 
                say("") 
                pc.remove_item(50902,1) 
                set_state(recipe_reward) 
            else 
                say("Âéïëüãïò: ") 
                say("Ìïõ Ýöåñåò ôéò 35 Ìðñéæüëåò Ôüöïõ... ") 
                say("ÁëëÜ ôþñá ÷ñåéÜæïìáé íá ìïõ öÝñåéò ") 
                say("ôçí Áðüäåéîç Áñ÷Üñéùí. ") 
                say("ÁõôÞí ìðïñåßò íá ôçí ðÜñåéò áðü ôïí Ãßãáíôá ")     
                 say("×ßëéïé Ìá÷ôçôÝò óôçí Ãç ôùí ÃéãÜíôùí. ")  
                say("Ðéóôåýù ðùò åßóáé áñêåôÜ äõíáôüò ") 
                say("ãéá íá ôá êáôáöÝñåéò! ")    
                say("") 
            end 
        end 
    end 
    state recipe_reward begin 
        when letter begin 
            send_letter("ÐÞãáéíå óôïí Baek-Go ") 
            local v = find_npc_by_vnum(20018) 
            if v != 0 then target.vid("__TARGET__", v, "Doktor") 
            end 
        end 
        when button or info begin 
            say_title("ÐÞãáéíå óôïí Baek-Go ") 
            say("Ï Âéïëüãïò ùò áíôáìïéâÞ ãéá ôç ÓõíôáãÞ ") 
            say("ðïõ ðÞñå áðÜ ôçí Áðüäåéîç Áñ÷Üñéùí êáé öáãçôü ") 
            say("ðïõ Ýöôéáîå áðü ôéò Ìðñéæüëåò Ôüöïõ. ") 
            say("Óïõ Ýäùóå ìßá óõíôáãÞ ãéá Ýíá ìõóôéêü ößëôñï. ") 
            say("ÐÞãáéíå óôïí Baek-Go, êáé áõôüò ") 
            say("èá äçìéïõñãÞóåé ôï Ìõóôéêü Ößëôñï! ") 
            say("") 
        end 
        when __TARGET__.target.click  or 20018.chat."Ç áíôáìïéâÞ ôïõ Âéïëüãïõ " begin 
            target.delete("__TARGET__") 
            say_title("Baek-Go:") 
            say("×ìì... ") 
            say("ÁõôÞ åßíáé ç óõíôáãÞ,ðïõ óïõ Ýäùóå; ") 
            say("Ùñßóôå Ëïßðïí ç ÁíôáìïéâÞ óïõ: ") 
            say("") 
            say_reward("¸ëáâåò: ") 
            say_reward("Ôá÷ýôçôá Êßíçóçò +5% (Ìüíéìá) ") 
            say_reward("Ôá÷ýôçôá Åðßèåóçò +5% (Ìüíéìá) ") 
            say_reward("Ìåßùóç ÆçìéÜò +5% (Ìüíéìá) ") 
            say_reward("MAX. HP +5000 (Ìüíéìá) ") 
            say_reward("Ëßèï ÏõñÜíéï Ôüîïõ ") 
            say_reward("Äá÷ôõëßäé ÁîéïðñÝðåéáò ") 
            say("") 
            affect.add_collect(apply.MOV_SPEED, 5, 60*60*24*365*60) 
            affect.add_collect(apply.ATT_SPEED, 5, 60*60*24*365*60) 
            affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60) 
            affect.add_collect(apply.MAX_HP, 5000, 60*60*24*365*60) 
            pc.give_item2("50512") 
            pc.give_item2("70025") 
            complete_quest() 
        end 
    end 
end

Thanks in Advance

Link to comment
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 8

      WaveSystem

    2. 0

      error: unable to find library

    3. 19

      Race Height of Actors

    4. 2

      How to add Chromium Embedded Browser ?

    5. 2

      How to add Chromium Embedded Browser ?

    6. 2

      How to add Chromium Embedded Browser ?

    7. 1

      Fish stack catch

  • Recently Browsing

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.