From: TumeniNodes Date: Sat, 28 Sep 2019 20:53:51 +0000 (-0400) Subject: Xpanes: Add new steel bar door/trapdoor sounds X-Git-Tag: 5.1.0~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f2a07b0a515821d5919c5b5d5aa7264f21e4768e;p=oweals%2Fminetest_game.git Xpanes: Add new steel bar door/trapdoor sounds No longer use the unsuitable steel door/trapdoor sound. --- diff --git a/mods/xpanes/README.txt b/mods/xpanes/README.txt index 2e0afe49..0e34d232 100644 --- a/mods/xpanes/README.txt +++ b/mods/xpanes/README.txt @@ -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 diff --git a/mods/xpanes/init.lua b/mods/xpanes/init.lua index 27f4c013..758fbbb7 100644 --- a/mods/xpanes/init.lua +++ b/mods/xpanes/init.lua @@ -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 index 00000000..0620bfb8 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 index 00000000..d159be9b Binary files /dev/null and b/mods/xpanes/sounds/xpanes_steel_bar_door_open.ogg differ