diff --git a/minetest.conf b/minetest.conf index 91c17f8..0f2cdc6 100644 --- a/minetest.conf +++ b/minetest.conf @@ -16,8 +16,8 @@ movement_speed_climb = 2.4 movement_speed_descend = 3.8 movement_speed_jump = 6.9 -movement_liquid_fluidity = 0.8 -movement_liquid_sink = 30.0 +movement_liquid_fluidity = 0.75 +movement_liquid_sink = 40.0 movement_gravity = 9.8 diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 93494e0..d19b225 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -941,6 +941,7 @@ minetest.register_node( liquid_viscosity = default.WATER_VISC, post_effect_color = {a = 90, r = 40, g = 40, b = 100}, groups = {water = 1, flowing_water = 1, liquid = 1}, + sounds = default.node_sound_liquid_defaults(), is_ground_content = false, }) @@ -970,6 +971,7 @@ minetest.register_node( liquid_viscosity = default.WATER_VISC, post_effect_color = {a=90, r=40, g=40, b=100}, groups = {water=1, liquid=1}, + sounds = default.node_sound_liquid_defaults(), is_ground_content = false, }) @@ -1007,6 +1009,7 @@ minetest.register_node( liquid_range = 1, post_effect_color = {a=40, r=40, g=70, b=100}, groups = {water=1, flowing_water = 1, river_water = 1, liquid=1}, + sounds = default.node_sound_liquid_defaults(), is_ground_content = false, }) @@ -1038,6 +1041,7 @@ minetest.register_node( liquid_range = 1, post_effect_color = {a=40, r=40, g=70, b=100}, groups = {water = 1, river_water = 1, liquid = 1}, + sounds = default.node_sound_liquid_defaults(), is_ground_content = false, }) @@ -1075,6 +1079,7 @@ minetest.register_node( liquid_range = 2, post_effect_color = {a=220, r=50, g=40, b=70}, groups = {water=1, flowing_water = 1, swamp_water = 1, liquid=1}, + sounds = default.node_sound_liquid_defaults(), is_ground_content = false, }) @@ -1106,6 +1111,7 @@ minetest.register_node( liquid_range = 2, post_effect_color = {a=220, r=50, g=40, b=70}, groups = {water = 1, swamp_water = 1, liquid = 1}, + sounds = default.node_sound_liquid_defaults(), is_ground_content = false, }) diff --git a/mods/default/sounds.lua b/mods/default/sounds.lua index 4b956d2..42b73ab 100644 --- a/mods/default/sounds.lua +++ b/mods/default/sounds.lua @@ -104,3 +104,11 @@ function default.node_sound_snow_defaults(table) default.node_sound_defaults(table) return table end + +function default.node_sound_liquid_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="default_liquid_footstep", gain=1.0} + default.node_sound_defaults(table) + return table +end diff --git a/mods/default/sounds/default_liquid_footstep.1.ogg b/mods/default/sounds/default_liquid_footstep.1.ogg new file mode 100644 index 0000000..7122157 Binary files /dev/null and b/mods/default/sounds/default_liquid_footstep.1.ogg differ diff --git a/mods/default/sounds/default_liquid_footstep.2.ogg b/mods/default/sounds/default_liquid_footstep.2.ogg new file mode 100644 index 0000000..21e11a5 Binary files /dev/null and b/mods/default/sounds/default_liquid_footstep.2.ogg differ diff --git a/mods/default/sounds/default_liquid_footstep.3.ogg b/mods/default/sounds/default_liquid_footstep.3.ogg new file mode 100644 index 0000000..a550b3a Binary files /dev/null and b/mods/default/sounds/default_liquid_footstep.3.ogg differ