Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
GlassBricks
Inserter
Inserter
Posts: 25
Joined: Fri Jun 11, 2021 5:20 pm
Contact:

Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt

Post by GlassBricks »

Right now, no event is triggered when an underground belt is rotated by dragging a belt over it in the opposite direction.

Could we add some event, such as on_player_rotated_entity, to detect this?

bitwiseshiftleft
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 26, 2020 7:09 pm
Contact:

Re: Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt

Post by bitwiseshiftleft »

Bumping:

I'm also interested in having an event for this (such as on_player_rotated_entity). Alternatively / in addition: would it be possible to make belt dragging respect entity.rotatable?

My mod has belts / undergrounds that I don't want to be rotatable, or at least currently the setup doesn't support that. So it marks them as non rotatable, but this doesn't stop the player from (accidentally) reversing the underground belts. This would be fine if I could detect it and rotate them back but currently I can't.

Post Reply

Return to “Modding interface requests”