• 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 181: Line 181:  
function ShipData:remodel_cost(raw)
 
function ShipData:remodel_cost(raw)
 
if raw then
 
if raw then
return {
+
return self._remodel_ammo, self._remodel_steel
ammo = self._remodel_ammo,
  −
steel = self._remodel_steel,
  −
}
   
else
 
else
 
return mw.ustring.format("%s %d %s %d", self:format_image(ResourceIcons.ammo), self:format_stat(self._remodel_ammo), self:format_image(ResourceIcons.steel), self:format_stat(self._remodel_steel))
 
return mw.ustring.format("%s %d %s %d", self:format_image(ResourceIcons.ammo), self:format_stat(self._remodel_ammo), self:format_image(ResourceIcons.steel), self:format_stat(self._remodel_steel))
Line 196: Line 193:  
return mw.ustring.format("%s %s", self:format_image(ResourceIcons.blueprint, "36px"), self._remodel_blueprint and "✓" or "✗")
 
return mw.ustring.format("%s %s", self:format_image(ResourceIcons.blueprint, "36px"), self._remodel_blueprint and "✓" or "✗")
 
end
 
end
 +
end
 +
 +
function ShipData:fuel(raw)
 +
return self:format_stat(self._fuel, raw)
 +
end
 +
 +
function ShipData:ammo(raw)
 +
return self:format_stat(self._ammo, raw)
 
end
 
end
  
Anonymous user

Navigation menu