LuaEntity.in_construction_network

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

LuaEntity.in_construction_network

Post by Nexela »

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!
Rseding91
Factorio Staff
Factorio Staff
Posts: 14913
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaEntity.in_construction_network

Post by Rseding91 »

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

Return to “Implemented mod requests”