Alle Kords drinne geht trd net ^^
PHP Code:
quest clientquest_test begin
state start begin
when button or info begin
say_title(item.get_name())
local art = select("Normale Maps", "Dungeons", "Farmmaps","Abbrechen")
if art == 1 then
warpring.normmaps1()
elseif art == 2 then
warpring.dungeons()
elseif art == 3 then
warpring.farmmaps()
else
return
end
end
function normmaps1()
say_title(item.get_name().." : Normale Maps")
local normmaps1 = select("Map 1","Map 2","Ork Tal","Wüste","Eisland","Weiter","Zurück")
if normmaps1 == 1 then
local warps = {
[1] = 474200, 954400, -- rotes reich [empire1]
[2] = 63200, 166100, -- gelbes reich [empire2]
[3] = 960100, 268700 -- blaues reich [empire3]
}
pc.warp(warps[pc.get_empire()])
elseif normmaps1 == 2 then
local warps = {
[1] = 352900, 882500,
[2] = 145600, 239900,
[3] = 863900, 245900
}
pc.warp(warps[pc.get_empire()])
elseif normmaps1 == 3 then
local warps = {
[1] = 332853, 745957,
[2] = 332853, 745957,
[3] = 332853, 745957
}
pc.warp(warps[pc.get_empire()])
elseif normmaps1 == 4 then
local warps = {
[1] = 297592, 546850,
[2] = 297592, 546850,
[3] = 297592, 546850
}
pc.warp(warps[pc.get_empire()])
elseif normmaps1 == 5 then
local warps = {
[1] = 436308, 215922,
[2] = 436308, 215922,
[3] = 436308, 215922
}
pc.warp(warps[pc.get_empire()])
elseif normmaps1 == 6 then
warpring.normmaps2()
elseif normmaps1 == 7 then
warpring.main()
end
end
function normmaps2()
say_title(item.get_name().." : Normale Maps")
local normmaps2 = select("Feuerland","Tempel","Dämonenturm","Geisterwald","Roterwald","Weiter","Zurück")
if normmaps2 == 1 then
pc.warp(600803, 686916)
elseif normmaps2 == 2 then
pc.warp(553703, 143984)
elseif normmaps2 == 3 then
pc.warp(590230, 110961)
elseif normmaps2 == 4 then
pc.warp(289110, 5782)
elseif normmaps2 == 5 then
pc.warp(1119584, 70340)
elseif normmaps2 == 6 then
warpring.normmaps3()
elseif normmaps2 == 7 then
warpring.normmaps1()
end
end
function dungeons()
say_title(item.get_name().." : Dungeons")
local dungeons = select("Spinnendungeons","Zurück","Abbrechen")
if dungeons == 1 then
local sds = select("Spinnendungeon 1","Spinnendungeon 2","Zurück","Abbrechen")
if sds == 1 then
pc.warp(60000, 496400)
elseif sds == 2 then
pc.warp(704092, 4635)
elseif sds == 3 then
warpring.dungeons()
elseif sds == 4 then
return
end
elseif dungeons == 2 then
warpring.main()
elseif dungeons == 3 then
return
end
end
function farmmaps()
say_title(item.get_name().." : Farmmaps")
local farmmaps = select("Farmmap 1","Farmmap 2","Farmmap 3","Zurück","Abbrechen")
if farmmaps == 1 then
pc.warp(469314, 961711)
elseif farmmaps == 2 then
pc.warp(467662, 961061)
elseif farmmaps == 3 then
pc.warp(466074, 960406)
elseif farmmaps == 4 then
warpring.main()
elseif farmmaps == 5 then
return
end
end
end
end