Find logistic robots target
Posted: Mon Jan 11, 2021 6:46 pm
I need to figure out where some logistic robots are headed, or more specifically if it's delivering to the player or something else.
I get a table of all logistic robots in the network with network.logistic_robots. From there I have figured out how to find the robots position and inventory. But I have looked through the documentation on LuaEntity (https://lua-api.factorio.com/latest/LuaEntity.html) and LuaControl but could not find anything for its target. Most of the functions does not even work on logistic robots.
I'm beginning to think that this might not be possible, but I thought I should ask for help before giving up.
I get a table of all logistic robots in the network with network.logistic_robots. From there I have figured out how to find the robots position and inventory. But I have looked through the documentation on LuaEntity (https://lua-api.factorio.com/latest/LuaEntity.html) and LuaControl but could not find anything for its target. Most of the functions does not even work on logistic robots.
I'm beginning to think that this might not be possible, but I thought I should ask for help before giving up.