Acesta e questul
quest puntos_metin begin
state start begin
when 8058.kill begin
local metin = {
[8058] = {1,"Metinul de Gheata"},
}
pc.give_item2("30157",metin[npc.get_race()][1])
chat("Ai distrus un "..metin[npc.get_race()][2]..", obti "..metin[npc.get_race()][1].." puncte!")
end
when 33008.chat."Premii cu puncte FARM MAP!" begin
say_title("Premii cu puncte FARM MAP!")
say("")
say("Salut "..pc.get_name().." aici poti sa cheltuiesti punctele tale")
say("care le poti castiga distrugand")
say("metinele care le vei gasi pe server!")
say("")
say("Fiecare metin iti va da 1 punct")
say("In acest moment ai "..pc.count_item("30157").." puncte")
say("")
say("Ce vrei sa faci?")
say("")
local canj = select ("Cumpara" , "Iesire")
if canj == 1 then
say_title("Premi cu puncte FARM MAP!")
say("")
local elegir = select("Perla Alba","Perla Albastra","Perla Rosie","5 Bonus","Panda","Metal Magic","Cec 1,5kkk","Costum Rosu (M)","Costum Rostu (F)"."Costum Verde (M)","Costum Verde (F)","Urmatorul")
local premios = {
{27992,1,30157,5},
{27993,1,30157,5},
{27994,1,30157,5},
{70024,1,30157,10},
{71142,1,30157,25},
{25041,1,30157,50},
{100240,1,30157,400}
}
if elegir != 8 then
if pc.count_item(premios[elegir][3]) < premios[elegir][4] then
say_title("Premii cu puncte FARM MAP!")
say("")
say("Imi pare rau, dar nai punctele necesare")
say("pentru a cumpara acest item")
say("")
say("Mai ai nevoie de "..premios[elegir][4]-pc.count_item(premios[elegir][3]).." pentru al cumpara")
say("revino cand ai toate punctele necesare")
say("")
return
pc.give_item2(premios[elegir][1],premios[elegir][2])
pc.remove_item(premios[elegir][3],premios[elegir][4])
end
end
end
end
end
state start begin
when 8058.kill begin
local metin = {
[8058] = {1,"Metinul de Gheata"},
}
pc.give_item2("30157",metin[npc.get_race()][1])
chat("Ai distrus un "..metin[npc.get_race()][2]..", obti "..metin[npc.get_race()][1].." puncte!")
end
when 33008.chat."Premii cu puncte FARM MAP!" begin
say_title("Premii cu puncte FARM MAP!")
say("")
say("Salut "..pc.get_name().." aici poti sa cheltuiesti punctele tale")
say("care le poti castiga distrugand")
say("metinele care le vei gasi pe server!")
say("")
say("Fiecare metin iti va da 1 punct")
say("In acest moment ai "..pc.count_item("30157").." puncte")
say("")
say("Ce vrei sa faci?")
say("")
local canj = select ("Cumpara" , "Iesire")
if canj == 1 then
say_title("Premi cu puncte FARM MAP!")
say("")
local elegir = select("Perla Alba","Perla Albastra","Perla Rosie","5 Bonus","Panda","Metal Magic","Cec 1,5kkk","Costum Rosu (M)","Costum Rostu (F)"."Costum Verde (M)","Costum Verde (F)","Urmatorul")
local premios = {
{27992,1,30157,5},
{27993,1,30157,5},
{27994,1,30157,5},
{70024,1,30157,10},
{71142,1,30157,25},
{25041,1,30157,50},
{100240,1,30157,400}
}
if elegir != 8 then
if pc.count_item(premios[elegir][3]) < premios[elegir][4] then
say_title("Premii cu puncte FARM MAP!")
say("")
say("Imi pare rau, dar nai punctele necesare")
say("pentru a cumpara acest item")
say("")
say("Mai ai nevoie de "..premios[elegir][4]-pc.count_item(premios[elegir][3]).." pentru al cumpara")
say("revino cand ai toate punctele necesare")
say("")
return
pc.give_item2(premios[elegir][1],premios[elegir][2])
pc.remove_item(premios[elegir][3],premios[elegir][4])
end
end
end
end
end







