Changes
no edit summary
function ShipRemodelListKai:type(ship)
function ShipRemodelListKai:type(ship)
return {values = {value = Formatting:format_ship_code(ship:type())}, text_align = self._center_align}
return {values = {value = Formatting:format_ship_code(ship:type())}, bg_color = self._transparent, text_align = self._center_align}
end
end
remodel_level = self._remodel_to:remodel_level()
remodel_level = self._remodel_to:remodel_level()
end
end
return {values = {value = remodel_level == false and self._dash or Formatting:format_stat(remodel_level)}, self._transparent, text_align = self._center_align}
return {values = {value = remodel_level == false and self._dash or Formatting:format_stat(remodel_level)}, bg_color = self._transparent, text_align = self._center_align}
end
end
value = self._question_marks
value = self._question_marks
end
end
return {values = {value = value}, self._transparent, text_align = self._center_align}
return {values = {value = value}, bg_color = self._transparent, text_align = self._center_align}
end
end
function ShipRemodelListKai:arrow()
function ShipRemodelListKai:arrow()
return {values = {value = self._arrow}, self._transparent, text_align = self._center_align}
return {values = {value = self._arrow}, bg_color = self._transparent, text_align = self._center_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 {values = {value = type_after}, text_align = self._center_align}
return {values = {value = type_after}, bg_color = self._transparent, 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 {values = {value = ammo}, text_align = self._center_align}
return {values = {value = ammo}, bg_color = self._transparent, 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 {values = {value = steel}, text_align = self._center_align}
return {values = {value = steel}, bg_color = self._transparent, text_align = self._center_align}
end
end