position of items on transport line

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

position of items on transport line

Post by sparr »

I would like to know where on the belt the items are, either in the 1d coordinate system of the "position" used by other luatransportline functions, or in the 2d world Position coordinate system.

Use case: figure out viewtopic.php?f=28&t=59065 by checking for changed positions
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

location of items on transportline

Post by sparr »

I have a LuaTransportLine with some items on it. I want to know where on the belt/line they are located.

This is an alternative to viewtopic.php?f=28&t=59065 with the same goal.
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: position of items on transport line

Post by sparr »

I could check the positions of the last two items to see if they are in the "over-packed" state of a stalled belt.
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: position of items on transport line

Post by sparr »

Bump! Could still use this.
Post Reply

Return to “Modding interface requests”