Anybody got use cases for these LuaPlayer methods?

Place to get help with not working mods / modding interface.
User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 736
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Anybody got use cases for these LuaPlayer methods?

Post by DRY411S »

disable_recipe_groups() Disable recipe groups.
enable_recipe_groups() Enable recipe groups.
disable_recipe_subgroups() Disable recipe subgroups.
enable_recipe_subgroups() Enable recipe subgroups

I was hoping I might use them with arguments to hide recipes sub-groups or recipe group tabs, but they are all 'on' or all 'off' and just string all the recipes together without line breaks between the subgroups.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Anybody got use cases for these LuaPlayer methods?

Post by eradicator »

The usecase is to get back the behavior that existed before the corresponding options were removed from the settings gui :P. I always play with both off becaues i don't care about what category stuff is in, and neither do i enjoy having to click through all the categories when trying to find something instead of just being able to scroll a single list. It also makes search results easier to access.
Post Reply

Return to “Modding help”