• 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
m
Why are you formatting ship codes for the ammo/steel requirements?
Line 132: Line 132:  
local ammo = self._remodel_to == nil and self._question_marks or self._dash
 
local ammo = self._remodel_to == nil and self._question_marks or self._dash
 
if self._remodel_to then
 
if self._remodel_to then
ammo = Formatting:format_ship_code(self._remodel_to:remodel_cost().ammo)
+
ammo = self._remodel_to:remodel_cost().ammo
 
end
 
end
 
return {values = {value = ammo}, bg_color = self._transparent, text_align = self._center_align}
 
return {values = {value = ammo}, bg_color = self._transparent, text_align = self._center_align}
Line 140: Line 140:  
local steel = self._remodel_to == nil and self._question_marks or self._dash
 
local steel = self._remodel_to == nil and self._question_marks or self._dash
 
if self._remodel_to then
 
if self._remodel_to then
steel = Formatting:format_ship_code(self._remodel_to:remodel_cost().steel)
+
steel = self._remodel_to:remodel_cost().steel
 
end
 
end
 
return {values = {value = steel}, bg_color = self._transparent, text_align = self._center_align}
 
return {values = {value = steel}, bg_color = self._transparent, text_align = self._center_align}
48

edits

Navigation menu