Skip to content

Instantly share code, notes, and snippets.

@Jordach
Created January 29, 2017 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jordach/a0cf1ef22e2913da872f65f736a925bd to your computer and use it in GitHub Desktop.
Save Jordach/a0cf1ef22e2913da872f65f736a925bd to your computer and use it in GitHub Desktop.
on_place = function(itemstack, placer, pointed_thing)
local stack = ItemStack(":")
local ret = minetest.item_place(stack, placer, pointed_thing)
return ItemStack("newhand:hand "..itemstack:get_count())
end,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment