summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-10-19 13:28:21 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-10-19 13:28:21 +0200
commit50e5c520713a4031ae23d8693a443984be9ac263 (patch)
treeeb37487cead77e9014faec27f9701ddae2ec0f6a
parent93d8959eb70adee1e8b59a1cae50880768470555 (diff)
Added alarm sound
-rw-r--r--init.lua2
-rw-r--r--sounds/alarm.oggbin0 -> 25707 bytes
2 files changed, 1 insertions, 1 deletions
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
--- /dev/null
+++ b/sounds/alarm.ogg
Binary files differ