diff options
author | Jeija <norrepli@gmail.com> | 2012-12-08 21:56:09 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-08 21:56:09 +0100 |
commit | 00e071b695574928fce2ca56e3e8eca6ad3d35ef (patch) | |
tree | 86904b9a3729898581253989bbaf4d195ea71a53 /mesecons_lightstone | |
parent | 8578fd89c859162bda64af48826b7c1ae1c9e744 (diff) |
Cleanup, make and use util.lua, port command block and delayer to nodedef
Diffstat (limited to 'mesecons_lightstone')
-rw-r--r-- | mesecons_lightstone/init.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua index 9edd99d..d8b523c 100644 --- a/mesecons_lightstone/init.lua +++ b/mesecons_lightstone/init.lua @@ -5,7 +5,6 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on) groups = {cracky=2, mesecon_effector_off = 1, mesecon = 2}, description=name.." Lightstone", mesecons = {effector = { - state = mesecon.state.off, action_on = function (pos, node) minetest.env:add_node(pos, {name="mesecons_lightstone:lightstone_" .. name .. "_on"}) mesecon:receptor_on(pos) @@ -19,7 +18,6 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on) drop = "node mesecons_lightstone:lightstone_" .. name .. "_off 1", light_source = LIGHT_MAX-2, mesecons = {effector = { - state = mesecon.state.on, action_off = function (pos, node) minetest.env:add_node(pos, {name="mesecons_lightstone:lightstone_" .. name .. "_off"}) mesecon:receptor_off(pos) |