From: Auke Kok Date: Sun, 6 Mar 2016 07:08:02 +0000 (-0800) Subject: Add steel door/trapdoor sounds. X-Git-Tag: 0.4.14~89 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb57f70aab363f03d464d0913f19852e6670d663;p=oweals%2Fminetest_game.git Add steel door/trapdoor sounds. I've found a favorable steel door sound from a parking garage door that isn't abrupt or scary, just sounds like a nice solid metal door. The sample had both opening and closing sounds, and so they match nicely. Amplified and mixed several samples together to reduce ambient noise, and get the right level compared to wood doors. Attribution was added as well. CC-BY-3.0 sounds. --- diff --git a/mods/doors/README.txt b/mods/doors/README.txt index deff667c..b1c1363e 100644 --- a/mods/doors/README.txt +++ b/mods/doors/README.txt @@ -75,4 +75,7 @@ fencegate_open.ogg: fencegate_close.ogg: http://www.freesound.org/people/BarkersPinhead/sounds/274807/ - CC-BY-3.0 http://www.freesound.org/people/rivernile7/sounds/249573/ - CC-BY-3.0 - +Steel door sounds (open & close (CC-BY-3.0) by HazMatt + - http://www.freesound.org/people/HazMattt/sounds/187283/ + doors_steel_door_open.ogg + doors_steel_door_close.ogg diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 9300e6ff..431eab3b 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -438,6 +438,8 @@ doors.register("door_steel", { inventory_image = "doors_item_steel.png", protected = true, groups = { snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2 }, + sound_open = "doors_steel_door_open", + sound_close = "doors_steel_door_close", recipe = { {"default:steel_ingot", "default:steel_ingot"}, {"default:steel_ingot", "default:steel_ingot"}, @@ -628,6 +630,8 @@ doors.register_trapdoor("doors:trapdoor_steel", { tile_front = "doors_trapdoor_steel.png", tile_side = "doors_trapdoor_steel_side.png", protected = true, + sound_open = "doors_steel_door_open", + sound_close = "doors_steel_door_close", groups = {snappy=1, bendy=2, cracky=1, melty=2, level=2, door=1}, }) diff --git a/mods/doors/sounds/doors_steel_door_close.ogg b/mods/doors/sounds/doors_steel_door_close.ogg new file mode 100644 index 00000000..aea7be67 Binary files /dev/null and b/mods/doors/sounds/doors_steel_door_close.ogg differ diff --git a/mods/doors/sounds/doors_steel_door_open.ogg b/mods/doors/sounds/doors_steel_door_open.ogg new file mode 100644 index 00000000..de874770 Binary files /dev/null and b/mods/doors/sounds/doors_steel_door_open.ogg differ