Page 1 of 1

Option to hide recipes/entities from bonuses GUI

Posted: Fri Jul 11, 2025 1:40 am
by Thremtopod
Hidden recipes and entities still show up in the bonus GUI.
Image
This mod uses altered, hidden versions of existing recipes and entities (with automatic switching) to mimic a module effect for a custom module type. It would be helpful to have an option to hide these from the bonus GUI.

Re: Option to hide recipes/entities from bonuses GUI

Posted: Fri Jul 11, 2025 10:39 pm
by Osmo
Do they show even if they have hidden set to true? Sounds like they should not be displayed there when hidden.
But a manual override would be nice too

Re: Option to hide recipes/entities from bonuses GUI

Posted: Sat Jul 12, 2025 1:23 am
by Thremtopod
Osmo wrote: Fri Jul 11, 2025 10:39 pm Do they show even if they have hidden set to true? Sounds like they should not be displayed there when hidden.
But a manual override would be nice too
Yes, they show up when hidden is set to true. I'd originally expected that anything that's 'hidden' overall would be hidden in the bonuses GUI. But there are a few other 'hidden_in_*' properties that can override it for a particular setting.

Re: Option to hide recipes/entities from bonuses GUI

Posted: Mon Jul 14, 2025 12:51 pm
by Rseding91
Ok, I added RecipePrototype::hide_from_bonus_gui for the next release.