svfile metin2 hope v3
---
Am acest quest cu cufar_ucenic si primesc cufarul de 2 ori..
EDIT: Daca am acest quest, imi apare direct in inventar cufarul ? sau trebuie sa adaug eu cufarul in welcome.lua ?
quest cufar_ucenic begin
state start begin
when 50187.use begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
pc.give_item2(50512,1)
end
------------------------------------------------------------------------------------------
when 50188.use with pc.get_level() >= 10 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
end
-------------------------------------------------------------------------------------------
when 50189.use with pc.get_level() >= 20 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
end
-------------------------------------------------------------------------------------------
when 50190.use with pc.get_level() >= 30 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
pc.give_item2(50512,1)
end
-------------------------------------------------------------------------------------------
when 50191.use with pc.get_level() >= 40 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50192, 1)
pc.remove_item(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
end
-------------------------------------------------------------------------------------------
when 50192.use with pc.get_level() >= 50 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.remove_item(50192, 1)
pc.remove_item(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(50193, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
end
-------------------------------------------------------------------------------------------
when 50193.use with pc.get_level() >= 60 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50194, 1)
pc.remove_item(50193, 1)
pc.remove_item(50192, 1)
pc.remove_item(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
pc.give_item2(50512,1)
end
-------------------------------------------------------------------------------------------
when 50194.use with pc.get_level() >= 70 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50195, 1)
pc.remove_item(50194, 1)
pc.remove_item(50193, 1)
pc.remove_item(50192, 1)
pc.remove_item(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
end
-------------------------------------------------------------------------------------------
when 50195.use with pc.get_level() >= 80 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.give_item2(50196, 1)
pc.remove_item(50195, 1)
pc.remove_item(50194, 1)
pc.remove_item(50193, 1)
pc.remove_item(50192, 1)
pc.remove_item(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
end
-------------------------------------------------------------------------------------------
when 50196.use with pc.get_level() >= 90 begin
if pc.get_empty_inventory_count() <= 10 then
syschat("Ai inventarul plin. Arunca ceva din inventar.")
return
end
pc.remove_item(50196, 1)
pc.remove_item(50195, 1)
pc.remove_item(50194, 1)
pc.remove_item(50193, 1)
pc.remove_item(50192, 1)
pc.remove_item(50191, 1)
pc.remove_item(50190, 1)
pc.remove_item(50189, 1)
pc.remove_item(50188, 1)
pc.remove_item(50187, 1)
pc.give_item2(71084,200)
pc.give_item2(71085,200)
pc.give_item2(72726,1)
pc.give_item2(72730,1)
pc.give_item2(70024,10)
pc.give_item2(70005,1)
pc.give_item2(50512,1)
end
-------------------------------------------------------------------------------------------
end
end





