server: unlimited teleport ring 70058, sold in a two-page item mall
ring-warp/: ring_warp.quest without use count or cooldown (the ring is never used up) + install.sh (GBK, make.py, item name 移动戒指). npc-shops: [page] lines in items.tsv make an extended shop written to shop_table_ex.txt; item-mall is now 增益 (29) + 道具 (12, incl. 70058 at 1 gold). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
000d4841fd
commit
42e4cf1a9f
@@ -0,0 +1,67 @@
|
||||
-- 移动戒指 70058 (special_item_group 10031 "Quest" -> sig_use), from 40250 ring_warp.quest.
|
||||
-- Changed for 203 (install.sh): no use count, no cooldown, the ring is never used up.
|
||||
-- UTF-8 here; install.sh converts it to GBK for qc.
|
||||
quest ring_warp begin
|
||||
state start begin
|
||||
when 10031.sig_use begin
|
||||
local empire = pc.get_empire()
|
||||
|
||||
say("请选择传送地点:")
|
||||
|
||||
local town1 = {
|
||||
gameforge.functions._100_say,
|
||||
gameforge.functions._110_say,
|
||||
gameforge.functions._120_say,
|
||||
}
|
||||
|
||||
local town2 = {
|
||||
gameforge.functions._130_say,
|
||||
gameforge.functions._140_say,
|
||||
gameforge.functions._150_say,
|
||||
}
|
||||
local sub_set = select(town1[empire], town2[empire], locale.map_name[64], locale.map_name[63], locale.map_name[61], locale.map_name[62], gameforge.locale.cancel)
|
||||
if sub_set == 7 then
|
||||
return
|
||||
end
|
||||
|
||||
local warp = {
|
||||
{ -- empire town -1
|
||||
{ 474300, 954800 },
|
||||
{ 63800, 166400 },
|
||||
{ 959900, 269200 },
|
||||
},
|
||||
{ -- empire town -2
|
||||
{ 353100, 882900 },
|
||||
{ 145500, 240000 },
|
||||
{ 863900, 246000 },
|
||||
},
|
||||
-- 64 map_n_threeway
|
||||
{
|
||||
{ 402100, 673900 },
|
||||
{ 270400, 739900 },
|
||||
{ 321300, 808000 },
|
||||
},
|
||||
-- 63 metin2_map_n_desert_01
|
||||
{
|
||||
{ 217800, 627200 },
|
||||
{ 221900, 502700 },
|
||||
{ 344000, 502500 },
|
||||
},
|
||||
-- 61 map_n_snowm_01
|
||||
{
|
||||
{ 434200, 290600 },
|
||||
{ 375200, 174900 },
|
||||
{ 491800, 173600 },
|
||||
},
|
||||
-- 62 metin2_map_n_flame_01
|
||||
{
|
||||
{ 599400, 756300 },
|
||||
{ 597800, 622200 },
|
||||
{ 730700, 689800 },
|
||||
},
|
||||
}
|
||||
|
||||
pc.warp(warp[sub_set][empire][1], warp[sub_set][empire][2])
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user