I'm trying to get a resource to show up in the Factoriopedia as appearing on a specific planet, but not be present during map gen or ever being naturally spawned on the planet, but instead placed by my mod during runtime
One thing I encountered while trying to accomplish that was that AutoplaceControl.hidden = true doesn't seem to do anything. Can this be implemented to hide the resource controls from the map generation screen?
Thanks!
For clarity, I mean this screen:
AutoplaceControl.hidden = true to hide the control from the map generation screen
Re: AutoplaceControl.hidden = true to hide the control from the map generation screen
But if you don't want it to be auto placed, why do you need an AutoplaceControl? You can define the prototype and just place it with create_entity.
Re: AutoplaceControl.hidden = true to hide the control from the map generation screen
So Factoriopedia still shows it as appearing on the planet.i142857 wrote: Sat Jan 04, 2025 4:32 pm But if you don't want it to be auto placed, why do you need an AutoplaceControl? You can define the prototype and just place it with create_entity.
Re: AutoplaceControl.hidden = true to hide the control from the map generation screen
Okay, fixed that hiding an autoplace control did not remove it from the map generator GUI for 2.0.67.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.