Changes
Add level formatting
function ShipData:remodel_level(raw)
function ShipData:remodel_level(raw)
return self:format_stat(self._remodel_level, raw)
return self:format_level(self._remodel_level, raw)
end
end
function ShipData:range()
function ShipData:range()
return self:format_range(self._speed)
return self:format_range(self._speed)
end
function ShipData:format_level(stat, raw)
return not raw and mw.ustring.format("Level %s", stat) or stat
end
end