quest dragon_lair_access begin
state start begin
when 30121.chat."Chcę pokonać Smoka" begin
say_title("Duch Sura : ")
say("")
say("Przenosie Cię do komnaty Smoka., ")
say("Lecz musisz dostarczyć 5x Kręty Klucz. ")
say("")
say_item("Kręty Klucz",30179,"")
say("")
local s = select ( "Pokaż klucze", "Wyjdz" )
if s == 2 then
return
elseif s == 1 then
if pc.count_item(30179) >= 5 then
say_title("Duch Sura :")
say("")
say("Zdobyłeś wszystkie Klucze.")
say("Zostaniesz przeniesiony do Komnaty Smoka")
pc.warp(819200, 1049600)
pc.remove_item(30179, 5)
else
say("Nie posiadasz 5x "..item_name(30179))
say("")
say_item("Kręty Klucz",30179,"")
say("")
end
end
end
when 2493.party_kill with pc.get_map_index() >= 819200 and pc.get_map_index() < 1049600 begin
timer("Exit_Z", 30)
d.notice("Gratulacje!")
d.notice("Beran-Setaou został pokonany!")
d.notice("Za 30 sekund zostaniesz przeniesiony do Pierwszego Miasta!")
end
when Exit_Z.timer begin
d.kill_all()
d.exit_all()
end
end
end
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}