
Thank you!
How about an update_mining_drills flag in LuaSurface.create_entity{} to do the search only when needed?Rseding91 wrote: Wed Jul 03, 2019 5:49 pmwe would have to do an entity search every time a resource entity is created and that would be a lot of wasted CPU time.
Is here some mining_drill_entity.working_state? How to get if the mining drill goes to unlimited idle state?Rseding91 wrote: Wed Jul 03, 2019 5:49 pm I could add a flag to allow this but the mining drill won't start working when a resource is placed under it because we would have to do an entity search every time a resource entity is created and that would be a lot of wasted CPU time.