Interact with logistic networks via script

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
SWeini
Inserter
Inserter
Posts: 35
Joined: Mon Apr 04, 2022 6:43 am
Contact:

Interact with logistic networks via script

Post by SWeini »

I'm playing around with an idea of a pre-bot scripted logistic network that would transition seamlessly into the bot era. For this I'd need to interact with the logistic networks in more ways than the current modding interface allows.

For example, I can see whether a logistic request is already being fulfilled by a bot. This way I can prevent sending my own "bots" to prevent duplicate work. However there is no way to tell the bot network that my system is already taking care of the request.

I have found the following methods to read the state of the logistic network and wish for equivalent methods working the other direction.
LuaEntity.is_registered_for_construction
LuaEntity.is_registered_for_deconstruction
LuaLogisticPoint.targeted_items_pickup
LuaLogisticPoint.targeted_items_deliver

Post Reply

Return to “Modding interface requests”