I want to set the current position of the hand so that when I create the entities they will start with the hand in the right spot, rather than having to animate to get there.
Writable LuaEntity:held_stack_position
Writable LuaEntity:held_stack_position
I want to set the current position of the hand so that when I create the entities they will start with the hand in the right spot, rather than having to animate to get there.
Last edited by sparr on Sun May 07, 2017 6:02 pm, edited 1 time in total.
Re: Writable LuaEntity:held_stack and held_stack_position
held_stack is an inventory stack so doing this will work inserter.held_stack.set_stack({name=item, count=1})
Last edited by Nexela on Sun May 07, 2017 6:12 pm, edited 1 time in total.
Re: Writable LuaEntity:held_stack_position
Thanks. It is a LuaItemStack and you seem to be right! Halfway there!