Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest zbroja begin
- state start begin
- when 14049.chat."Chce stworzyć Zbroje" begin
- if pc.get_level() >= 80 then
- say("Bedziemy robic Zbroje")
- say("Do zrobienia Hwanga")
- say("bedziesz potrzebowac:")
- say_reward("10x Recepte na Zbroje")
- say_reward("200x Czesc Zbroi")
- say_reward("10x Szmaragd")
- say_reward("2x Wartosciowa Moneta")
- say_reward("1x Szmaragd Wojownika +9")
- say_reward("1x Szmaragd Ninjy +9")
- say_reward("1x Szmaragd Sury +9")
- say_reward("1x Szmaragd Szamana +9")
- wait()
- say("Masz juz wszystko?")
- say("Nie bedzie juz odwrotu!")
- say("Jestes pewien?!")
- say_reward("")
- say("Szansa 90%")
- local s=select("Tak","Nie")
- if s==1 then
- if pc.count_item(71104)>=200 and pc.count_item(69201)>=10 and pc.count_item(71119)>=10 and pc.count_item(90000)>=2 and pc.count_item(42009)>=1 and pc.count_item(44009)>=1 and pc.count_item(46009)>=1 and pc.count_item(48009)>=1 then
- say("Wybierz Zbroje:")
- pc.remove_item(11899)
- local a=select ("1.Wojownik","2.Ninja","3.Sura","4.Szaman")
- if a==1 then
- say("Sprawdzmy czy przedmioty ktore mi przyniosles nadaja sie do zrobienia zbroi!")
- wait()
- local w=number(1,100)
- if w<=90 then
- say("Udalo sie!")
- say("Masz tu swoja zbroje.")
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- pc.give_item2(11971)
- else
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- say("Niestety przedmioty byly slabej jakosci")
- say("Przynies ponownie nowe.")
- return
- end
- end
- if a==2 then
- say("Sprawdzmy czy przedmioty ktore mi przyniosles nadaja sie do zrobienia zbroi!")
- wait()
- local w=number(1,100)
- if w<=90 then
- say("Udalo sie!")
- say("Masz tu swoja zbroje.")
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- pc.give_item2(11972)
- else
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- say("Niestety przedmioty byly slabej jakosci")
- say("Przynies ponownie nowe.")
- return
- end
- end
- if a==3 then
- say("Sprawdzmy czy przedmioty ktore mi przyniosles nadaja sie do zrobienia zbroi!")
- wait()
- local w=number(1,100)
- if w<=90 then
- say("Udalo sie!")
- say("Masz tu swoja zbroje.")
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- pc.give_item2(11973)
- else
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- say("Niestety przedmioty byly slabej jakosci")
- say("Przynies ponownie nowe.")
- return
- end
- end
- if a==4 then
- say("Sprawdzmy czy przedmioty ktore mi przyniosles nadaja sie do zrobienia zbroi!")
- wait()
- local w=number(1,100)
- if w<=90 then
- say("Udalo sie!")
- say("Masz tu swoja zbroje.")
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- pc.give_item2(11974)
- else
- pc.remove_item(71104,200)
- pc.remove_item(71119,10)
- pc.remove_item(69201,10)
- pc.remove_item(90000,2)
- pc.remove_item(42009)
- pc.remove_item(44009)
- pc.remove_item(46009)
- pc.remove_item(48009)
- say("Niestety przedmioty byly slabej jakosci")
- say("Przynies ponownie nowe.")
- return
- end
- end
- else
- say("Nie masz wystarczajacej illosci przedmiotow")
- end
- end
- if s==2 then
- say("Przyjdz jak bedziesz mial wszystko!")
- end
- else
- say("Z pieca moga korzystać osoby")
- say("Majace 80lvl+")
- say("")
- say("Wroc jak zdobedziesz wystarczajacy poziom")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement