summaryrefslogtreecommitdiff
path: root/mesecons_torch
diff options
context:
space:
mode:
authorVitaliy <silverunicorn2011@yandex.ru>2018-07-18 01:37:45 +0300
committerGitHub <noreply@github.com>2018-07-18 01:37:45 +0300
commitff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46 (patch)
tree208cfc212c0b354a312186ac92b9465aeeb66252 /mesecons_torch
parent7013f2e5d47ff2d21fb66fe82966a34ece947eec (diff)
parent5ae33542274c96b956a505263e8b23e636b8f208 (diff)
downloadmesecons-ff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46.tar
mesecons-ff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46.tar.gz
mesecons-ff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46.tar.bz2
mesecons-ff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46.tar.xz
mesecons-ff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46.zip
Merge pull request #401 from Wuzzy2/sfx
Add missing sound effects and fix wrong pressure plate sounds
Diffstat (limited to 'mesecons_torch')
-rw-r--r--mesecons_torch/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua
index 5f1d25a..99701a8 100644
--- a/mesecons_torch/init.lua
+++ b/mesecons_torch/init.lua
@@ -60,6 +60,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
selection_box = torch_selectionbox,
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "mesecons_torch:mesecon_torch_on",
+ sounds = default.node_sound_defaults(),
mesecons = {receptor = {
state = mesecon.state.off,
rules = torch_get_output_rules
@@ -81,6 +82,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
groups = {dig_immediate=3},
light_source = default.LIGHT_MAX-5,
description="Mesecon Torch",
+ sounds = default.node_sound_defaults(),
mesecons = {receptor = {
state = mesecon.state.on,
rules = torch_get_output_rules