[2.0.66] Find outstanding requests / requests in flight for an entity (chest)

Things that already exist in the current mod API
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 140
Joined: Tue Feb 06, 2024 5:18 am
Contact:

[2.0.66] Find outstanding requests / requests in flight for an entity (chest)

Post by hgschmie »

I was looking for a simple way to find out for a requester or buffer chest how many items are currently "in flight" to be delivered.

Basically programmatic access to this information:
Screenshot 2025-09-06 at 15.07.01.png
Screenshot 2025-09-06 at 15.07.01.png (67.12 KiB) Viewed 527 times
Is that possible?
Bilka
Factorio Staff
Factorio Staff
Posts: 3644
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)

Post by Bilka »

Just the "on the way", right?

Is this something you'd want for example on a requester chest giving all items with counts, or like that tooltip screenshot as a per item query?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 140
Joined: Tue Feb 06, 2024 5:18 am
Contact:

Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)

Post by hgschmie »

I had a user asking whether it is possible to expose that information to the circuit network (https://github.com/hgschmie/factorio-in ... d/issues/4) and I started poking around to see whether this information is available.

I guess having a way to ask a requester or buffer chest "what is in flight for delivery" and get back a list of all items with counts in flight would be great.
Bilka
Factorio Staff
Factorio Staff
Posts: 3644
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)

Post by Bilka »

I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 140
Joined: Tue Feb 06, 2024 5:18 am
Contact:

Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)

Post by hgschmie »

Cool, thanks! This is a part of the lua api that I have not yet ventured into. I think this is what I was looking for.
Post Reply

Return to “Already exists”