Agricultural tower grappler current position read

Osmo
Inserter
Inserter
Posts: 48
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Agricultural tower grappler current position read

Post by Osmo »

With the new agricultural tower features it opens up possibilities to use it for more than just agriculture. For my usecase i'd like to be able to draw with LuaRendering at the position of the crane, as an item icon won't be enough. It is currently possible to read the destination of the crane/grappler, but not their current position.
I'm asking for a LuaEntity::crane_grappler_position (and/or a 3d variant) to read the current position of the grappler.
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 263
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: Agricultural tower grappler current position read

Post by Lou »

added a read LuaEntity::crane_end_position_3d that returns current position of the crane end for 2.0.50
Post Reply

Return to “Implemented mod requests”