Quest Craciun functional !

Închis
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

Salut , astazi am sa va ofer quest-ul de craciun facut de mine(sa functioneze)
Quest:

Cod: Selectaţi tot

quest santa begin 
    state start begin 
        when 20126.chat."Event de Craciun: Panoul de control" with pc.is_gm() begin 
            say_title("Eventul de craciun:") 
            if game.get_event_flag("xmas")==0 then 
                say("Eventul de craciun este oprit.") 
                say("Vrei sa il pornesti?") 
                local s1 = select("Da", "Nu") 
                if s1 == 1 then 
                    say("Eventul a fost oprit!") 
                    game.set_event_flag("xmas", 1) 
                    notice_all("Eventul de craciun tocmai ce a inceput") 
                    notice_all("Incepand de acum puteti dropa") 
                    notice_all("Sosete la toti monstrii")
                    notice_all("Metin2NeTher va ureaza")
               notice_all("Sarbatori fericite tuturor")
               command("e xmas_snow 1")
               command("e xmas_song 1")
                else 
                    return 
                end 
            else 
                say("Eventul de craciun este pornit") 
                say("Vrei sa il opresti?") 
                local s2 = select("Da", "Nu") 
                if s2 == 1 then 
                    say("Eventul a fost pornit!") 
                    game.set_event_flag("xmas", 0) 
                    notice_all("Eventul de craciun a luat sfarsit")
               notice_all("Speram ca ati castigat premii folositoare")
               command("e xmas_snow 0")
               command("e xmas_song 0")
                end 
            end 
        end 
        when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
            local drop = number(1, 75) 
            if drop == 1 then 
                game.drop_item_with_ownership(50010, 1) 
            elseif drop == 2 then 
                game.drop_item_with_ownership(50010, 1) 
            elseif drop == 3 then 
                game.drop_item_with_ownership(50010, 1) 
            end 
        end 
        when 20126.chat."Sosete" begin 
            say_title("Mos Craciun") 
            if pc.count_item(50010) <= 4 then 
                say("Salut ".. pc.get_name()) 
                say("Am o mica problema ... nu stiu cum sa iti spun") 
                say("dar din greseala mi-am pierdut toate sosetele!") 
                say("De fapt vroiam sa le umplu cu cadouri si sa") 
                say("le dau copiilor ... dar acum ...")  
                wait() 
                say("Daca gasesti sosetele te rog sa mi le aduci.") 
                say("Vei primi si o recompensa pentru ele!")
            say("Metin2Nether>www.metin2nether.tk")
            say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
            else 
                say("Ach mi-ai gasit sosetele?") 
                say("Ce frumos!Mi le poti da?") 
                say("Vei primi o recompensa") 
                say("in schimb!") 
                local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
                if s3 == 1 then 
                    say_title("Mos craciun:") 
                    say("Iti multumesc mult!") 
                    say("Stai sa caut in sac") 
                    say("sa vad ce am pentru") 
               say("tine ...")
                    wait() 
                    local beutel = number(1, 5) 
                    if beutel == 1 then 
                        say("Ce frumos!Ai primit Ren salbatic ") 
                        pc.give_item2(52070, 1)
                        pc.remove_item(50010, 5)
                    elseif beutel == 2 then 
                        say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
                        pc.give_item2(50011, 15) 
                        pc.remove_item(50010, 5)
                    elseif beutel == 3 then 
                        say("Ce frumos!Ai primit Piatra spiritului") 
                        pc.give_item2(50513, 1)
                        pc.remove_item(50010, 5)
                    elseif beutel == 4 then 
                        say("Ce frumos!Ai primit Dragon tanar") 
                        say("Succes") 
                        pc.give_item2(52091, 1)
                        pc.remove_item(50010, 5)
                    else 
                        say("Ce frumos!Ai primit Masca Om de Zapada") 
                        say("Succes") 
                        pc.give_item2(45174, 1)
                        pc.remove_item(50010, 5)
                    end 
                end 
            end 
        end 
    end 
end
Pentru acest mesaj, PiColo a primit 5 (de) mulţumiri
Quatro • dndwow1 • RajeshIndian • nexus72 • CreatiN
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
MT2Enygme
Nou Venit

Nou Venit
Mesaje: 18
Membru din: 06 Feb 2016, 18:47
Server: MT2Enygme
Regat: Jinno
Aprecieri: 0
Mulţumiri: 2  
Medalii

Bravo pentru munca depusă!
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

MT2Enygme scrie:Bravo pentru munca depusă!
Multumesc !
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
CrackDereckk
Nou Venit

Nou Venit
Mesaje: 1
Membru din: 28 Ian 2016, 20:44
Server: akron2
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
Medalii

+1
Avatar utilizator
PiColo
Nivel 4

Nivel 4
Mesaje: 734
Membru din: 21 Sep 2015, 19:03
Server: Metin2NeTher
Regat: Jinno
Aprecieri: 86  
Mulţumiri: 16  
Discord: Copiază ID
 Contact:
Medalii

CrackDereckk scrie:+1
Multumesc !
UP
DISCORD: PiColo#4586(RASPUND CEL MAI RAPID)
SKYPE: Metin2NeTher
FACEBOOK: https://www.facebook.com/Metin2NeTher-104745268168519
Afișează semnătura
Avatar utilizator
Ankhed
Fost Super Ad Moderator

Fost Super Ad Moderator
Mesaje: 2130
Membru din: 22 Noi 2015, 13:00
Aprecieri: 42  
Mulţumiri: 45  
 Contact:
Medalii

Mai este postat, cos

[ Postat de pe iPhone ] Imagine
Imagine
Afișează semnătura
Închis
Răspunsuri
1
Vizualizări
196
Răspunsuri
2
Vizualizări
513
Răspunsuri
2
Vizualizări
519

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 10 vizitatori