Changes
no edit summary
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')
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