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

@ -6,9 +6,9 @@ for c = 0, 1 do
for d = 0, 1 do
local nodename = "mesecons_microcontroller:microcontroller"..tostring(d)..tostring(c)..tostring(b)..tostring(a)
if tostring(d)..tostring(c)..tostring(b)..tostring(a) ~= "0000" then
groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 1}
groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 2}
else
groups = {dig_immediate=2, mesecon = 1}
groups = {dig_immediate=2, mesecon = 2}
end
minetest.register_node(nodename, {
description = "Microcontroller",