Page 1 of 1

Agricultural tower grappler current position read

Posted: Mon May 12, 2025 8:05 pm
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.

Re: Agricultural tower grappler current position read

Posted: Thu May 15, 2025 2:41 pm
by Lou
added a read LuaEntity::crane_end_position_3d that returns current position of the crane end for 2.0.50