LuaEntityPrototype.height (for spidertrons)

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

LuaEntityPrototype.height (for spidertrons)

Post by Xorimuth »

I'd like a rough proxy for how far a particular type of spidertron can reach over large buildings/water/etc in control stage. It seems to me that exposing https://wiki.factorio.com/Prototype/Spi ... cle#height in LuaEntityPrototype would be a good estimate (set to 1.5 * scale * leg_scale in base's create_spidertron() function), but anything that you think would be appropriate would be fine. I'm not looking for an exact amount of tiles, just something that is likely to scale proportionally to the amount of tiles, probably because it is set by leg_scale.

Thanks!
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

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

Re: LuaEntityPrototype.height (for spidertrons)

Post by Xorimuth »

LuaEntityPrototype::height was added in 1.1.60, along a bunch of other spider-vehicle attributes.
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Post Reply

Return to “Implemented mod requests”