Better message for when modules are blocked by recipe's allowed_module_categories

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Thremtopod
Inserter
Inserter
Posts: 48
Joined: Wed Nov 06, 2024 8:52 pm
Contact:

Better message for when modules are blocked by recipe's allowed_module_categories

Post by Thremtopod »

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.
Post Reply

Return to “Modding interface requests”