quest dark_or_light begin
state start begin
when login or levelup with pc.level >= 50 begin
set_state(information)
end
end
state information begin
when letter begin
local v = find_npc_by_vnum(20202)
if v != 0 then
target.vid("__TARGET__", v, "SarkanyIstenKutato")
end
send_letter("The choice")
end
when button or info begin
say_title("The choice!")
say("")
say("Go to the DragonGod researcher")
say("he has important information for you!")
end
when __TARGET__.target.click or
20202."A Választás" begin
target.delete("__TARGET__")
say("DragonGod researcher:")
say("")
say("Wellcome traveler!")
say("You are experienced enought, proven yourself worthy")
say("Thats why i'l talk about to cults now!")
say("In our realm two acient clans exist! One of the clans name is")
say("Warriors of Light, they follow the path of light,")
say("they live for hundreds of years and ")
say("try to maintain the balance in the world betwen good and evil")
say("They beliv in the DragonGods kindness and its mighty powers!")
wait()
say("Their marsal arts, and magic powers come strait from their God!")
say("The fact is that they are an acient clan and their powers are colossal!")
say("")
say("The other clans name is the Dark Powers, and they")
say("live by the rules of Dark powers, energys")
say("and dark mysteries")
say("their god came from these powers to, know as Bial")
say("ruler of Worlds!")
say("Their clan exists since acient times in our world,")
say("their powers are legendary!")
set_state(teleport)
end
end
state teleport begin
when letter begin
send_letter("The clans strongholds!")
end
when button or info begin
say("At the DragonGods researcher you can teleport to the strongholds!")
end
when 20202.chat."The clans strongholds" begin
say("I can teleport you to the two clans secret acient stronghold")
say("")
say("Teleporing here:")
local valasztas = select ("Warriors of Light", "Dark Powers", "Cancel" )
if valasztas==1 then
say("Teleporting to the acient city of the Warriors of Light!")
pc.warp(12892,279589)
elseif valasztas==2 then
say("Teleporting to the acient city of the Dark Powers!")
pc.warp(0,230400)
else
end
end
end
end