Xpanes: Add new steel bar door/trapdoor sounds

No longer use the unsuitable steel door/trapdoor sound.
This commit is contained in:
TumeniNodes 2019-09-28 16:53:51 -04:00 committed by Paramat
parent c800398593
commit f2a07b0a51
4 changed files with 6 additions and 4 deletions

View 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

View 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({

Binary file not shown.

Binary file not shown.