-- FS25 Increase maps_densityMapHeightTypes to 256
-- Ensure this script is used as part of a mod or within a proper FS25 script environment

DensityMapHeightTypes = {}

function DensityMapHeightTypes:increaseLimit()
    -- Check if the current limit is below 256
    if g_densityMapHeightManager:getNumHeightTypes() < 256 then
        -- Adjust the limit to 256
        g_densityMapHeightManager:setNumHeightTypes(256)
        print("DensityMapHeightTypes limit increased to 256.")
    else
        print("DensityMapHeightTypes limit is already 256 or higher.")
    end
end