Add ladder footstep sounds

master
Wuzzy 2021-07-16 15:15:12 +02:00
parent a7c04f3724
commit e8d80ff6de
11 changed files with 24 additions and 7 deletions

View File

@ -114,6 +114,19 @@ Zeg9 (CC BY-SA 3.0):
kaeza (MIT License):
bubble.png
Eelke <https://freesound.org/people/Eelke/sounds/462598/> (CC BY 3.0):
hades_core_footstep_ladder_metal.1.ogg
hades_core_footstep_ladder_metal.2.ogg
hades_core_footstep_ladder_metal.3.ogg
hades_core_footstep_ladder_metal.4.ogg
hades_core_footstep_ladder_metal.5.ogg
Fission9 <https://freesound.org/people/Fission9/sounds/521589/> (CC0 1.0)
hades_core_footstep_ladder_wood.1.ogg
hades_core_footstep_ladder_wood.2.ogg
hades_core_footstep_ladder_wood.3.ogg
hades_core_footstep_ladder_wood.4.ogg
sonictechtonic <https://www.freesound.org/people/sonictechtonic/sounds/241872/> (CC BY 3.0):
player_damage.ogg

View File

@ -92,44 +92,48 @@ hades_core.register_ladder = function(id, def)
end
local snd_wood = hades_sounds.node_sound_wood_defaults({
footstep = { name = "hades_core_footstep_ladder_wood", gain = 0.7 },
})
hades_core.register_ladder("hades_core:ladder", {
description = S("Temperate Wood Ladder"),
texture = "default_ladder.png",
groups = {choppy=3,oddly_breakable_by_hand=3,flammable=2},
sounds = hades_sounds.node_sound_wood_defaults(),
sounds = snd_wood,
})
hades_core.register_ladder("hades_core:ladder_lush_wood", {
description = S("Lush Wood Ladder"),
texture = "hades_core_ladder_lush_wood.png",
groups = {choppy=3,oddly_breakable_by_hand=3,flammable=2},
sounds = hades_sounds.node_sound_wood_defaults(),
sounds = snd_wood,
})
hades_core.register_ladder("hades_core:ladder_pale_wood", {
description = S("Pale Wood Ladder"),
texture = "hades_core_ladder_pale_wood.png",
groups = {choppy=3,oddly_breakable_by_hand=3,flammable=2},
sounds = hades_sounds.node_sound_wood_defaults(),
sounds = snd_wood,
})
hades_core.register_ladder("hades_core:ladder_cream_wood", {
description = S("Cream Wood Ladder"),
texture = "hades_core_ladder_cream_wood.png",
groups = {choppy=3,oddly_breakable_by_hand=3,flammable=2},
sounds = hades_sounds.node_sound_wood_defaults(),
sounds = snd_wood,
})
hades_core.register_ladder("hades_core:ladder_jungle_wood", {
description = S("Jungle Wood Ladder"),
texture = "hades_core_ladder_jungle_wood.png",
groups = {choppy=3,oddly_breakable_by_hand=3,flammable=2},
sounds = hades_sounds.node_sound_wood_defaults(),
sounds = snd_wood,
})
hades_core.register_ladder("hades_core:ladder_bronze", {
description = S("Bronze Ladder"),
texture = "hades_core_ladder_bronze.png",
groups = {cracky=3},
sounds = hades_sounds.node_sound_metal_defaults(),
sounds = hades_sounds.node_sound_metal_defaults({
footstep = { name = "hades_core_footstep_ladder_metal", gain = 0.5 },
}),
})