Page 1 of 1

How do I hide entites from the deconstruction planner?

Posted: Tue Aug 17, 2021 6:31 pm
by eradicator
So I'm working on a large update for my Stockpile mod. To facilitate user-selectable sizes I have to generate a prototype for every combination of (width x height). This all works find, except that the "Set filter" dialogue of the deconstruction planner now shows several thousand pointless filters. I tried setting flags on the prototypes, but "hidden" doesn't seem to do anything, and "not-deconstructible" makes it so that not even LuaForce.order_deconstruction() works anymore.

TL;DR: How do I hide my entities from the filter selection while still keeping natural deconstruction behavior?

deconfilterspam.png
deconfilterspam.png (200.84 KiB) Viewed 917 times