Some identifier linking mined entities with mined items
Some identifier linking mined entities with mined items
When on_player_mined_item fires, there seems to be no information available about the entity that was mined because it is gone. I would like for there to be some identifier in on_player_mined_entity and on_player_mined_item that allows them to be matched up, so that I can save some info about the entity while it still exists, to be referred to shortly afterward.
Re: Some identifier linking mined entities with mined items
on_player_mined_entity already provides you information on both the entity and the mined item(s). Moving to already exists.
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: Some identifier linking mined entities with mined items
Sorry for not being specific enough in my request. I'll try again.