Changes

Add EquipmentGraphicKai
Line 1: Line 1:  
local EquipmentCardKai = false
 
local EquipmentCardKai = false
 +
local EquipmentGraphicKai = false
 
local EquipmentInfoKai = false
 
local EquipmentInfoKai = false
 
local getArgs = require('Module:GetArgs')
 
local getArgs = require('Module:GetArgs')
Line 26: Line 27:  
if not EquipmentCardKai then
 
if not EquipmentCardKai then
 
EquipmentCardKai = require('Module:EquipmentCardKai')
 
EquipmentCardKai = require('Module:EquipmentCardKai')
 +
end
 +
end
 +
 +
function EquipmentInfo.Graphic(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
_prepareEquipmentGraphicKai()
 +
return EquipmentGraphicKai:Graphic(args)
 +
end
 +
 +
function _prepareEquipmentGraphicKai()
 +
if not EquipmentGraphicKai then
 +
EquipmentGraphicKai = require('Module:EquipmentGraphicKai')
 
end
 
end
 
end
 
end
    
return EquipmentInfo
 
return EquipmentInfo
Anonymous user