SunClear deprecated

by Sunnova

Check out https://mods.factorio.com/user/No0Vad, they have mods to erase Trees, Rocks or Ore.

Utilities
2 years ago
1.1
290

g Praise

3 years ago

Thanks so much for making this. I'm on a new game where I'm playing with my various ASIF/megabase mods and needing to clear 3000x3000 areas just for a single smelter (one building has the output/power usage/etc of 1000 smelters, but instead of the game juggling 1000 entities, it only has to do 1 + the inserters; see "Smelter UPS Grade") but yeah. This saves me SO much time clearing the land from all those pesky rocks. It is indescribably annoying to have to drive back and forth over a 3000x3000 area finding all the little rocks.

3 years ago

Followup: Is it possible to make the mod also pick up stone and coal on the ground? As in the type 'item-on-ground'?

3 years ago

Glad you like it, are you talking about dropped items? If so, search all the mods for gound, you will find more than one that will picked up dropped items for you.

3 years ago

I actually just tweaked your mod to do it (after taking a look at 'sweeper tool', which was the only one I could find, besides AAI Warden, that did what I wanted). Turns out just changing

if (entity.name == "rock-huge" or entity.name == "rock-big" or entity.name == "sand-rock-huge" or entity.name == "sand-rock-big") and entity.type == "simple-entity" then

to

if ((entity.name == "rock-huge" or entity.name == "rock-big" or entity.name == "sand-rock-huge" or entity.name == "sand-rock-big") and entity.type == "simple-entity") or
                    (name == "item-on-ground" and entity.type == "item-entity") then

was all that was needed. Woot!

3 years ago

Nice work, I'll think about adding it as an option.

New response