quest Futbol_quest begin
state start begin
when 20095.chat."Futbol" with pc.is_gm ( ) begin
if game.get_event_flag ( "Futbol_quest" ) == 0 then
say_title ( "Futbol event" )
say ( "AKTIF?" )
local ysno = select ( "Evet" , "Hayr" )
if ysno == 1 then
game.set_event_flag ( "Futbol_quest" , 1 )
notice_all ( "Futbol topu eventi aktif edildi! " )
notice_all ( "Çıkabilir; efsun nesnesi, kutsama küresi," )
notice_all ( "kısacası nesne market ürünleri beleş!" )
notice_all ( "Her seviyene uygun yaratıkdan düşürebilirsin!" )
notice_all ( "20 adet futbol topu biriktirdiğinde Demirciden dönüştürebilirsin." )
end
else
say_title ( "Futbol event" )
say ( "Ay eventi kapatak?" )
local yesno = select ( "Evet" , "Hayr" )
if yesno == 1 then
game.set_event_flag ( "Futbol_quest" , 0 )
notice_all ( "Futbol topu eventi bitti! " )
end
end
end
when kill with game.get_event_flag ( "Futbol_quest" ) == 1 begin
if math.random ( 1 , 7000 ) < 105 then
local itmrnd = math.random ( 1 , 1 )
if itmrnd == 1 then
pc.give_item2 ( 50096 , 1 )
end
end
end
end
end