Set spidertron body orientation

Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 672
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Set spidertron body orientation

Post by Xorimuth »

Currently Spidertrons cannot have their orientation/direction set and their `supports_direction` is false. Whilst this make sense (spidertrons are complex entities!), it means that when you create them with `surface.create_entity` they are always in exactly the same position and orientation.

I'd like to at least be able to change the direction that their head is facing.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

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

Re: Set spidertron body orientation

Post by Rseding91 »

Ok, I added LuaEntity::torso_orientation read/write for the next release.
If you want to get ahold of me I'm almost always on Discord.

Xorimuth
Filter Inserter
Filter Inserter
Posts: 672
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Set spidertron body orientation

Post by Xorimuth »

Brilliant! Hopefully I won't be waiting as long for this release as I had to for all the 1.1.0 implemented mod requests :lol:
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Post Reply

Return to “Implemented mod requests”