- 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 40:
Line 40:
+
Line 51:
Line 52:
− _blueprint = Formatting:format_image{ResourceIcons.blueprint, size = "x18px", caption = "Blueprint"},
Line 80:
Line 80:
− +
− +
− local remodel_blueprint = self._remodel_to:remodel_blueprint() +
− if remodel_blueprint then
− value = self._blueprint .. value
− elseif remodel_blueprint == nil then
− value = self._question_marks .. value
− end
− +
+
+
+
+
no edit summary
"type",
"type",
"remodel_level",
"remodel_level",
"remodel_blueprint",
"arrow",
"arrow",
"id_after",
"id_after",
_arrow = "⇒",
_arrow = "⇒",
_question_marks = "??",
_question_marks = "??",
}
}
end
end
function ShipRemodelListKai:arrow()
function ShipRemodelListKai:remodel_blueprint()
local value = self._arrow
local value = self._dash
if self._remodel_to then
if self._remodel_to then
value = Formatting:format_blueprint_requirement(self._remodel_to:remodel_blueprint())
elseif self._remodel_to == nil then
elseif self._remodel_to == nil then
value = self._question_marks .. value
value = self._question_marks
end
end
return {values = {value = value}, self._transparent, text_align = self._center_align}
return {values = {value = value}, self._transparent, text_align = self._center_align}
end
function ShipRemodelListKai:arrow()
return {values = {value = self._arrow}, self._transparent, text_align = self._center_align}
end
end