Changes
no edit summary
function ShipRemodelListKai:type(ship)
function ShipRemodelListKai:type(ship)
return {value = Formatting:format_ship_code(ship:type()), text_align = self._start_align}
return {values = {value = Formatting:format_ship_code(ship:type())}, text_align = self._start_align}
end
end
type_after = Formatting:format_ship_code(self._remodel_to:type())
type_after = Formatting:format_ship_code(self._remodel_to:type())
end
end
return {value = type_after, text_align = self._center_align}
return {values = {value = type_after}, text_align = self._center_align}
end
end
ammo = Formatting:format_ship_code(self._remodel_to:remodel_cost().ammo)
ammo = Formatting:format_ship_code(self._remodel_to:remodel_cost().ammo)
end
end
return {value = ammo, text_align = self._center_align}
return {values = {value = ammo}, text_align = self._center_align}
end
end
steel = Formatting:format_ship_code(self._remodel_to:remodel_cost().steel)
steel = Formatting:format_ship_code(self._remodel_to:remodel_cost().steel)
end
end
return {value = steel, text_align = self._center_align}
return {values = {value = steel}, text_align = self._center_align}
end
end