Skip to content

Commit

Permalink
Replace some sounds with new sounds (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
An0n3m0us committed Aug 29, 2020
1 parent 1da168b commit befed55
Show file tree
Hide file tree
Showing 33 changed files with 62 additions and 30 deletions.
64 changes: 41 additions & 23 deletions mods/default/README.txt
Expand Up @@ -264,32 +264,17 @@ Glass breaking sounds (CC BY 3.0):
3: http://www.freesound.org/people/lsprice/sounds/88808/

Mito551 (sounds) (CC BY-SA 3.0):
default_dig_choppy.ogg
default_dig_cracky.ogg
default_dig_crumbly.1.ogg
default_dig_crumbly.2.ogg
default_dig_crumbly.*.ogg
default_dig_dig_immediate.ogg
default_dig_oddly_breakable_by_hand.ogg
default_dug_node.1.ogg
default_dug_node.2.ogg
default_dug_node.*.ogg
default_grass_footstep.1.ogg
default_grass_footstep.2.ogg
default_grass_footstep.3.ogg
default_gravel_footstep.1.ogg
default_gravel_footstep.2.ogg
default_gravel_footstep.3.ogg
default_gravel_footstep.4.ogg
default_grass_footstep.1.ogg
default_place_node.1.ogg
default_place_node.2.ogg
default_place_node.3.ogg
default_place_node_hard.1.ogg
default_place_node_hard.2.ogg
default_hard_footstep.1.ogg
default_hard_footstep.2.ogg
default_hard_footstep.3.ogg
default_sand_footstep.1.ogg
default_sand_footstep.2.ogg
default_gravel_footstep.*.ogg
default_place_node.*.ogg
default_place_node_hard.*.ogg
default_glass_footstep.ogg
default_wood_footstep.1.ogg
default_wood_footstep.2.ogg
default_dirt_footstep.1.ogg
Expand All @@ -301,8 +286,8 @@ Metal sounds:
- https://www.freesound.org/people/yadronoff/sounds/320397/
default_dug_metal.*.ogg - Iwan Gabovitch - qubodup - CC0
- http://opengameart.org/users/qubodup
default_metal_footstep.*.ogg - Ottomaani138 - CC0
- https://www.freesound.org/people/Ottomaani138/sounds/232692/
default_metal_footstep.*.ogg - (CC0 1.0) - CC0 1.0
- https://freesound.org/people/mypantsfelldown/sounds/398937/
default_place_node_metal.*.ogg - Ogrebane - CC0
- http://opengameart.org/content/wood-and-metal-sound-effects-volume-2

Expand Down Expand Up @@ -340,6 +325,39 @@ sonictechtonic (CC BY 3.0):
https://www.freesound.org/people/sonictechtonic/sounds/241872/
player_damage.ogg

Sheyvan (CC0 1.0):
https://freesound.org/people/Sheyvan/sounds/476113/
default_dig_choppy.*.ogg

lolamadeus (CC0 1.0):
https://freesound.org/people/lolamadeus/sounds/179341/
default_gravel_dig.*.ogg
default_gravel_dug.*.ogg

Benboncan (CC BY 3.0):
https://freesound.org/people/Benboncan/sounds/71823/
default_dig_cracky.*.ogg

Erdie (CC BY 3.0):
https://freesound.org/people/Erdie/sounds/41579/
default_hard_footstep.*.ogg

worthahep88 (CC0 1.0):
https://freesound.org/people/worthahep88/sounds/319224/
default_sand_footstep.*.ogg

dheming (CC BY 3.0):
https://freesound.org/people/dheming/sounds/268023/
default_ice_dig.*.ogg

InspectorJ (CC BY 3.0):
https://freesound.org/people/InspectorJ/sounds/416967/
default_ice_footstep.*.ogg

Angel_Perez_Grandi (CC BY 3.0):
https://freesound.org/people/Angel_Perez_Grandi/sounds/49190/
default_ice_dug.ogg

iankath (CC0 1.0)
https://freesound.org/people/iankath/sounds/173991/
default_furnace_active.ogg
Expand Down
22 changes: 18 additions & 4 deletions mods/default/functions.lua
Expand Up @@ -38,9 +38,9 @@ end
function default.node_sound_sand_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name = "default_sand_footstep", gain = 0.12}
{name = "default_sand_footstep", gain = 0.05}
table.dug = table.dug or
{name = "default_sand_footstep", gain = 0.24}
{name = "default_sand_footstep", gain = 0.15}
table.place = table.place or
{name = "default_place_node", gain = 1.0}
default.node_sound_defaults(table)
Expand All @@ -50,9 +50,11 @@ end
function default.node_sound_gravel_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name = "default_gravel_footstep", gain = 0.4}
{name = "default_gravel_footstep", gain = 0.1}
table.dig = table.dig or
{name = "default_gravel_dig", gain = 0.35}
table.dug = table.dug or
{name = "default_gravel_footstep", gain = 1.0}
{name = "default_gravel_dug", gain = 1.0}
table.place = table.place or
{name = "default_place_node", gain = 1.0}
default.node_sound_defaults(table)
Expand Down Expand Up @@ -93,6 +95,18 @@ function default.node_sound_glass_defaults(table)
return table
end

