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?
How do I hide entites from the deconstruction planner?
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
How do I hide entites from the deconstruction planner?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.