forked from minetest-mods/MoreMesecons
add jammer sound
M moremesecons_jammer/init.lua A moremesecons_jammer/sounds/moremesecons_jammer.ogg
This commit is contained in:
parent
d35966f082
commit
cac0ca5ba5
@ -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
|
||||
}},
|
||||
|
BIN
moremesecons_jammer/sounds/moremesecons_jammer.ogg
Normal file
BIN
moremesecons_jammer/sounds/moremesecons_jammer.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user