Skip to content
Permalink
Browse files

Replace some sounds with new sounds (#2605)

  • Loading branch information
An0n3m0us committed Aug 29, 2020
1 parent 1da168b commit befed5525a33f1d563e2a1b8a33fcb3775fcb006
Showing with 62 additions and 30 deletions.
  1. +41 −23 mods/default/README.txt
  2. +18 −4 mods/default/functions.lua
  3. +2 −2 mods/default/nodes.lua
  4. BIN mods/default/sounds/default_dig_choppy.1.ogg
  5. BIN mods/default/sounds/default_dig_choppy.2.ogg
  6. BIN mods/default/sounds/default_dig_choppy.3.ogg
  7. BIN mods/default/sounds/default_dig_choppy.ogg
  8. BIN mods/default/sounds/default_dig_cracky.1.ogg
  9. BIN mods/default/sounds/default_dig_cracky.2.ogg
  10. BIN mods/default/sounds/default_dig_cracky.3.ogg
  11. BIN mods/default/sounds/default_dig_cracky.ogg
  12. BIN mods/default/sounds/default_gravel_dig.1.ogg
  13. BIN mods/default/sounds/default_gravel_dig.2.ogg
  14. BIN mods/default/sounds/default_gravel_dug.1.ogg
  15. BIN mods/default/sounds/default_gravel_dug.2.ogg
  16. BIN mods/default/sounds/default_gravel_dug.3.ogg
  17. BIN mods/default/sounds/default_hard_footstep.1.ogg
  18. BIN mods/default/sounds/default_hard_footstep.2.ogg
  19. BIN mods/default/sounds/default_hard_footstep.3.ogg
  20. BIN mods/default/sounds/default_ice_dig.1.ogg
  21. BIN mods/default/sounds/default_ice_dig.2.ogg
  22. BIN mods/default/sounds/default_ice_dig.3.ogg
  23. BIN mods/default/sounds/default_ice_dug.ogg
  24. BIN mods/default/sounds/default_ice_footstep.1.ogg
  25. BIN mods/default/sounds/default_ice_footstep.2.ogg
  26. BIN mods/default/sounds/default_ice_footstep.3.ogg
  27. BIN mods/default/sounds/default_metal_footstep.1.ogg
  28. BIN mods/default/sounds/default_metal_footstep.2.ogg
  29. BIN mods/default/sounds/default_metal_footstep.3.ogg
  30. BIN mods/default/sounds/default_sand_footstep.1.ogg
  31. BIN mods/default/sounds/default_sand_footstep.2.ogg
  32. BIN mods/default/sounds/default_sand_footstep.3.ogg
  33. +1 −1 mods/stairs/init.lua
@@ -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
@@ -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

@@ -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
@@ -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)
@@ -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)
@@ -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
@@ -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
@@ -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(),
})

--
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
)

0 comments on commit befed55

Please sign in to comment.
You can’t perform that action at this time.