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()?
Add a way to get the items request of an item-request-proxy.
-
- 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.
There is this property for the entity ghosts: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()?
http://lua-api.factorio.com/latest/LuaE ... m_requests
-
- 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.
Yes, but unfortunately that isn't very helpful after the ghost is revived.
Re: Add a way to get the items request of an item-request-proxy.
Turns out Rseding already implemented item_requests also for the proxy for 0.15
-
- 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.
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()?
Re: Add a way to get the items request of an item-request-proxy.
Ok, also implemented for 0.15Articulating 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()?
Re: Add a way to get the items request of an item-request-proxy.
You Devs steal my heart!