Replace glass sounds
parent
3bd63c16f3
commit
9f7eacd72a
|
@ -28,7 +28,14 @@ Sounds:
|
|||
- Mirror rotation sound comes from <https://freesound.org/people/killianm97/sounds/554236/>
|
||||
- by killanm97 (CC0)
|
||||
- `screwdriver2_rotate.ogg` comes from <https://freesound.org/people/el_boss/sounds/560700/>
|
||||
- by el\_boss (CC0)
|
||||
- by `el_boss` (CC0)
|
||||
- Glass sounds:
|
||||
- Footstep: Derivate work from <https://freesound.org/people/deleted_user_2104797/sounds/325252/>
|
||||
- by `deleted_user_2104797` (CC0)
|
||||
- Dig: Derivate work from <https://freesound.org/people/kelsey_w/sounds/467039/>
|
||||
- by `kelsey_w` (CC BY 3.0)
|
||||
- Place: Derivate work of <https://freesound.org/people/kbnevel/sounds/119839/>
|
||||
- by kbnevel (CC0)
|
||||
- All other sounds come from Minetest Game (see license of Minetest Game 5.4.1 for details)
|
||||
|
||||
Code:
|
||||
|
|
|
@ -46,11 +46,13 @@ end
|
|||
function lzr_sounds.node_sound_glass_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "default_glass_footstep", gain = 0.3}
|
||||
{name = "lzr_sounds_footstep_glass", gain = 0.3}
|
||||
table.place = table.place or
|
||||
{name = "lzr_sounds_place_glass", gain = 0.3}
|
||||
table.dig = table.dig or
|
||||
{name = "default_glass_footstep", gain = 0.5}
|
||||
{name = "lzr_sounds_footstep_glass", gain = 0.5}
|
||||
table.dug = table.dug or
|
||||
{name = "default_break_glass", gain = 1.0}
|
||||
{name = "lzr_sounds_dig_glass", gain = 1.0}
|
||||
lzr_sounds.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
|
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.
Loading…
Reference in New Issue