Find logistic robots target

Place to get help with not working mods / modding interface.
Post Reply
wahlencraft
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Jan 11, 2021 5:02 pm
Contact:

Find logistic robots target

Post by wahlencraft »

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.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Find logistic robots target

Post by Deadlock989 »

I just had a look through out of interest, and I can't find anything like that either, so either it's not accessible to scripts or it's buried somewhere non-obvious.
Image

wahlencraft
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Jan 11, 2021 5:02 pm
Contact:

Re: Find logistic robots target

Post by wahlencraft »

Deadlock989 wrote:
Mon Jan 11, 2021 11:51 pm
I just had a look through out of interest, and I can't find anything like that either, so either it's not accessible to scripts or it's buried somewhere non-obvious.
Thanks for trying :)

Post Reply

Return to “Modding help”