PHP Code:
quest test001 begin
state start begin
when letter with pc.get_level()>=80 begin
send_letter("Zu den neuen Maps")
end
when button or info begin
say_title("Zu den neuen Maps")
if pc.is_mount() then
say("Geht nicht wegen dem Pferd")
wait()
send_letter("Zur Metin Map")
return
end
say("Wohin willst du dich Teleportieren?")
local s = select("Map1", "Map2", "Metin Map", "Schlangenfeld", "Handelsmap", "Zombieland", "Weiter")
if s==7 then
local t = select ("SD3", "Land der Gnome", "Tal der Verfluchten", "Map der Hoffnung", "MetinEvent", "Zurück")
if s==1 then
local empire = pc.get_empire()
if empire == 1 then
pc.warp (469300 , 964200)
elseif empire == 2 then
pc.warp (55700, 157900)
elseif empire == 3 then
pc.warp (969600, 278400)
end
end
end
if s==2 then
local empire = pc.get_empire()
if empire == 1 then
pc.warp (353100, 882900)
elseif empire == 2 then
pc.warp (145500, 240000)
elseif empire == 3 then
pc.warp (863900, 246000)
end
end
if s==3 then
pc.warp (591207, 590905)
end
if s==4 then
pc.warp (1059608, 728286)
end
if s==5 then
pc.warp (912384594, 91246594)
end
if s==6 then
pc.warp (679772, 1192150)
end
if t==1 then
pc.warp (123495184, 123484277)
end
if t==2 then
pc.warp (134370, 1068854)
end
if t==3 then
pc.warp (605461, 1124886)
end
if t==4 then
pc.warp (28176741, 28202585)
end
if t==5 then
pc.warp (38330, 63967)
end
if t==6 then
send_letter("Zu den neuen Maps")
return
end
end
end
end






