- 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
Line 162:
Line 162:
− +
Line 176:
Line 176:
− +
Line 190:
Line 190:
− +
− +
− 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()+
+
+
+
+
+
Line 209:
Line 214:
− +
no edit summary
return Equipment(self._card_reference):card()
return Equipment(self._card_reference):card()
end
end
api_id = self:api_id()
local api_id = self:api_id()
if api_id then
if api_id then
return Formatting:equipment_card(api_id, self:asset_name())
return Formatting:equipment_card(api_id, self:asset_name())
return Equipment(self._fairy_reference):fairy()
return Equipment(self._fairy_reference):fairy()
end
end
api_id = self:api_id()
local api_id = self:api_id()
if api_id then
if api_id then
return Formatting:equipment_fairy(api_id, self:asset_name())
return Formatting:equipment_fairy(api_id, self:asset_name())
return Equipment(self._cg_reference):cg()
return Equipment(self._cg_reference):cg()
end
end
api_id = self:api_id()
local api_id = self:api_id()
if api_id then
if api_id then
if self._enemy_default_assets then
if api_id > 500 then
local equipment_type = self:type()
if equipment_type <= 6
or (equipment_type >= 11 and equipment_type ~= 25 and equipment_type ~= 26 and equipment_type ~= 41
and equipment_type ~= 45 and equipment_type ~= 47 and equipment_type ~= 48 and equipment_type ~= 94) 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
end
end
return Formatting:equipment_cg(api_id, self:asset_name())
return Formatting:equipment_cg(api_id, self:asset_name())
return Equipment(self._cg_fairy_reference):cg_fairy()
return Equipment(self._cg_fairy_reference):cg_fairy()
end
end
api_id = self:api_id()
local api_id = self:api_id()
if api_id then
if api_id then
return Formatting:equipment_full(api_id, self:asset_name())
return Formatting:equipment_full(api_id, self:asset_name())