diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-24 18:05:51 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-24 18:05:51 -0500 |
commit | 2a8d68aa28714df2fcd68e8d970e1f79e75eb0fe (patch) | |
tree | 223a317e7ff05b9255d192d3967a0f8371917f5b | |
parent | 4c46168ed5c4be3cac097b3102372fece2bd0f08 (diff) | |
download | celevator-2a8d68aa28714df2fcd68e8d970e1f79e75eb0fe.tar celevator-2a8d68aa28714df2fcd68e8d970e1f79e75eb0fe.tar.gz celevator-2a8d68aa28714df2fcd68e8d970e1f79e75eb0fe.tar.bz2 celevator-2a8d68aa28714df2fcd68e8d970e1f79e75eb0fe.tar.xz celevator-2a8d68aa28714df2fcd68e8d970e1f79e75eb0fe.zip |
Include metal cabinet open/close sounds instead of relying on MTG steel door sounds
-rw-r--r-- | controller.lua | 4 | ||||
-rw-r--r-- | dispatcher.lua | 4 | ||||
-rw-r--r-- | sounds/celevator_cabinet_close.ogg | bin | 0 -> 41854 bytes | |||
-rw-r--r-- | sounds/celevator_cabinet_open.ogg | bin | 0 -> 22732 bytes |
4 files changed, 4 insertions, 4 deletions
diff --git a/controller.lua b/controller.lua index 6e5cd78..7001a91 100644 --- a/controller.lua +++ b/controller.lua @@ -182,7 +182,7 @@ minetest.register_node("celevator:controller",{ node.name = "celevator:controller_top_open" end minetest.swap_node(pos,node) - minetest.sound_play("doors_steel_door_open",{ + minetest.sound_play("celevator_cabinet_open",{ pos = pos, gain = 0.5, max_hear_distance = 10 @@ -242,7 +242,7 @@ minetest.register_node("celevator:controller_open",{ node.name = "celevator:controller_top" end minetest.swap_node(pos,node) - minetest.sound_play("doors_steel_door_close",{ + minetest.sound_play("celevator_cabinet_close",{ pos = pos, gain = 0.5, max_hear_distance = 10 diff --git a/dispatcher.lua b/dispatcher.lua index ae70c35..6a8a77a 100644 --- a/dispatcher.lua +++ b/dispatcher.lua @@ -151,7 +151,7 @@ minetest.register_node("celevator:dispatcher",{ node = minetest.get_node(pos) node.name = "celevator:dispatcher_top_open" minetest.swap_node(pos,node) - minetest.sound_play("doors_steel_door_open",{ + minetest.sound_play("celevator_cabinet_open",{ pos = pos, gain = 0.5, max_hear_distance = 10 @@ -210,7 +210,7 @@ minetest.register_node("celevator:dispatcher_open",{ node = minetest.get_node(pos) node.name = "celevator:dispatcher_top" minetest.swap_node(pos,node) - minetest.sound_play("doors_steel_door_close",{ + minetest.sound_play("celevator_cabinet_close",{ pos = pos, gain = 0.5, max_hear_distance = 10 diff --git a/sounds/celevator_cabinet_close.ogg b/sounds/celevator_cabinet_close.ogg Binary files differnew file mode 100644 index 0000000..741885b --- /dev/null +++ b/sounds/celevator_cabinet_close.ogg diff --git a/sounds/celevator_cabinet_open.ogg b/sounds/celevator_cabinet_open.ogg Binary files differnew file mode 100644 index 0000000..f275246 --- /dev/null +++ b/sounds/celevator_cabinet_open.ogg |