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?
Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt
-
- Inserter
- Posts: 38
- Joined: Fri Jun 11, 2021 5:20 pm
- Contact:
-
- 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
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.
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.
-
- 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
+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.
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.