Page 1 of 1

Hiding modules from allowed module list

Posted: Wed Mar 12, 2025 9:40 pm
by MsBinaryLily
TL;DR
Add ability to hide module from "allowed modules" list

What?
Add a field "hide_from_allowed_modules_list" in ModulePrototype
Optional. Defaults to false.
Setting it to true hides the module from "allowed modules" list when hovering over module slots on beacons, assemblers, etc.
Why?
изображение.png
изображение.png (2.62 MiB) Viewed 146 times
I'm making a mod that allows you to modify and make different versions of modules
This makes the essentially same module show up in the list 8 14 additional times, generating insane amount of clutter, and greatly reducing UX for mod users.
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.

Re: Hiding modules from allowed module list

Posted: Sat Mar 22, 2025 11:53 pm
by BraveCaperCat
Seems like a good idea. Can't wait to see your mod once it's done. And how bad that active modules list looks like when you add overclocked efficiency, productivity and quality modules to your mod.