Looking for an event handler that triggers on setting or changing a recipe in any way. But the closest one I could find was on_selected_entity_changed, but I don't know how it works.
What I am wanting to do is, in a scenario, only allow certain recipes to be configured in a given area by unsetting recipes that were set outside of the allowed area.
But then I found this post, so now I am wondering if this scenario is even possible. viewtopic.php?t=61339
The whole premise of the scenario revolves around restricting recipes and entities to certain areas. If I can't do the recipe part then there is no point.
Any tips appreciated!
Recipe Set Event Handler
Re: Recipe Set Event Handler
If I have to I could also mark offending entities for deconstruction. But how can I scan the recipes on each entity in an area?
Re: Recipe Set Event Handler
That's been already discussed: viewtopic.php?t=61339
But you can ask there if they could implement it now, since circuits are able to set the recipe
But you can ask there if they could implement it now, since circuits are able to set the recipe