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

View File

@ -674,14 +674,7 @@ minetest.register_node("christmas_craft:silver_baubles", {
-- crafts -- -- crafts --
--for craft see in craft.lua --overwrite the default stick
-- 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},
-- }
minetest.register_node(":default:stick", { minetest.register_node(":default:stick", {
description = "stick", description = "stick",
@ -698,7 +691,7 @@ minetest.register_node(":default:stick", {
type = "wallmounted", type = "wallmounted",
wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1}, 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, legacy_wallmounted = true,
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
}) })