- 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 23:
Line 23:
+
Line 151:
Line 152:
− return ship:remodeled() and ship:remodel_level() or ship:buildable() and ship:build_time() or self._unbuildable +
+
+
+
+
+
+
Add remodel cost display
_stat_1 = "%d",
_stat_1 = "%d",
_stat_2 = "%d (%d)",
_stat_2 = "%d (%d)",
_blueprint = " [[Blueprint.png|36px]]",
_slot_template = [[|-
_slot_template = [[|-
| align=center colspan="3" | ${equipment}
| align=center colspan="3" | ${equipment}
function ShipInfoKai:build_remodel_info(ship)
function ShipInfoKai:build_remodel_info(ship)
if ship:remodeled() then
return mw.uwstring.format("%s, %s %s", ship:remodel_level(), ship:remodel_cost(), ship:remodel_blueprint())
elseif ship:buildable() then
return ship:build_time()
else
return self._unbuildable
end
end
end