Rina Tarzı Düzenlenebilir Quest - > Bilezikleri Değiştirip Kolye Küpe Kalkan Tarzı Ayarlayabilirsiniz İyi Kullanımlar.
( Açık Kaynak )
( Açık Kaynak )
Kod:
quest bilezik_craft begin
state start begin
function item_kontrol()
if pc.count_item(70029 ) < 10 then
return false
end
if pc.count_item(30202 ) < 10 then
return false
end
if pc.count_item(31057 ) < 10 then
return false
end
if pc.count_item(70022 ) < 10 then
return false
end
return true
end
function item_sil()
pc.remove_item(70029,10)
pc.remove_item(30202,10)
pc.remove_item(31057,10)
pc.remove_item(70022,10)
end
when 20092.take with item.vnum == 14209 begin
local oyuncu = pc.get_name()
if item.vnum == 14209 then
if bilezik_craft.item_kontrol() == false then
say_reward("Uzerindeki Eksikleri Kontrol ET. ")
say_reward("Tekrar Dene. ")
return
end
bilezik_craft.item_sil()
local sans = number(1,12)
if sans == 1 then
item.copy_and_give_before_remove(14507)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14507).." kazanmistir. ")
elseif sans == 2 then
item.copy_and_give_before_remove(14508)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14508).." kazanmistir. ")
elseif sans == 3 then
item.copy_and_give_before_remove(14509)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14509).." kazanmistir. ")
elseif sans == 4 then
item.copy_and_give_before_remove(14527)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14527).." kazanmistir. ")
elseif sans == 5 then
item.copy_and_give_before_remove(14528)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14528).." kazanmistir. ")
elseif sans == 6 then
item.copy_and_give_before_remove(14529)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14529).." kazanmistir. ")
elseif sans == 7 then
item.copy_and_give_before_remove(14547)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14547).." kazanmistir. ")
elseif sans == 8 then
item.copy_and_give_before_remove(14548)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14548).." kazanmistir. ")
elseif sans == 9 then
item.copy_and_give_before_remove(14549)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14549).." kazanmistir. ")
elseif sans == 10 then
item.copy_and_give_before_remove(14567)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14567).." kazanmistir. ")
elseif sans == 11 then
item.copy_and_give_before_remove(14568)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14568).." kazanmistir. ")
elseif sans == 12 then
item.copy_and_give_before_remove(14569)
notice_all(oyuncu.." isimli oyuncumuz "..item_name(14569).." kazanmistir. ")
else
return
end
else
return
end
end
when 20092.chat."Altar Bilezik Donusumleri " begin
say_title("Altar Ozel NPC Bilezik Donusum: ")
say("")
say("Asagidaki itemler karsiligi donusum yapabilirim. ")
say("")
say("Altar System")
say_title("10 Adet Tuy Kalem")
say_title("10 Adet Seytan Kulagi")
say_title("10 Adet Ejder Pencesi")
say_title("10 Adet Vobanin Kalbi")
say("")
say("")
say_title("Basarili Olacaksin.")
wait()
say_title("Basarili Olacaksin")
say("")
say_title("Sansini Dene Yakut Grena Zumrut Safir Bileklik Uret!")
say_title("Gelistirdiginiz Zaman Efsunlar Tam Olarak Aktarilir. ")
say("")
say_reward("Donusturmek Istiyorsan Sadece Surukle.")
end
end
end