233 lines
18 KiB
Plaintext
233 lines
18 KiB
Plaintext
-- Generated by generate.py from maps.json. Do not edit by hand.
|
|
-- UTF-8 source; install.sh compiles GBK for the 203 server.
|
|
quest ring_warp begin
|
|
state start begin
|
|
function destinations()
|
|
return {
|
|
{name = "各国主城",
|
|
destinations = {
|
|
{name = "盛唐国一村", x = 469300, y = 964200},
|
|
{name = "盛唐国二村", x = 360800, y = 877600},
|
|
{name = "秦皇国一村", x = 55700, y = 157900},
|
|
{name = "秦皇国二村", x = 138500, y = 234900},
|
|
{name = "周武国一村", x = 969600, y = 278400},
|
|
{name = "周武国二村", x = 873100, y = 242600},
|
|
}},
|
|
{name = "升龙谷 (30-50级)",
|
|
destinations = {
|
|
{name = "升龙谷中心", x = 332800, y = 745700},
|
|
{name = "练级区 1", x = 278900, y = 792400},
|
|
{name = "练级区 2", x = 323500, y = 806900},
|
|
{name = "练级区 3", x = 388200, y = 742200},
|
|
}},
|
|
{name = "影悲沙漠 (30-50级)",
|
|
destinations = {
|
|
{name = "沙漠中心", x = 291800, y = 550000},
|
|
{name = "绿洲 1区", x = 250600, y = 544200},
|
|
{name = "绿洲 2区", x = 297800, y = 577700},
|
|
{name = "绿洲 3区", x = 270300, y = 604600},
|
|
}},
|
|
{name = "舒寒山 (40-65级)",
|
|
destinations = {
|
|
{name = "雪山中心", x = 434400, y = 214700},
|
|
{name = "练级区 1", x = 435300, y = 183000},
|
|
{name = "练级区 2", x = 496500, y = 263700},
|
|
}},
|
|
{name = "导炎大地 (40-65级)",
|
|
destinations = {
|
|
{name = "火地中心", x = 607400, y = 686800},
|
|
{name = "练级区 1", x = 703600, y = 631000},
|
|
{name = "练级区 2", x = 681000, y = 745700},
|
|
}},
|
|
{name = "蜘蛛洞穴 (45-70级)",
|
|
destinations = {
|
|
{name = "蜘蛛洞一层入口", x = 60000, y = 496300},
|
|
{name = "蜘蛛洞一层深处", x = 91800, y = 525400},
|
|
{name = "蜘蛛洞二层入口", x = 704100, y = 463900},
|
|
{name = "蜘蛛洞二层深处/三层入口", x = 704000, y = 522700},
|
|
}},
|
|
{name = "鬼怪森林 (65-75级)",
|
|
subgroups = {
|
|
{name = "幽灵森林", destinations = {
|
|
{name = "幽灵森林入口", x = 290800, y = 5700},
|
|
{name = "练级区 1", x = 308300, y = 42300},
|
|
{name = "练级区 2", x = 316100, y = 5100},
|
|
}},
|
|
{name = "红森林", destinations = {
|
|
{name = "红森林入口", x = 1116700, y = 69200},
|
|
{name = "练级区 1", x = 1115100, y = 53400},
|
|
{name = "练级区 2", x = 1061400, y = 25800},
|
|
}},
|
|
}},
|
|
{name = "巨人荒地 (55-80级)",
|
|
destinations = {
|
|
{name = "巨人领地 1区", x = 1119200, y = 791500},
|
|
{name = "蛇之领域 / 2区", x = 830500, y = 764000},
|
|
}},
|
|
{name = "流放洞窟 (75-95级)", min_level = 75,
|
|
destinations = {
|
|
{name = "流放洞窟一层入口", x = 10000, y = 1207800},
|
|
{name = "流放洞窟一层深处", x = 140300, y = 1323600},
|
|
{name = "流放洞窟二层入口", x = 241600, y = 1273700},
|
|
{name = "流放洞窟二层深处/龙穴门前", x = 222000, y = 1220800},
|
|
}},
|
|
{name = "尤哈拉海角 (90-105级)", min_level = 90,
|
|
subgroups = {
|
|
{name = "龙头海角", destinations = {
|
|
{name = "龙头海角入口", x = 1104800, y = 1788800},
|
|
{name = "练级区 1", x = 1049300, y = 1738200},
|
|
{name = "练级区 2", x = 1119100, y = 1731700},
|
|
}},
|
|
{name = "迷雾森林", destinations = {
|
|
{name = "迷雾森林入口", x = 1225700, y = 1682000},
|
|
{name = "练级区 1", x = 1246700, y = 1721600},
|
|
{name = "练级区 2", x = 1330600, y = 1741200},
|
|
}},
|
|
{name = "雷鸣山脉", destinations = {
|
|
{name = "雷鸣山脉入口", x = 1134100, y = 1655400},
|
|
{name = "练级区 1", x = 1167600, y = 1535800},
|
|
{name = "练级区 2", x = 1211800, y = 1636800},
|
|
}},
|
|
{name = "黑沙海湾", destinations = {
|
|
{name = "黑沙海湾入口", x = 1087900, y = 1649800},
|
|
{name = "练级区 1", x = 1068600, y = 1626800},
|
|
{name = "练级区 2", x = 1104400, y = 1557200},
|
|
}},
|
|
}},
|
|
{name = "附魔森林 (105-120级)", min_level = 105,
|
|
destinations = {
|
|
{name = "附魔森林入口", x = 816700, y = 1505000},
|
|
}},
|
|
}
|
|
end
|
|
when 10031.sig_use or 70058.use or 76042.use begin
|
|
if not pc.can_warp() then
|
|
say("当前状态无法传送,请结束交易、战斗或其他操作后再试。")
|
|
return
|
|
end
|
|
local s = select(
|
|
"各国主城", "升龙谷 (30-50级)", "影悲沙漠 (30-50级)", "舒寒山 (40-65级)", "导炎大地 (40-65级)", "蜘蛛洞穴 (45-70级)", "鬼怪森林 (65-75级)", "巨人荒地 (55-80级)", "流放洞窟 (75-95级)", "尤哈拉海角 (90-105级)", "附魔森林 (105-120级)", "关闭"
|
|
)
|
|
if s == 1 then
|
|
local sub_1 = select("盛唐国一村", "盛唐国二村", "秦皇国一村", "秦皇国二村", "周武国一村", "周武国二村", "关闭")
|
|
if sub_1 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(469300, 964200) setskin(NOWINDOW)
|
|
elseif sub_1 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(360800, 877600) setskin(NOWINDOW)
|
|
elseif sub_1 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(55700, 157900) setskin(NOWINDOW)
|
|
elseif sub_1 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(138500, 234900) setskin(NOWINDOW)
|
|
elseif sub_1 == 5 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(969600, 278400) setskin(NOWINDOW)
|
|
elseif sub_1 == 6 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(873100, 242600) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 2 then
|
|
local sub_2 = select("升龙谷中心", "练级区 1", "练级区 2", "练级区 3", "关闭")
|
|
if sub_2 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(332800, 745700) setskin(NOWINDOW)
|
|
elseif sub_2 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(278900, 792400) setskin(NOWINDOW)
|
|
elseif sub_2 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(323500, 806900) setskin(NOWINDOW)
|
|
elseif sub_2 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(388200, 742200) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 3 then
|
|
local sub_3 = select("沙漠中心", "绿洲 1区", "绿洲 2区", "绿洲 3区", "关闭")
|
|
if sub_3 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(291800, 550000) setskin(NOWINDOW)
|
|
elseif sub_3 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(250600, 544200) setskin(NOWINDOW)
|
|
elseif sub_3 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(297800, 577700) setskin(NOWINDOW)
|
|
elseif sub_3 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(270300, 604600) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 4 then
|
|
local sub_4 = select("雪山中心", "练级区 1", "练级区 2", "关闭")
|
|
if sub_4 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(434400, 214700) setskin(NOWINDOW)
|
|
elseif sub_4 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(435300, 183000) setskin(NOWINDOW)
|
|
elseif sub_4 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(496500, 263700) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 5 then
|
|
local sub_5 = select("火地中心", "练级区 1", "练级区 2", "关闭")
|
|
if sub_5 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(607400, 686800) setskin(NOWINDOW)
|
|
elseif sub_5 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(703600, 631000) setskin(NOWINDOW)
|
|
elseif sub_5 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(681000, 745700) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 6 then
|
|
local sub_6 = select("蜘蛛洞一层入口", "蜘蛛洞一层深处", "蜘蛛洞二层入口", "蜘蛛洞二层深处/三层入口", "关闭")
|
|
if sub_6 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(60000, 496300) setskin(NOWINDOW)
|
|
elseif sub_6 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(91800, 525400) setskin(NOWINDOW)
|
|
elseif sub_6 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(704100, 463900) setskin(NOWINDOW)
|
|
elseif sub_6 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(704000, 522700) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 7 then
|
|
local sub_7 = select("幽灵森林", "红森林", "关闭")
|
|
if sub_7 == 1 then
|
|
local sub_7_1 = select("幽灵森林入口", "练级区 1", "练级区 2", "关闭")
|
|
if sub_7_1 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(290800, 5700) setskin(NOWINDOW)
|
|
elseif sub_7_1 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(308300, 42300) setskin(NOWINDOW)
|
|
elseif sub_7_1 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(316100, 5100) setskin(NOWINDOW)
|
|
end
|
|
elseif sub_7 == 2 then
|
|
local sub_7_2 = select("红森林入口", "练级区 1", "练级区 2", "关闭")
|
|
if sub_7_2 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1116700, 69200) setskin(NOWINDOW)
|
|
elseif sub_7_2 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1115100, 53400) setskin(NOWINDOW)
|
|
elseif sub_7_2 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1061400, 25800) setskin(NOWINDOW)
|
|
end
|
|
end
|
|
elseif s == 8 then
|
|
local sub_8 = select("巨人领地 1区", "蛇之领域 / 2区", "关闭")
|
|
if sub_8 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1119200, 791500) setskin(NOWINDOW)
|
|
elseif sub_8 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(830500, 764000) setskin(NOWINDOW)
|
|
end
|
|
elseif s == 9 then
|
|
if pc.get_level() < 75 then
|
|
say("")
|
|
say("需要达到 75 级才能进入流放洞窟!")
|
|
say("")
|
|
else
|
|
local sub_9 = select("流放洞窟一层入口", "流放洞窟一层深处", "流放洞窟二层入口", "流放洞窟二层深处/龙穴门前", "关闭")
|
|
if sub_9 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(10000, 1207800) setskin(NOWINDOW)
|
|
elseif sub_9 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(140300, 1323600) setskin(NOWINDOW)
|
|
elseif sub_9 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(241600, 1273700) setskin(NOWINDOW)
|
|
elseif sub_9 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(222000, 1220800) setskin(NOWINDOW)
|
|
end
|
|
end
|
|
elseif s == 10 then
|
|
if pc.get_level() < 90 then
|
|
say("")
|
|
say("需要达到 90 级才能进入尤哈拉海角区域!")
|
|
say("")
|
|
else
|
|
local sub_10 = select("龙头海角", "迷雾森林", "雷鸣山脉", "黑沙海湾", "关闭")
|
|
if sub_10 == 1 then
|
|
local sub_10_1 = select("龙头海角入口", "练级区 1", "练级区 2", "关闭")
|
|
if sub_10_1 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1104800, 1788800) setskin(NOWINDOW)
|
|
elseif sub_10_1 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1049300, 1738200) setskin(NOWINDOW)
|
|
elseif sub_10_1 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1119100, 1731700) setskin(NOWINDOW)
|
|
end
|
|
elseif sub_10 == 2 then
|
|
local sub_10_2 = select("迷雾森林入口", "练级区 1", "练级区 2", "关闭")
|
|
if sub_10_2 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1225700, 1682000) setskin(NOWINDOW)
|
|
elseif sub_10_2 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1246700, 1721600) setskin(NOWINDOW)
|
|
elseif sub_10_2 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1330600, 1741200) setskin(NOWINDOW)
|
|
end
|
|
elseif sub_10 == 3 then
|
|
local sub_10_3 = select("雷鸣山脉入口", "练级区 1", "练级区 2", "关闭")
|
|
if sub_10_3 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1134100, 1655400) setskin(NOWINDOW)
|
|
elseif sub_10_3 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1167600, 1535800) setskin(NOWINDOW)
|
|
elseif sub_10_3 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1211800, 1636800) setskin(NOWINDOW)
|
|
end
|
|
elseif sub_10 == 4 then
|
|
local sub_10_4 = select("黑沙海湾入口", "练级区 1", "练级区 2", "关闭")
|
|
if sub_10_4 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1087900, 1649800) setskin(NOWINDOW)
|
|
elseif sub_10_4 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1068600, 1626800) setskin(NOWINDOW)
|
|
elseif sub_10_4 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1104400, 1557200) setskin(NOWINDOW)
|
|
end
|
|
end
|
|
end
|
|
elseif s == 11 then
|
|
if pc.get_level() < 105 then
|
|
say("")
|
|
say("需要达到 105 级才能进入附魔森林!")
|
|
say("")
|
|
else
|
|
local sub_11 = select("附魔森林入口", "关闭")
|
|
if sub_11 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(816700, 1505000) setskin(NOWINDOW)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|