Changes
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