From 50e5c520713a4031ae23d8693a443984be9ac263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Wed, 19 Oct 2016 13:28:21 +0200 Subject: Added alarm sound --- init.lua | 2 +- sounds/alarm.ogg | Bin 0 -> 25707 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 sounds/alarm.ogg diff --git a/init.lua b/init.lua index fdabdf2..66c22d7 100644 --- a/init.lua +++ b/init.lua @@ -494,7 +494,7 @@ minetest.register_node("tnt:gunpowder_burning", { -- unaffected by explosions on_blast = function() end, on_construct = function(pos) - minetest.sound_play("tnt_gunpowder_burning", {pos = pos, gain = 2}) + minetest.sound_play("alarm", {pos = pos, gain = 10}) minetest.get_node_timer(pos):start(1) end, }) diff --git a/sounds/alarm.ogg b/sounds/alarm.ogg new file mode 100644 index 0000000..0ec4749 Binary files /dev/null and b/sounds/alarm.ogg differ -- cgit v1.2.3