• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
local BaseData = require("Module:BaseData")
 
local BaseData = require("Module:BaseData")
 
local Equipment
 
local Equipment
 +
local EquipmentFrom
 
local EquipmentCompatibility --lazily loaded when equippable() is called
 
local EquipmentCompatibility --lazily loaded when equippable() is called
 
local Formatting = require('Module:Formatting')
 
local Formatting = require('Module:Formatting')
Line 190: Line 191:  
api_id = self:api_id()
 
api_id = self:api_id()
 
if api_id then
 
if api_id then
 +
    if self._enemy_default_assets then
 +
    Equipment = Equipment or require(self._constructor_module)
 +
    EquipmentFrom = EquipmentFrom or require(self._from_api_module)
 +
    return Equipment(EquipmentFrom:api_id_lookup{api_id - 500}):cg()
 +
    end
 
return Formatting:equipment_cg(api_id, self:asset_name())
 
return Formatting:equipment_cg(api_id, self:asset_name())
 
end
 
end
Anonymous user

Navigation menu