summaryrefslogtreecommitdiff
path: root/mesecons_battery
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-10 17:35:54 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-10 17:35:54 -0400
commit39db9cf01c9c681a5fbbd582aa917317c85de6de (patch)
tree0be01bd02a09e728fb901f8150ab07ffbdf2891a /mesecons_battery
parentb0a038772285735444f8423d1685babe36ac5cb1 (diff)
downloadmesecons-39db9cf01c9c681a5fbbd582aa917317c85de6de.tar
mesecons-39db9cf01c9c681a5fbbd582aa917317c85de6de.tar.gz
mesecons-39db9cf01c9c681a5fbbd582aa917317c85de6de.tar.bz2
mesecons-39db9cf01c9c681a5fbbd582aa917317c85de6de.tar.xz
mesecons-39db9cf01c9c681a5fbbd582aa917317c85de6de.zip
Added "mesecon = 1" to the groups setting for most objects, so that they'll
visibly connect to neighboring wires.
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 beddb4c..7e0bdc6 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},
+ groups = {dig_immediate=2, mesecon = 1},
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},
+ groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1},
description="Battery",
})
mesecon:add_receptor_node("mesecons_battery:battery_discharging_"..i)