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_lamp | |
parent | d72c0e6bdde1d6e9400c641a80cbc8b7b654a96b (diff) |
HUGE speed improvement
Diffstat (limited to 'mesecons_lamp')
-rw-r--r-- | mesecons_lamp/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index 21a6882..d086ae2 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -20,7 +20,7 @@ minetest.register_node("mesecons_lamp:lamp_on", { wall_bottom = {-0.3125,-0.5,-0.3125,0.3125,-0.375,0.3125}, wall_side = {-0.375,-0.3125,-0.3125,-0.5,0.3125,0.3125}, }, - groups = {dig_immediate=3,not_in_creative_inventory=1, mesecon = 2}, + groups = {dig_immediate=3,not_in_creative_inventory=1, mesecon_effector_on = 1, mesecon = 2}, drop='"mesecons_lamp:lamp_off" 1', }) @@ -45,7 +45,7 @@ minetest.register_node("mesecons_lamp:lamp_off", { wall_bottom = {-0.3125,-0.5,-0.3125,0.3125,-0.375,0.3125}, wall_side = {-0.375,-0.3125,-0.3125,-0.5,0.3125,0.3125}, }, - groups = {dig_immediate=3, mesecon = 2}, + groups = {dig_immediate=3, mesecon_receptor_off = 1, mesecon = 2}, description="Meselamp", }) |