diff options
author | Jeija <norrepli@gmail.com> | 2012-08-12 10:57:00 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-12 10:57:00 +0200 |
commit | 9829abc74dcc5ce886dfd6bbb01315e874fe917e (patch) | |
tree | 28841e2f3b5dbc5cbc2bc87a1623aef63ebf9553 /mesecons_battery | |
parent | d72c0e6bdde1d6e9400c641a80cbc8b7b654a96b (diff) | |
download | mesecons-9829abc74dcc5ce886dfd6bbb01315e874fe917e.tar mesecons-9829abc74dcc5ce886dfd6bbb01315e874fe917e.tar.gz mesecons-9829abc74dcc5ce886dfd6bbb01315e874fe917e.tar.bz2 mesecons-9829abc74dcc5ce886dfd6bbb01315e874fe917e.tar.xz mesecons-9829abc74dcc5ce886dfd6bbb01315e874fe917e.zip |
HUGE speed improvement
Diffstat (limited to 'mesecons_battery')
-rw-r--r-- | mesecons_battery/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_battery/init.lua b/mesecons_battery/init.lua index 655442b..b5e50a9 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 = 2}, + groups = {dig_immediate=2, mesecon = 2, mesecon_effector_on = 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, mesecon = 2}, + groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 2, mesecon_effector_off = 1}, description="Battery", }) mesecon:add_receptor_node("mesecons_battery:battery_discharging_"..i) |