Add water sounds and make water movement harder
This commit is contained in:
parent
a8601de924
commit
af33315061
@ -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
|
||||
|
||||
|
@ -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,
|
||||
})
|
||||
|
||||
|
@ -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
|
||||
|
BIN
mods/default/sounds/default_liquid_footstep.1.ogg
Normal file
BIN
mods/default/sounds/default_liquid_footstep.1.ogg
Normal file
Binary file not shown.
BIN
mods/default/sounds/default_liquid_footstep.2.ogg
Normal file
BIN
mods/default/sounds/default_liquid_footstep.2.ogg
Normal file
Binary file not shown.
BIN
mods/default/sounds/default_liquid_footstep.3.ogg
Normal file
BIN
mods/default/sounds/default_liquid_footstep.3.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user