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:
Is that possible?
[2.0.66] Find outstanding requests / requests in flight for an entity (chest)
Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)
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?
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.
Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)
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.
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.
Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)
This already exists as LuaLogisticPoint::targeted_items_deliver.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [2.0.66] Find outstanding requests / requests in flight for an entity (chest)
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.