newhand/init.lua

20 lines
423 B
Lua
Raw Normal View History

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,
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",
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)