LuaPlayerRotatedEntityEventFilter

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Sat Mar 05, 2022 11:30 am
Contact:

LuaPlayerRotatedEntityEventFilter

Post by _CodeGreen »

I'm trying to hook all events that modify an existing entity, and filter it to just transport belt connectables.
However, on_player_rotated_entity does not have an event filter, and as you may have guessed, that is the request.
My Mods | If you can't make it perfect, make it adjustable

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

Re: LuaPlayerRotatedEntityEventFilter

Post by Rseding91 »

I’m not against adding filters but generally the filters are for when the event happens a lot and to allow filtering out the ones a mod doesn’t need without paying the overhead of filtering on the lua side. In this case the event is super rare and performance isn’t really a concern.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Modding interface requests”