• 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
Workaround for 381/50mm
Line 1,055: Line 1,055:  
function EquipmentData:common_name()
 
function EquipmentData:common_name()
 
return self._common_name or self:name()
 
return self._common_name or self:name()
 +
end
 +
 +
function EquipmentData:asset_name()
 +
return self._asset_name or self:common_name()
 
end
 
end
   Line 1,168: Line 1,172:  
api_id = self:api_id()
 
api_id = self:api_id()
 
if api_id then
 
if api_id then
return Formatting:equipment_card(api_id, self:common_name())
+
return Formatting:equipment_card(api_id, self:asset_name())
 
end
 
end
 
return self._card
 
return self._card
Line 1,179: Line 1,183:  
api_id = self:api_id()
 
api_id = self:api_id()
 
if api_id then
 
if api_id then
return Formatting:equipment_fairy(api_id, self:common_name())
+
return Formatting:equipment_fairy(api_id, self:asset_name())
 
end
 
end
 
return self._fairy
 
return self._fairy
Line 1,190: Line 1,194:  
api_id = self:api_id()
 
api_id = self:api_id()
 
if api_id then
 
if api_id then
return Formatting:equipment_cg(api_id, self:common_name())
+
return Formatting:equipment_cg(api_id, self:asset_name())
 
end
 
end
 
return self._cg
 
return self._cg
Line 1,201: Line 1,205:  
api_id = self:api_id()
 
api_id = self:api_id()
 
if api_id then
 
if api_id then
return Formatting:equipment_full(api_id, self:common_name())
+
return Formatting:equipment_full(api_id, self:asset_name())
 
end
 
end
 
return self._cg_fairy
 
return self._cg_fairy
Anonymous user

Navigation menu