diff --git a/ropeboxes.lua b/ropeboxes.lua index 030d4d6..9049bb1 100644 --- a/ropeboxes.lua +++ b/ropeboxes.lua @@ -226,6 +226,11 @@ local rope_def = { tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" }, groups = {choppy=2, flammable=2, not_in_creative_inventory=1}, sounds = default.node_sound_leaves_defaults(), + sounds = { + footstep = "ropes_creak", + dig = "__group", + dug = "__group", + }, drawtype = "nodebox", node_box = { type = "connected", @@ -256,7 +261,11 @@ local rope_bottom_def = { tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" }, drawtype = "nodebox", groups = {choppy=2, flammable=2, not_in_creative_inventory=1}, - sounds = default.node_sound_leaves_defaults(), + sounds = { + footstep = "ropes_creak", + dig = "__group", + dug = "__group", + }, node_box = { type = "connected", fixed = { diff --git a/sounds/license.txt b/sounds/license.txt new file mode 100644 index 0000000..c5f29d0 --- /dev/null +++ b/sounds/license.txt @@ -0,0 +1 @@ +ropes_creak.ogg - by jergonda from https://www.freesound.org/people/jergonda/sounds/254735/ under public domain via CC 0 \ No newline at end of file diff --git a/sounds/ropes_creak.1.ogg b/sounds/ropes_creak.1.ogg new file mode 100644 index 0000000..b108390 Binary files /dev/null and b/sounds/ropes_creak.1.ogg differ diff --git a/sounds/ropes_creak.2.ogg b/sounds/ropes_creak.2.ogg new file mode 100644 index 0000000..06c0a8d Binary files /dev/null and b/sounds/ropes_creak.2.ogg differ