summaryrefslogtreecommitdiff
path: root/mesecons_torch
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_torch')
-rw-r--r--mesecons_torch/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua
index 5f1d25a..867c909 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
@@ -79,8 +80,9 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
paramtype2 = "wallmounted",
selection_box = torch_selectionbox,
groups = {dig_immediate=3},
- light_source = default.LIGHT_MAX-5,
+ light_source = minetest.LIGHT_MAX-5,
description="Mesecon Torch",
+ sounds = default.node_sound_defaults(),
mesecons = {receptor = {
state = mesecon.state.on,
rules = torch_get_output_rules