From 9324c43d8da9de58b265438607810216e95e9b79 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 8 Dec 2020 16:56:27 +0100 Subject: [PATCH] Reduce grass sound volume --- mods/CORE/mcl_sounds/init.lua | 4 ++-- mods/ITEMS/mcl_core/nodes_base.lua | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/CORE/mcl_sounds/init.lua b/mods/CORE/mcl_sounds/init.lua index b4d43f0c8..13ca7bf72 100644 --- a/mods/CORE/mcl_sounds/init.lua +++ b/mods/CORE/mcl_sounds/init.lua @@ -114,9 +114,9 @@ end function mcl_sounds.node_sound_leaves_defaults(table) table = table or {} table.footstep = table.footstep or - {name="default_grass_footstep", gain=0.35} + {name="default_grass_footstep", gain=0.1325} table.dug = table.dug or - {name="default_grass_footstep", gain=0.85} + {name="default_grass_footstep", gain=0.425} table.dig = table.dig or {name="default_dig_snappy", gain=0.4} table.place = table.place or diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index 978dde648..9705514c7 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -331,7 +331,7 @@ minetest.register_node("mcl_core:dirt_with_grass", { groups = {handy=1,shovely=1,dirt=2,grass_block=1, grass_block_no_snow=1, soil=1, soil_sapling=2, soil_sugarcane=1, cultivatable=2, spreading_dirt_type=1, enderman_takable=1, building_block=1}, drop = 'mcl_core:dirt', sounds = mcl_sounds.node_sound_dirt_defaults({ - footstep = {name="default_grass_footstep", gain=0.4}, + footstep = {name="default_grass_footstep", gain=0.1}, }), on_construct = function(pos) local node = minetest.get_node(pos) @@ -366,7 +366,7 @@ minetest.register_node("mcl_core:grass_path", { }, groups = {handy=1,shovely=1, cultivatable=2, dirtifies_below_solid=1, dirtifier=1, deco_block=1 }, sounds = mcl_sounds.node_sound_dirt_defaults({ - footstep = {name="default_grass_footstep", gain=0.4}, + footstep = {name="default_grass_footstep", gain=0.1}, }), _mcl_blast_resistance = 0.65, _mcl_hardness = 0.6, @@ -382,7 +382,7 @@ minetest.register_node("mcl_core:mycelium", { groups = {handy=1,shovely=1, dirt=2,spreading_dirt_type=1, enderman_takable=1, building_block=1}, drop = 'mcl_core:dirt', sounds = mcl_sounds.node_sound_dirt_defaults({ - footstep = {name="default_grass_footstep", gain=0.4}, + footstep = {name="default_grass_footstep", gain=0.1}, }), on_construct = mcl_core.on_snowable_construct,