forked from Mineclonia/Mineclonia
Add wool sounds
This commit is contained in:
parent
36adba2e0b
commit
c623860af8
|
@ -4,6 +4,9 @@ Licenses of sounds
|
||||||
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||||
http://creativecommons.org/licenses/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)
|
Creative Commons Attribution 3.0 Unported (CC BY-SA 3.0)
|
||||||
http://creativecommons.org/licenses/by/3.0/
|
http://creativecommons.org/licenses/by/3.0/
|
||||||
|
|
||||||
|
@ -86,5 +89,9 @@ Adam_N (CC0 1.0):
|
||||||
player_falling_damage.ogg
|
player_falling_damage.ogg
|
||||||
Source: <https://www.freesound.org/people/Adam_N/sounds/346692/>
|
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):
|
Unknown authors (WTFPL):
|
||||||
pedology_snow_soft_footstep.*.ogg
|
pedology_snow_soft_footstep.*.ogg
|
||||||
|
|
|
@ -97,6 +97,20 @@ function mcl_sounds.node_sound_wood_defaults(table)
|
||||||
return table
|
return table
|
||||||
end
|
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)
|
function mcl_sounds.node_sound_leaves_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -61,7 +61,7 @@ for _, row in ipairs(wool.dyes) do
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
tiles = {texture..".png"},
|
tiles = {texture..".png"},
|
||||||
groups = {handy=1,shearsy_wool=1, flammable=1,wool=1,building_block=1},
|
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_hardness = 0.8,
|
||||||
_mcl_blast_resistance = 4,
|
_mcl_blast_resistance = 4,
|
||||||
})
|
})
|
||||||
|
@ -77,7 +77,7 @@ for _, row in ipairs(wool.dyes) do
|
||||||
wield_image = texture..".png",
|
wield_image = texture..".png",
|
||||||
wield_scale = { x=1, y=1, z=0.5 },
|
wield_scale = { x=1, y=1, z=0.5 },
|
||||||
groups = {handy=1, carpet=1,attached_node=1,dig_by_water=1,deco_block=1},
|
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",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
|
Loading…
Reference in New Issue