Changes

add EnemyEquipmentListKai and EnemyTable
Line 3: Line 3:  
local EquipmentComparisonKai = false
 
local EquipmentComparisonKai = false
 
local EquipmentListKai = false
 
local EquipmentListKai = false
 +
local EnemyEquipmentListKai = false
 
local ImprovementTableKai = false
 
local ImprovementTableKai = false
 
local getArgs = require('Module:GetArgs')
 
local getArgs = require('Module:GetArgs')
Line 27: Line 28:  
if not EquipmentListKai then
 
if not EquipmentListKai then
 
EquipmentListKai = require('Module:EquipmentListKai')
 
EquipmentListKai = require('Module:EquipmentListKai')
 +
end
 +
end
 +
 +
function EquipmentList.EnemyTable(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
_prepareEnemyEquipmentListKai()
 +
return EnemyEquipmentListKai:Table(args)
 +
end
 +
 +
function _prepareEnemyEquipmentListKai()
 +
if not EnemyEquipmentListKai then
 +
EnemyEquipmentListKai = require('Module:EnemyEquipmentListKai')
 
end
 
end
 
end
 
end
Anonymous user