• 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 142: Line 142:     
function ShipListKai:fuel(ship)
 
function ShipListKai:fuel(ship)
local fuel = ship:fuel()
+
return {values = {value = Formatting:format_stat(ship:fuel())}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = Formatting:format_stat(fuel)}, bg_color = self._transparent, text_align = self._center_align}
   
end
 
end
    
function ShipListKai:ammo(ship)
 
function ShipListKai:ammo(ship)
local ammo = ship:ammo()
+
return {values = {value = Formatting:format_stat(ship:ammo())}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = Formatting:format_stat(ammo)}, bg_color = self._transparent, text_align = self._center_align}
   
end
 
end
  
Anonymous user

Navigation menu