feat(quests): add AVA2 travel menu and staged sash compatibility deployment

This commit is contained in:
shen
2026-10-16 23:15:04 -07:00
parent fce6a5e06b
commit 8653edf4c5
8 changed files with 438 additions and 0 deletions
@@ -0,0 +1,17 @@
-- AVA2 GFquestlib.lua: the map lookup needed by new_quest_lv52.
-- Install only the missing helper; retain any server-specific implementation.
if is_destination_village == nil then
function is_destination_village(maps)
local map_lookup = {}
if maps == 1 then
map_lookup = {[1]='', [21]='', [41]=''}
elseif maps == 2 then
map_lookup = {[3]='', [23]='', [43]=''}
elseif maps == 3 then
map_lookup = {[1]='', [21]='', [41]='', [3]='', [23]='', [43]=''}
elseif maps == 65 then
map_lookup = {[65]=''}
end
return map_lookup[pc.get_map_index()]
end
end