Module:EnemyNav
From IdleOn MMO Wiki
Documentation for this module may be created at Module:EnemyNav/doc
local p = {}
local Lists = require("Module:EnemyNav\data")
function p.BuildNav( frame )
local enemyType = frame.args.Type
local midEnemy = frame.args.Enemy -- Pagename
local navList = {}
-- branch data load based on type
-- Iterate until self found.
-- Using self-index get previous and next enemies, if they exist.
-- construct output.
return navigation
end
local p