mirror of
https://bitbucket.org/kingarthursteam/christmas_craft.git
synced 2024-11-15 14:50:41 +01:00
added the group sign to the default stick overwrite to be able to craft fences and signs
This commit is contained in:
parent
0c79d31889
commit
030171f6c0
11
init.lua
11
init.lua
|
@ -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(),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user