I know how to load an item in to player's cursor :
Code: Select all
player.cursor_stack.set_stack({name = "test", count = 1})
player.remove_item({name = "test", count = 1})
But it does not put it back at the same place, as the game does.
When you manually pick up an item in your bag, the game draws a little black hand in place of the picked item.
And when you clear the cursor, the item comes back at this memorised location.
Is there a way to do this with the API ?