Only Nauvis


Deletes all Space Age planets and makes all Space Age recources craftable on Nauvis. Credit to Leftn, whose 'Delete Planets' mods I stole some code from.

Overhaul
4 months ago
2.0
439
Manufacturing

g nil error

13 days ago
(updated 13 days ago)

You need to update cull.lua:delete_folliage() to this, I was getting a nil error:

function delete_folliage(name, type_name)
    if data.raw[type_name][name].autoplace then
        if data.raw[type_name][name].autoplace.control then
            data.raw[type_name][name].autoplace.control = nil
        end
    end
end

New response