- 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 142:
Line 142:
− local fuel = ship:fuel()+
−
− local ammo = ship:ammo()+
−
no edit summary
function ShipListKai:fuel(ship)
function ShipListKai:fuel(ship)
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)
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