add jammer sound

M  moremesecons_jammer/init.lua
A  moremesecons_jammer/sounds/moremesecons_jammer.ogg
This commit is contained in:
HybridDog 2016-09-01 15:57:55 +02:00
parent d35966f082
commit cac0ca5ba5
2 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ mesecon.register_node("moremesecons_jammer:jammer", {
mesecons = {effector = {
action_on = function(pos)
add_jammer(pos)
minetest.sound_play("moremesecons_jammer", {pos = pos})
minetest.swap_node(pos, {name="moremesecons_jammer:jammer_on"})
end
}},

Binary file not shown.