[Request] Adapt event on_player_placed_equipment

Things that we aren't going to implement
Post Reply
DragonD
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Oct 13, 2019 10:10 am
Contact:

[Request] Adapt event on_player_placed_equipment

Post 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:

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Request] Adapt event on_player_placed_equipment

Post 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 :)
If you want to get ahold of me I'm almost always on Discord.

DragonD
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Oct 13, 2019 10:10 am
Contact:

Re: [Request] Adapt event on_player_placed_equipment

Post by DragonD »

Ok thx. I guess I will have to get back to the drawing board.

Post Reply

Return to “Won't implement”