[2.0.77] Cliff Destructor removes unrelated ghosts

Bugs that are actually features.
TheDash
Inserter
Inserter
Posts: 22
Joined: Fri Jun 02, 2023 9:48 am
Contact:

[2.0.77] Cliff Destructor removes unrelated ghosts

Post 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 244 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 244 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.
Attachments
_ETEST_CLIFF_DESTRUCTOR.zip
(3.93 MiB) Downloaded 18 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 17242
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Post 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.
If you want to get ahold of me I'm almost always on Discord.
TheDash
Inserter
Inserter
Posts: 22
Joined: Fri Jun 02, 2023 9:48 am
Contact:

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Post 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.
eugenekay
Smart Inserter
Smart Inserter
Posts: 1212
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Post 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 176 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 176 times
"Never" seems to be the default after adding Cliffs to the Entities selection anyway.....


Good Luck!
TheDash
Inserter
Inserter
Posts: 22
Joined: Fri Jun 02, 2023 9:48 am
Contact:

Re: [2.0.77] Cliff Destructor removes unrelated ghosts

Post by TheDash »

Thanks eugenekay, that works for me. How very unintuitive though!
Post Reply

Return to “Not a bug”