[Not-implemented] item_requests for non-ghost entities
Posted: Sun May 28, 2017 12:30 pm
Request:
make LuaEntity::item_requests accessible for non-ghost entities that have inventory, so we can know what items will be delivered and what are still missing (or how many slots will still be available)
(Even though we can already do this by finding item-request-proxy on the entity, but it is complicated and using find_entity for such purpose doesn't sound right.)
(And it is even worse that LuaSurface::find_entity cannot find item-request-proxy. We have to use find_entities instead.)
make LuaEntity::item_requests accessible for non-ghost entities that have inventory, so we can know what items will be delivered and what are still missing (or how many slots will still be available)
(Even though we can already do this by finding item-request-proxy on the entity, but it is complicated and using find_entity for such purpose doesn't sound right.)
(And it is even worse that LuaSurface::find_entity cannot find item-request-proxy. We have to use find_entities instead.)