function default.node_sound_ice_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name = "default_ice_footstep", gain = 0.3}
table.dig = table.dig or
{name = "default_ice_dig", gain = 0.5}
table.dug = table.dug or
{name = "default_ice_dug", gain = 0.5}
default.node_sound_defaults(table)
return table
end

function default.node_sound_metal_defaults(table)
table = table or {}
table.footstep = table.footstep or
Expand Down
4 changes: 2 additions & 2 deletions mods/default/nodes.lua
Expand Up @@ -660,7 +660,7 @@ minetest.register_node("default:ice", {
is_ground_content = false,
paramtype = "light",
groups = {cracky = 3, cools_lava = 1, slippery = 3},
sounds = default.node_sound_glass_defaults(),
sounds = default.node_sound_ice_defaults(),
})
-- Mapgen-placed ice with 'is ground content = true' to contain tunnels
Expand All @@ -671,7 +671,7 @@ minetest.register_node("default:cave_ice", {
groups = {cracky = 3, cools_lava = 1, slippery = 3,
not_in_creative_inventory = 1},
drop = "default:ice",
sounds = default.node_sound_glass_defaults(),
sounds = default.node_sound_ice_defaults(),
})
--
Expand Down
Binary file added mods/default/sounds/default_dig_choppy.1.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_dig_choppy.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_dig_choppy.3.ogg
Binary file not shown.
Binary file removed mods/default/sounds/default_dig_choppy.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_dig_cracky.1.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_dig_cracky.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_dig_cracky.3.ogg
Binary file not shown.
Binary file removed mods/default/sounds/default_dig_cracky.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_gravel_dig.1.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_gravel_dig.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_gravel_dug.1.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_gravel_dug.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_gravel_dug.3.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_hard_footstep.1.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_hard_footstep.2.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_hard_footstep.3.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_dig.1.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_dig.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_dig.3.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_dug.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_footstep.1.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_footstep.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_ice_footstep.3.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_metal_footstep.1.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_metal_footstep.2.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_metal_footstep.3.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_sand_footstep.1.ogg
Binary file not shown.
Binary file modified mods/default/sounds/default_sand_footstep.2.ogg
Binary file not shown.
Binary file added mods/default/sounds/default_sand_footstep.3.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion mods/stairs/init.lua
Expand Up @@ -854,7 +854,7 @@ my_register_stair_and_slab(
{"default_ice.png"},
"Ice Stair",
"Ice Slab",
default.node_sound_glass_defaults(),
default.node_sound_ice_defaults(),
true
)

Expand Down

0 comments on commit befed55

Please sign in to comment.