Tipologie server PvM Mediu
ServerFiles utilizat:2Metin
Syserr:----//----
Detalii suplimentare:
quest eveniment_iepuras begin
state start begin
when login begin
if game.get_event_flag("eveniment_Iepuras") == 1 then
chat("[EVENIMENT DE PASTE]: - ACTIVAT.")
end
end
when 30129.chat."Administrare eveniment" with pc.is_gm() begin
if game.get_event_flag("eveniment_paste") == 1 then
say_title("EVENIMENT PASTE:")
say(" ")
say("Doresti sa inchizi acest eveniment? ")
say(" ")
local confirma = select ("Da", "Nu acum")
if 1 == confirma then
notice_all("[EVENIMENT DE PASTE]: - TERMINAT.")
game.set_event_flag("eveniment_paste", 0)
return
end
end
if game.get_event_flag("eveniment_paste") == 0 then
say_title("EVENIMENT PASTE:")
say(" ")
say("Doresti sa deschizi acest eveniment? ")
say(" ")
local confirma = select ("Da", "Nu acum")
if 1 == confirma then
notice_all("[EVENIMENT DE PASTE]:- ACTIVAT.")
game.set_event_flag("eveniment_paste", 1)
return
end
end
end
when 30129.chat."Event de paste" with game.get_event_flag("eveniment_paste") == 1 begin
say_title("Iepuras:")
say(" ")
say("Saluare! Dupa cum poate stii astazi este ")
say("eventul de paste. Toti jucatorii cauta oua")
say("pentru a primi in schimbul oualor iteme ")
say("care ii vor ajuta in aventura lor pe ser- ")
say("ver. Asadar, daca gasesti oua ")
say("adu-mii mie pentru a-ti da la ")
say("schimb un premiu! ")
say(" ")
return
end
when 30129.take with item.vnum == 50160 and game.get_event_flag("eveniment_paste") == 1 begin
say_title("Iepuras :")
say(" ")
say("Oh, se pare ca ai gasit ceva oua. Ei bi-")
say("ne, dupa cum ti-am promis iti voi da in ")
say("schimbul lor un premiu. Doresti sa facem ")
say("schimbul? ")
say(" ")
local confirmare = select ("Desigur", "Nu")
if 1 == confirmare then
pc.remove_item(50160, 10)
pc.give_item2(50125, 1)
return
end
if 2 == confirmare then
return
end
end
when 30129.take with item.vnum == 50162 and game.get_event_flag("eveniment_paste") == 1 begin
say_title("Iepuras:")
say(" ")
say("Oh, se pare ca ai gasit ceva oua. Ei bi-")
say("ne, dupa cum ti-am promis iti voi da in ")
say("schimbul lor un premiu. Doresti sa facem ")
say("schimbul? ")
say(" ")
local confirmare = select ("Desigur", "Nu")
if 1 == confirmare then
pc.remove_item(50161, 10)
pc.give_item2(50125, 1)
return
end
if 2 == confirmare then
return
end
end
end
end
state start begin
when login begin
if game.get_event_flag("eveniment_Iepuras") == 1 then
chat("[EVENIMENT DE PASTE]: - ACTIVAT.")
end
end
when 30129.chat."Administrare eveniment" with pc.is_gm() begin
if game.get_event_flag("eveniment_paste") == 1 then
say_title("EVENIMENT PASTE:")
say(" ")
say("Doresti sa inchizi acest eveniment? ")
say(" ")
local confirma = select ("Da", "Nu acum")
if 1 == confirma then
notice_all("[EVENIMENT DE PASTE]: - TERMINAT.")
game.set_event_flag("eveniment_paste", 0)
return
end
end
if game.get_event_flag("eveniment_paste") == 0 then
say_title("EVENIMENT PASTE:")
say(" ")
say("Doresti sa deschizi acest eveniment? ")
say(" ")
local confirma = select ("Da", "Nu acum")
if 1 == confirma then
notice_all("[EVENIMENT DE PASTE]:- ACTIVAT.")
game.set_event_flag("eveniment_paste", 1)
return
end
end
end
when 30129.chat."Event de paste" with game.get_event_flag("eveniment_paste") == 1 begin
say_title("Iepuras:")
say(" ")
say("Saluare! Dupa cum poate stii astazi este ")
say("eventul de paste. Toti jucatorii cauta oua")
say("pentru a primi in schimbul oualor iteme ")
say("care ii vor ajuta in aventura lor pe ser- ")
say("ver. Asadar, daca gasesti oua ")
say("adu-mii mie pentru a-ti da la ")
say("schimb un premiu! ")
say(" ")
return
end
when 30129.take with item.vnum == 50160 and game.get_event_flag("eveniment_paste") == 1 begin
say_title("Iepuras :")
say(" ")
say("Oh, se pare ca ai gasit ceva oua. Ei bi-")
say("ne, dupa cum ti-am promis iti voi da in ")
say("schimbul lor un premiu. Doresti sa facem ")
say("schimbul? ")
say(" ")
local confirmare = select ("Desigur", "Nu")
if 1 == confirmare then
pc.remove_item(50160, 10)
pc.give_item2(50125, 1)
return
end
if 2 == confirmare then
return
end
end
when 30129.take with item.vnum == 50162 and game.get_event_flag("eveniment_paste") == 1 begin
say_title("Iepuras:")
say(" ")
say("Oh, se pare ca ai gasit ceva oua. Ei bi-")
say("ne, dupa cum ti-am promis iti voi da in ")
say("schimbul lor un premiu. Doresti sa facem ")
say("schimbul? ")
say(" ")
local confirmare = select ("Desigur", "Nu")
if 1 == confirmare then
pc.remove_item(50161, 10)
pc.give_item2(50125, 1)
return
end
if 2 == confirmare then
return
end
end
end
end






