]> git.lizzy.rs Git - xdecor.git/blobdiff - nodes.lua
Add footstep sound for Trampoline
[xdecor.git] / nodes.lua
index 31ff0c179fe8b85e29dbe7308363f3451f105c3c..fdd6fdb6128b6aa1cb4f6ba5e0e0524a513c9cef 100644 (file)
--- 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", {