I would find this quite handy as get_logistic_network is nil when in the construction area.
luaentity.in_construction_network (read only bool), Returns true if entity is inside of any construction network.
Thanks for looking into this!
LuaEntity.in_construction_network
Re: LuaEntity.in_construction_network
I added a way to get all logistic networks that overlap a given position owned by a specific force on a specific surface for 0.15.
If you want to get ahold of me I'm almost always on Discord.