diff options
author | Jeija <norrepli@gmail.com> | 2012-08-11 23:39:28 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-11 23:39:28 +0200 |
commit | 1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2 (patch) | |
tree | fe7d9b75f5aba7540bf2aaaf6569020d2ac26230 /mesecons_microcontroller/init.lua | |
parent | 6b1941a38011c06de22a800c9fdffd278b6610e4 (diff) |
Mesecons only connect to blocks with group mesecon > 1
Diffstat (limited to 'mesecons_microcontroller/init.lua')
-rw-r--r-- | mesecons_microcontroller/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index ea72bdd..88f7905 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -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", |