Add a way to get the items request of an item-request-proxy.

Articulating
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Mon Oct 17, 2016 10:33 am
Contact:

Add a way to get the items request of an item-request-proxy.

Post by Articulating »

Title says it all, would be great to have some way to get the requests of an item-request-proxy entity.
EDIT: Would it also be possible to have the item-request-proxy be returned as the third value from LuaEntity::revive()?
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5341
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Add a way to get the items request of an item-request-proxy.

Post by Klonan »

Articulating wrote:Title says it all, would be great to have some way to get the requests of an item-request-proxy entity.
EDIT: Would it also be possible to have the item-request-proxy be returned as the third value from LuaEntity::revive()?
There is this property for the entity ghosts:
http://lua-api.factorio.com/latest/LuaE ... m_requests
Articulating
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Mon Oct 17, 2016 10:33 am
Contact:

Re: Add a way to get the items request of an item-request-proxy.

Post by Articulating »

Yes, but unfortunately that isn't very helpful after the ghost is revived.
posila
Factorio Staff
Factorio Staff
Posts: 5440
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Add a way to get the items request of an item-request-proxy.

Post by posila »

Turns out Rseding already implemented item_requests also for the proxy for 0.15
Articulating
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Mon Oct 17, 2016 10:33 am
Contact:

Re: Add a way to get the items request of an item-request-proxy.

Post by Articulating »

Ah, unfortunately I missed it before in the 0.15 API changes list. Any chance we could still get the proxy request returned from ::revive()?
posila
Factorio Staff
Factorio Staff
Posts: 5440
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Add a way to get the items request of an item-request-proxy.

Post by posila »

Articulating wrote:Ah, unfortunately I missed it before in the 0.15 API changes list. Any chance we could still get the proxy request returned from ::revive()?
Ok, also implemented for 0.15
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Add a way to get the items request of an item-request-proxy.

Post by Nexela »

You Devs steal my heart!
Post Reply

Return to “Implemented mod requests”