- 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 197:
Line 197:
− +
Line 205:
Line 205:
− +
no edit summary
function ImprovementTableKai:development_material(row_data)
function ImprovementTableKai:development_material(row_data)
if row_data.resources then
if row_data.resources then
return {values = {value = format{self._material_cell_content, normal = row_data.resources.devmat, slider = row_data.resources_x.devmat}}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = format{self._material_cell_content, normal = Formatting:format_stat(row_data.resources.devmat), slider = Formatting:format_stat(row_data.resources_x.devmat)}}, bg_color = self._transparent, text_align = self._center_align}
else
else
return {values = {value = "-"}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = "-"}, bg_color = self._transparent, text_align = self._center_align}
function ImprovementTableKai:improvement_material(row_data)
function ImprovementTableKai:improvement_material(row_data)
if row_data.resources then
if row_data.resources then
return {values = {value = format{self._material_cell_content, normal = row_data.resources.screw, slider = row_data.resources_x.screw}}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = format{self._material_cell_content, normal = Formatting:format_stat(row_data.resources.screw), slider = Formatting:format_stat(row_data.resources_x.screw)}}, bg_color = self._transparent, text_align = self._center_align}
else
else
return {values = {value = "-"}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = "-"}, bg_color = self._transparent, text_align = self._center_align}