Creep Cleaner

by ccsla

Slowly remove biter nests creep over time after destruction.

Tweaks
3 years ago
1.1
15.1K

FAQ

Is there a way to remove biters creep when adding the mod to an existing save?

'Yes'. With a command.
But it has a caveat: it will only work for decoratives (no tiles support).
Also, this command is known to NOT work correctly with Alien Biomes.
It is in an EXPERIMENTAL state, and have a NOTICEABLE PERFORMANCE HIT.
But once it's done, it's done. You shouldn't have to re-run the command again for this save.
Also, it may destroy some decoratives near destroyed biter nests not spawned by theses spawners.

  • To use this command, type in chat: /cc-clean
  • To cancel this command, type in chat: /cc-clean cancel

Note that to use theses commands you need admin rights.
If you prefer to do it yourself manually instead, please refer to the next faq entry.

Is there a way to remove biters creep manually?

Yes, there is. But only if you're inclined to use the editor and disable your modded achievements for this save.
Please note that this will only work for 'vanilla' biter creep.

  • Open the editor ('/editor' in chat twice).
  • Go to 'Tools' > 'Areas and positions'.
  • Select 'Run Lua Snippets' tab if not selected.
  • In 'New snippet', enter a name: 'Delete creep' for example. Validate.
  • Copy and paste this in 'Lua code':

local decoratives = { "light-mud-decal", "dark-mud-decal", "enemy-decal", "enemy-decal-transparent", "muddy-stump", "red-croton", "red-pita", "lichen-decal", "worms-decal", "shroom-decal", } local surface = game.player.surface for _, name in pairs(decoratives) do surface.destroy_decoratives{area = area, name = name} end

  • Now, where you want to clean, click and drag on the surface.
  • Repeat the last step as much as you want.