added the group sign to the default stick overwrite to be able to craft fences and signs

This commit is contained in:
adrido 2014-01-05 07:43:37 +01:00
parent 0c79d31889
commit 030171f6c0
1 changed files with 2 additions and 9 deletions

View File

@ -674,14 +674,7 @@ minetest.register_node("christmas_craft:silver_baubles", {
-- crafts --
--for craft see in craft.lua
-- override --
--minetest.registered_nodes["default:stick"].drawtype="torchlike";
--minetest.registered_nodes["default:stick"].selection_box = {
-- type = "wallmounted",
-- wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1},
-- }
--overwrite the default stick
minetest.register_node(":default:stick", {
description = "stick",
@ -698,7 +691,7 @@ minetest.register_node(":default:stick", {
type = "wallmounted",
wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1},
},
groups = {choppy=2,dig_immediate=3,flammable=1},
groups = {choppy=2,dig_immediate=3,flammable=1,stick=1},
legacy_wallmounted = true,
sounds = default.node_sound_defaults(),
})