added mesecon = 1 to groups for torches also.

This commit is contained in:
Vanessa Ezekowitz 2012-08-11 07:12:55 -04:00
parent 0891b9e5af
commit 0214dbc582

View File

@ -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)