diff options
| author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-08-11 07:12:55 -0400 | 
|---|---|---|
| committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-08-11 07:12:55 -0400 | 
| commit | 0214dbc582c66ba180353934666a8ee5ec51748a (patch) | |
| tree | 27988cce55e87f64cd964aab5c0c219ce033ea25 | |
| parent | 0891b9e5af6e964dc949c2d6543f9dc704ccfeb2 (diff) | |
added mesecon = 1 to groups for torches also.
| -rw-r--r-- | mesecons_torch/init.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index e9b9931..c962f14 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -22,7 +22,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {          wall_side = {-0.5, -0.1, -0.1, -0.5+0.6, 0.1, 0.1},      },      legacy_wallmounted = true, -    groups = {dig_immediate=3,not_in_creative_inventory=1}, +    groups = {dig_immediate=3,not_in_creative_inventory=1, mesecon = 1},      drop = '"mesecons_torch:mesecon_torch_on" 1',      description="Mesecon Torch",  }) @@ -43,7 +43,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {  		wall_side = {-0.5, -0.1, -0.1, -0.5+0.6, 0.1, 0.1},  	},  	legacy_wallmounted = true, -	groups = {dig_immediate=3}, +	groups = {dig_immediate=3, mesecon = 1},  	light_source = LIGHT_MAX-5,  	description="Mesecon Torch",  	after_place_node = function(pos) | 
