Hier ist das Userpanel soweit
Code:
quest userpanel begin
state start begin
when value.use begin
say_title("Userpanel")
local s = select("Lager öffnen", "Teleporter", "Teleporter(Experte)")
if s==1 then
local ss = select("Lager öffmen", "Itemshoplager öffnen")
if ss==1 then
game.open_safebox()
end
if ss==2 then
game.open_mall()
end
end
if s==2 then
local warp = select("Map1", "Map2", "Tal von Seungryong", "Yongbi-Wüste", "Berg Sohan", "Feuerland", "Dämonenturm", "Roter Wald", "Zurück")
local empire = pc.get_empire()
if warp==1 then
if empire == 1 then
pc.warp(474300,954800)
end
if empire == 2 then
pc.warp(63800,166400)
end
if empire == 3 then
pc.warp(959900,269200)
end
end
if warp==2 then
if empire == 1 then
pc.warp(353100,882900)
end
if empire == 2 then
pc.warp(145500,240000)
if empire == 3 then
pc.warp(863900,246000)
end
end
if warp==3 then
if empire == 1 then
pc.warp(402100, 673900)
end
if empire == 2 then
pc.warp(270400, 739900)
end
if empire == 3 then
pc.warp(270400, 739900)
end
end
if warp==4 then
if empire == 1 then
pc.warp(217800, 627200)
end
if empire == 2 then
pc.warp(221900, 502700)
end
if empire == 3 then
pc.warp(344000, 502500)
end
end
if warp==5 then
if empire == 1 then
pc.warp(434200, 290600)
end
if empire == 2 then
pc.warp(375200, 174900)
end
if empire == 3 then
pc.warp(491800, 173600)
end
end
if warp==6 then
if empire == 1 then
pc.warp(599400, 756300)
end
if empire == 2 then
pc.warp(597800, 622200)
end
if empire == 3 then
pc.warp(730700, 689800)
end
end
if warp==7 then
pc.warp(590500, 110500)
end
if warp==8 then
pc.warp(1119900, 70800)
end
if warp==9 then
return
end
end
if s==3 then
say("Gebe nun die X-Kordinate ein")
local x = input()
say("Gebe nun die Y-Kordinate ein")
local y = input()
pc.warp(x,y)
end
end
end
end
Weitere Ideen gerne gesehen