Merge pull request 'Snow layers and blocks drop nothing by hand' (#2532) from SumianVoice/MineClone2_c:snow_drop_fix into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2532
Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
cora 2022-08-07 21:36:22 +00:00
commit 2c814db0d7
2 changed files with 3 additions and 3 deletions

View File

@ -1053,7 +1053,7 @@ for i=1,8 do
mcl_core.clear_snow_dirt(npos, node)
end,
node_box = node_box,
groups = {shovely=1, attached_node=1,deco_block=1, dig_by_piston=1, snow_cover=1, top_snow=i},
groups = {shovely=2, attached_node=1,deco_block=1, dig_by_piston=1, snow_cover=1, top_snow=i},
sounds = mcl_sounds.node_sound_snow_defaults(),
on_construct = mcl_core.on_snow_construct,
on_place = on_place,
@ -1072,7 +1072,7 @@ minetest.register_node("mcl_core:snowblock", {
tiles = {"default_snow.png"},
is_ground_content = true,
stack_max = 64,
groups = {shovely=1, building_block=1, snow_cover=1},
groups = {shovely=2, building_block=1, snow_cover=1},
sounds = mcl_sounds.node_sound_snow_defaults(),
on_construct = mcl_core.on_snow_construct,
after_destruct = mcl_core.after_snow_destruct,

View File

@ -288,7 +288,7 @@ minetest.register_tool("mcl_tools:shovel_wood", {
_repair_material = "group:wood",
_mcl_toollike_wield = true,
_mcl_diggroups = {
shovely = { speed = 2, level = 1, uses = 60 }
shovely = { speed = 2, level = 2, uses = 60 }
},
})
minetest.register_tool("mcl_tools:shovel_stone", {