2017-01-15 18:42:18 -05:00
|
|
|
minetest.register_node("newhand:hand", {
|
|
|
|
description = "",
|
2017-01-17 01:09:44 -05:00
|
|
|
tiles = {"character.png"},
|
2017-01-15 18:42:18 -05:00
|
|
|
on_place = function(itemstack, placer, pointed_thing)
|
2017-01-22 16:18:36 -05:00
|
|
|
return
|
2017-01-15 18:42:18 -05:00
|
|
|
end,
|
2017-01-16 14:16:25 -08:00
|
|
|
visual_scale = 1,
|
2017-01-18 20:11:38 -05:00
|
|
|
wield_scale = {x=1,y=1,z=1},
|
2017-01-15 18:42:18 -05:00
|
|
|
paramtype = "light",
|
|
|
|
drawtype = "mesh",
|
2017-01-16 14:16:25 -08:00
|
|
|
mesh = "hand.b3d",
|
2017-01-22 16:17:05 -05:00
|
|
|
node_placement_prediction = "",
|
2017-01-15 18:42:18 -05:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_on_joinplayer(function(player)
|
|
|
|
player:get_inventory():set_stack("hand", 1, "newhand:hand")
|
|
|
|
end)
|
|
|
|
|
|
|
|
|