Tweak snappy digging groups

This commit is contained in:
Wuzzy 2019-09-24 02:53:21 +02:00
parent a9c20c4a1d
commit f359a27349
2 changed files with 12 additions and 12 deletions

View File

@ -408,7 +408,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
},
groups = {snappy = 2, handy = 2, attached_node = 1, sapling = 1},
groups = {snappy = 2, handy = 1, attached_node = 1, sapling = 1},
is_ground_content = false,
sounds = default.node_sound_defaults(),
@ -439,7 +439,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
},
groups = {snappy = 2, handy = 2, attached_node = 1, sapling = 1},
groups = {snappy = 2, handy = 1, attached_node = 1, sapling = 1},
sounds = default.node_sound_defaults(),
on_timer = function(pos)
@ -469,7 +469,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
},
groups = {snappy = 2, handy = 2, attached_node = 1, sapling = 1},
groups = {snappy = 2, handy = 1, attached_node = 1, sapling = 1},
is_ground_content = false,
sounds = default.node_sound_defaults(),
@ -1098,7 +1098,7 @@ minetest.register_node(
sunlight_propagates = true,
walkable = false,
floodable = true,
groups = {fleshy = 3, handy = 2, leafdecay = 3, leafdecay_drop = 1, food = 2},
groups = {snappy = 3, handy = 2, leafdecay = 3, leafdecay_drop = 1, food = 2},
on_use = minetest.item_eat({hp = 2, sat = 10}),
sounds = default.node_sound_defaults(),
})

View File

@ -26,7 +26,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, seed=1},
groups = {snappy=3, handy=2, attached_node=1, seed=1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -53,7 +53,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
groups = {snappy=3, handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -80,7 +80,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
groups = {snappy=3, handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -110,7 +110,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
groups = {snappy=3, handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -138,7 +138,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, seed=1},
groups = {snappy=3, handy=2, attached_node=1, seed=1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -165,7 +165,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
groups = {snappy=3, handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -192,7 +192,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
groups = {snappy=3, handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
sounds=default.node_sound_leaves_defaults()
}
)
@ -222,7 +222,7 @@ minetest.register_node(
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.5+(4/16), 0.5}
},
groups = {handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
groups = {snappy=3, handy=2, attached_node=1, not_in_craft_guide = 1, not_in_creative_inventory = 1},
sounds=default.node_sound_leaves_defaults(),
on_punch = function(pos, node, player)
local name = player:get_wielded_item():get_name()