Better message for when modules are blocked by recipe's allowed_module_categories
Posted: Sat Jul 11, 2026 4:07 pm
When a module is blocked from being used in an entity by the entity prototype's allowed_module_categories, and a player tries to insert it into that entity, they get a message saying "<module> can't be used in <entity>". But when a module is blocked from being used in a recipe, and the player tries to insert into a crafting machine making that recipe, they get the same message. This is misleading because it gives the impression that the entity, rather than the recipe, is blocking the module. There should be a similar message, "<module> can't be used in <recipe>" instead.
I'm posting this in modding interface requests because only modded entities/recipes actually use allowed_module_categories.
I'm posting this in modding interface requests because only modded entities/recipes actually use allowed_module_categories.