Mesecons only connect to blocks with group mesecon > 1

This commit is contained in:
Jeija
2012-08-11 23:39:28 +02:00
parent 6b1941a380
commit 1f6e1fa7ab
27 changed files with 64 additions and 59 deletions

View File

@ -1,9 +1,9 @@
for i = 1, 4 do
local groups = {}
if i == 1 then
groups = {bendy=2,snappy=1,dig_immediate=2, mesecon = 1}
groups = {bendy=2,snappy=1,dig_immediate=2, mesecon = 2}
else
groups = {bendy=2,snappy=1,dig_immediate=2, not_in_creative_inventory=1, mesecon = 1}
groups = {bendy=2,snappy=1,dig_immediate=2, not_in_creative_inventory=1, mesecon = 2}
end
minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
@ -49,7 +49,7 @@ minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
type = "fixed",
fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
},
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1, mesecon = 1},
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1, mesecon = 2},
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,