1
0
Fork 0

Add wool sounds

This commit is contained in:
Wuzzy 2019-06-14 23:01:50 +02:00
parent 36adba2e0b
commit c623860af8
7 changed files with 23 additions and 2 deletions

View File

@ -4,6 +4,9 @@ Licenses of sounds
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
http://creativecommons.org/licenses/by-sa/3.0/
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
http://creativecommons.org/licenses/by-sa/4.0/
Creative Commons Attribution 3.0 Unported (CC BY-SA 3.0)
http://creativecommons.org/licenses/by/3.0/
@ -86,5 +89,9 @@ Adam_N (CC0 1.0):
player_falling_damage.ogg
Source: <https://www.freesound.org/people/Adam_N/sounds/346692/>
Alecia Shepherd (CC BY-SA 4.0):
mcl_sounds_cloth.ogg
Source: SnowSong sound and music pack <https://opengameart.org/content/snowsong-sound-and-music-pack>
Unknown authors (WTFPL):
pedology_snow_soft_footstep.*.ogg

View File

@ -97,6 +97,20 @@ function mcl_sounds.node_sound_wood_defaults(table)
return table
end
function mcl_sounds.node_sound_wool_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name="mcl_sounds_cloth", gain=0.5}
table.dug = table.dug or
{name="mcl_sounds_cloth", gain=1.0}
table.dig = table.dig or
{name="mcl_sounds_cloth", gain=0.9}
table.place = table.dig or
{name="mcl_sounds_cloth", gain=1.0}
mcl_sounds.node_sound_defaults(table)
return table
end
function mcl_sounds.node_sound_leaves_defaults(table)
table = table or {}
table.footstep = table.footstep or

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -61,7 +61,7 @@ for _, row in ipairs(wool.dyes) do
is_ground_content = false,
tiles = {texture..".png"},
groups = {handy=1,shearsy_wool=1, flammable=1,wool=1,building_block=1},
sounds = mcl_sounds.node_sound_defaults(),
sounds = mcl_sounds.node_sound_wool_defaults(),
_mcl_hardness = 0.8,
_mcl_blast_resistance = 4,
})
@ -77,7 +77,7 @@ for _, row in ipairs(wool.dyes) do
wield_image = texture..".png",
wield_scale = { x=1, y=1, z=0.5 },
groups = {handy=1, carpet=1,attached_node=1,dig_by_water=1,deco_block=1},
sounds = mcl_sounds.node_sound_defaults(),
sounds = mcl_sounds.node_sound_wool_defaults(),
paramtype = "light",
sunlight_propagates = true,
stack_max = 64,