Xpanes: Add new steel bar door/trapdoor sounds
authorTumeniNodes <tumeninodes@gmail.com>
Sat, 28 Sep 2019 20:53:51 +0000 (16:53 -0400)
committerParamat <paramat@users.noreply.github.com>
Sat, 28 Sep 2019 20:53:50 +0000 (21:53 +0100)
No longer use the unsuitable steel door/trapdoor sound.

mods/xpanes/README.txt
mods/xpanes/init.lua
mods/xpanes/sounds/xpanes_steel_bar_door_close.ogg [new file with mode: 0644]
mods/xpanes/sounds/xpanes_steel_bar_door_open.ogg [new file with mode: 0644]

index 2e0afe49102d110330cda2ae5233d600b67ff882..0e34d2324216ed8037b7e6f985ab46f98f7558c0 100644 (file)
@@ -28,3 +28,5 @@ TumeniNodes (CC BY-SA 3.0):
   xpanes_item_steel_bar.png
   xpanes_trapdoor_steel_bar.png
   xpanes_trapdoor_steel_bar_side.png
+  xpanes_steel_bar_door_close.ogg
+  xpanes_steel_bar_door_open.ogg
index 27f4c013197fa6585a18a8609806be3b98c68d28..758fbbb7d296ff618e6a3530105922669b3eb989 100644 (file)
@@ -221,8 +221,8 @@ if minetest.get_modpath("doors") then
                protected = true,
                groups = {cracky = 1, level = 2},
                sounds = default.node_sound_metal_defaults(),
-               sound_open = "doors_steel_door_open",
-               sound_close = "doors_steel_door_close",
+               sound_open = "xpanes_steel_bar_door_open",
+               sound_close = "xpanes_steel_bar_door_close",
                recipe = {
                        {"xpanes:bar_flat", "xpanes:bar_flat"},
                        {"xpanes:bar_flat", "xpanes:bar_flat"},
@@ -239,8 +239,8 @@ if minetest.get_modpath("doors") then
                protected = true,
                groups = {cracky = 1, level = 2, door = 1},
                sounds = default.node_sound_metal_defaults(),
-               sound_open = "doors_steel_door_open",
-               sound_close = "doors_steel_door_close",
+               sound_open = "xpanes_steel_bar_door_open",
+               sound_close = "xpanes_steel_bar_door_close",
        })
 
        minetest.register_craft({
diff --git a/mods/xpanes/sounds/xpanes_steel_bar_door_close.ogg b/mods/xpanes/sounds/xpanes_steel_bar_door_close.ogg
new file mode 100644 (file)
index 0000000..0620bfb
Binary files /dev/null and b/mods/xpanes/sounds/xpanes_steel_bar_door_close.ogg differ
diff --git a/mods/xpanes/sounds/xpanes_steel_bar_door_open.ogg b/mods/xpanes/sounds/xpanes_steel_bar_door_open.ogg
new file mode 100644 (file)
index 0000000..d159be9
Binary files /dev/null and b/mods/xpanes/sounds/xpanes_steel_bar_door_open.ogg differ