Page 1 of 1

[Request] Adapt event on_player_placed_equipment

Posted: Tue Oct 29, 2019 9:05 pm
by DragonD
I suggest you adapt the event on_player_placed_equipment https://lua-api.factorio.com/latest/eve ... _equipment to contain the entity or luaplayer that the equipment has been added to. For example, this could be used to do some sort of effect on the entity that the equipment is inserted to. Or some way to find out the owner of the equipment. :idea:

Re: [Request] Adapt event on_player_placed_equipment

Posted: Tue Oct 29, 2019 9:19 pm
by Rseding91
The game doesn't know what entity or player the equipment was placed into - which is why it's not in the event :)

Re: [Request] Adapt event on_player_placed_equipment

Posted: Tue Oct 29, 2019 9:25 pm
by DragonD
Ok thx. I guess I will have to get back to the drawing board.