summaryrefslogtreecommitdiff
path: root/mesecons_battery
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-11 23:39:28 +0200
committerJeija <norrepli@gmail.com>2012-08-11 23:39:28 +0200
commit1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2 (patch)
treefe7d9b75f5aba7540bf2aaaf6569020d2ac26230 /mesecons_battery
parent6b1941a38011c06de22a800c9fdffd278b6610e4 (diff)
downloadmesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar.gz
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar.bz2
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.tar.xz
mesecons-1f6e1fa7abba58508a6274e9d0fa6bdfb6632dc2.zip
Mesecons only connect to blocks with group mesecon > 1
Diffstat (limited to 'mesecons_battery')
-rw-r--r--mesecons_battery/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_battery/init.lua b/mesecons_battery/init.lua
index 7e0bdc6..655442b 100644
--- a/mesecons_battery/init.lua
+++ b/mesecons_battery/init.lua
@@ -19,7 +19,7 @@ for i = 1, 5 do
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
- groups = {dig_immediate=2, mesecon = 1},
+ groups = {dig_immediate=2, mesecon = 2},
description="Battery",
})
mesecon:add_receptor_node_off("mesecons_battery:battery_charging_"..i)
@@ -46,7 +46,7 @@ for i = 1, 5 do
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
- groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1},
+ groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 2},
description="Battery",
})
mesecon:add_receptor_node("mesecons_battery:battery_discharging_"..i)