From 28877e7b4fd225638b1251333d319e9fc523bf96 Mon Sep 17 00:00:00 2001 From: kilbith Date: Mon, 25 Apr 2016 12:21:02 +0200 Subject: [PATCH] Add footstep sound for Trampoline --- LICENSE | 2 ++ nodes.lua | 3 ++- sounds/xdecor_bouncy.ogg | Bin 0 -> 5131 bytes 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sounds/xdecor_bouncy.ogg diff --git a/LICENSE b/LICENSE index a8edb40..0e2655d 100644 --- a/LICENSE +++ b/LICENSE @@ -8,6 +8,8 @@ | freesound.org/people/Audionautics/sounds/133901/ | | - xdecor_enchanting.ogg - by Timbre - CC BY-SA-NC | | freesound.org/people/Timbre/sounds/221683/ | +| - xdecor_bouncy.ogg - by Blender Foundation - CC BY 3.0 | +| opengameart.org/content/funny-comic-cartoon-bounce-sound | +----------------------------------------------------------------------+ diff --git a/nodes.lua b/nodes.lua index 31ff0c1..fdd6fdb 100644 --- a/nodes.lua +++ b/nodes.lua @@ -441,7 +441,8 @@ xdecor.register("trampoline", { description = "Trampoline", tiles = {"xdecor_trampoline.png", "mailbox_blank16.png", "xdecor_trampoline_sides.png"}, groups = {cracky=3, oddly_breakable_by_hand=1, fall_damage_add_percent=-80, bouncy=90}, - node_box = xdecor.nodebox.slab_y(0.5) + node_box = xdecor.nodebox.slab_y(0.5), + sounds = {footstep = {name="xdecor_bouncy", gain=0.8}} }) xdecor.register("tv", { diff --git a/sounds/xdecor_bouncy.ogg b/sounds/xdecor_bouncy.ogg new file mode 100644 index 0000000000000000000000000000000000000000..779e825d62fcfa737554dcdc122e4dd907c36d89 GIT binary patch literal 5131 zcmd5=e>{`x`+r8HqINn6NmIgVM5$x?aad#%$rwhHU!#r5v5iz}WlBN_WwaP3!_x92 zDy00H6leLBD8!srIY&i@)9G_>opV0t`}%%9-_Ps&`u_91U-xtGy080s-p_Si_jTRR z^~^Oi)E!cS{%COx?~cjI8Mk2@m;o&MNK_z&E@!~(%jG{1#JcnK_cqK`e&=6JekTmf z1l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