Hiding modules from allowed module list
Posted: Wed Mar 12, 2025 9:40 pm
TL;DR
Add ability to hide module from "allowed modules" listWhat?
Add a field "hide_from_allowed_modules_list" in ModulePrototypeOptional. Defaults to false.
Setting it to true hides the module from "allowed modules" list when hovering over module slots on beacons, assemblers, etc.
Why?
I'm making a mod that allows you to modify and make different versions of modulesThis makes the essentially same module show up in the list
However, I do not want to hide the module completely as I still need to show it's recipe and effects. (So I made a separate ui tab for that)
With this, I could just hide the modified versions from the list, as they are assumed to be allowed anyway.