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.
GlassBricks
Inserter
Inserter
Posts: 38
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.
protocol_1903
Long Handed Inserter
Long Handed Inserter
Posts: 99
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

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

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Post Reply

Return to “Modding interface requests”