Page 1 of 1

[2.0.77] Cliff Destructor removes unrelated ghosts

Posted: Wed Jul 15, 2026 1:40 pm
by TheDash
1. Ghost-place some Foundations and a Roboport over lava.
2. Create a Deconstruction Planner with only Cliffs as the thing to remove.
3. Use planner on existing ghosts - they will be marked for destruction (BUG)
cliff-destructor.jpg
cliff-destructor.jpg (939.49 KiB) Viewed 250 times
If, instead, you use a Deconstruction Planner that only removes, say, Assembling Machines 3, then that planner will not remove the unrelated ghosts (CORRECT).
assmac3-destructor.jpg
assmac3-destructor.jpg (861.51 KiB) Viewed 250 times
Attached is a save with the ghosts in place and 2 Deconstruction Planners (1 configured for Cliffs only, 1 configured for Assembling Machines 3 only).
The bug occurs in Freeplay mode. The save is in sandbox mode for easier setup/testing.

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Posted: Wed Jul 15, 2026 2:27 pm
by Rseding91
Thanks for the report however this is working correctly. The tile ghosts get marked because the tile filters are not set to exclude them. As a result of removing those tile ghosts the roboport is also included to be removed.

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Posted: Wed Jul 15, 2026 2:54 pm
by TheDash
The deconstruction planner has no tiles listed and set to Whitelist.
If I change it to Blacklist it does not change the behavior.
If I add, say, Stone Bricks to the list and keep it as Whitelist then the Foundations no longer get removed.

If there is a Whitelist, anything not on the Whitelist should not get removed.

Note that the behavior is different for a planner that has a Cliff Entity on the list versus a building Entity - the latter works as expected, the former does not. This is a specific quirk of Cliffs in Deconstruction Planners, not Tiles.

It is presently impossible to create a Deconstruction Planner that only removes Cliffs and not ghosts of Tiles without also removing at least one tile type.

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Posted: Wed Jul 15, 2026 3:58 pm
by eugenekay
TheDash wrote: Wed Jul 15, 2026 2:54 pmIt is presently impossible to create a Deconstruction Planner that only removes Cliffs and not ghosts of Tiles without also removing at least one tile type.
Works for me:
07-15-2026, 11-54-55.png
07-15-2026, 11-54-55.png (1.08 MiB) Viewed 182 times



You need to set the tile_selection_mode property in the Deconstruction Planner:
07-15-2026, 11-56-46.png
07-15-2026, 11-56-46.png (266.37 KiB) Viewed 182 times
"Never" seems to be the default after adding Cliffs to the Entities selection anyway.....


Good Luck!

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Posted: Wed Jul 15, 2026 6:15 pm
by TheDash
Thanks eugenekay, that works for me. How very unintuitive though!