From 55a16cd2c6c56e2b15b495fc5311e8cdc4ef8e47 Mon Sep 17 00:00:00 2001 From: paramat Date: Sat, 10 Dec 2016 01:05:16 +0000 Subject: [PATCH] Default: Add missing 'default_dig_snappy' sound Some nodes with the snappy group (wool, glass pane, seeds) were missing sound when dug with a sword. Adding the sound causes it to be used for glass pane, so define a 'dig' sound in the 'node sound glass defaults' table, use the footstep sound. Adding the sound also causes it to be used for seeds which deliberately have no dig sound, so add an empty sound override for seed dig. Reduce the gain of the glass footstep sound which was excessively loud. Add some freesound members to license.txt. --- mods/default/README.txt | 9 ++++++--- mods/default/functions.lua | 4 +++- mods/default/license.txt | 3 +++ mods/default/sounds/default_dig_snappy.ogg | Bin 0 -> 7258 bytes mods/farming/api.lua | 1 + 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 mods/default/sounds/default_dig_snappy.ogg diff --git a/mods/default/README.txt b/mods/default/README.txt index 9dde0eba..d261b6b5 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -252,10 +252,13 @@ Metal sounds: Tool breaking sounds added by sofar: CC-BY-3.0 default_tool_breaks.* - http://www.freesound.org/people/HerbertBoland/sounds/33206/ -AGFX -https://www.freesound.org/people/AGFX/ -(CC BY 3.0): +AGFX (CC BY 3.0) +https://www.freesound.org/people/AGFX/packs/1253/ default_water_footstep.1.ogg default_water_footstep.2.ogg default_water_footstep.3.ogg (default_water_footstep.4.ogg is silent) + +blukotek (CC0 1.0) +https://www.freesound.org/people/blukotek/sounds/251660/ + default_dig_snappy.ogg diff --git a/mods/default/functions.lua b/mods/default/functions.lua index ed373ed7..a8e3355f 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -88,7 +88,9 @@ end function default.node_sound_glass_defaults(table) table = table or {} table.footstep = table.footstep or - {name = "default_glass_footstep", gain = 0.5} + {name = "default_glass_footstep", gain = 0.25} + table.dig = table.dig or + {name = "default_glass_footstep", gain = 0.45} table.dug = table.dug or {name = "default_break_glass", gain = 1.0} default.node_sound_defaults(table) diff --git a/mods/default/license.txt b/mods/default/license.txt index 137923c8..e9267366 100644 --- a/mods/default/license.txt +++ b/mods/default/license.txt @@ -144,6 +144,9 @@ Copyright (C) 2009 cmusounddesign Copyright (C) 2010 Tomlija Copyright (C) 2010 lsprice Copyright (C) 2014 sonictechtonic +Copyright (C) 2015 yadronoff +Copyright (C) 2007 HerbertBoland +Copyright (C) 2006 AGFX You are free to: Share — copy and redistribute the material in any medium or format. diff --git a/mods/default/sounds/default_dig_snappy.ogg b/mods/default/sounds/default_dig_snappy.ogg new file mode 100644 index 0000000000000000000000000000000000000000..3686fcddb5f3caf1ff812943126794cb1c33ceb5 GIT binary patch literal 7258 zcmaiX2|U!@_y1=QV@YC&Od2sUwi;`rlqJaw#V~{vBQ*A1^`yv>b+Qau#%`3!5TPhq zFxirQtt44ONh+nM`rqMszTfBn{rz6w-{*Db&i&kT?>YCJ^FHTu?s0c_D~JpF>ls9Z z8FPj=N~YCeGO!Te05T+DgcDD}PAy;#stidHUXorB$6eS+QHU4t+j?yyZ8n=yt) zHZTYdX0T?c*6^NW5(J4rkdr({IL*xz!=M!^p3kHm<&0YQ#%0ptS|wc)vFyJ)l;#<6 z2;zal75S;fGo~KhICn_}YCr*wa%|rX6kojMYaIWRFS}iQN^43zeY!Dd_-4CJ5U`B? zQQ2q&k<*c5Wn&~kcNH1XCVPV(AfR-!;EI5H8!FOF{as1gG2M4Ji>bQviZwlkf~qxr zcr)yvjY~x%uj9qQZrm*Wua19R4-`0yA+OXK5kokKeJrLlGXSvKPzwcx12rL&6ohFN zqO%J5tXKZ{ClyOEtzHddD{FHSc!C{mLtKYLf`>!G>@uSr?uFUii*^`^c3h2imW=tU zeG8jd<+OFxQ81`L4wo^7DcZHY=nbxjJ1VA}3p&Fw35q{;7bdmXwA9U`f|65r_Ew#D zXSGUawb1$!2nLpLo&rjC>HlbMb{Ve!chf)HrUdB&TR!ziKJ}M3CdxkzP~ls*a2o`C zs!vpD4bU_R)O;Fv05p@J!|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9..182e1b20 100644 --- a/mods/farming/api.lua +++ b/mods/farming/api.lua @@ -307,6 +307,7 @@ farming.register_plant = function(name, def) }, fertility = def.fertility, sounds = default.node_sound_dirt_defaults({ + dig = {name = "", gain = 0}, dug = {name = "default_grass_footstep", gain = 0.2}, place = {name = "default_place_node", gain = 0.25}, }),