diff options
author | Jeija <norrepli@gmail.com> | 2012-12-08 17:50:25 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-08 17:50:25 +0100 |
commit | 472650f099deda6a3f1ab0900c7319a78b352d68 (patch) | |
tree | df268f792c8fd832f37591deea0e4023c1661f11 /mesecons_button | |
parent | e0aa5b1d3de31cd8724f680db9bfb9798c89e59e (diff) |
Finish new mesecon-in-nodedef for conductors and receptors. Make wires and switch use it for reference.
Diffstat (limited to 'mesecons_button')
-rw-r--r-- | mesecons_button/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index dd8819d..25251c6 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -28,6 +28,7 @@ minetest.register_node("mesecons_button:button_off", { groups = {dig_immediate=2, mesecon = 3, mesecon_needs_receiver = 1}, description = "Button", }) + minetest.register_node("mesecons_button:button_on", { drawtype = "nodebox", tiles = { @@ -108,4 +109,3 @@ mesecon:add_rules("button", { mesecon:add_receptor_node_off("mesecons_button:button_off", nil, mesecon.button_get_rules) mesecon:add_receptor_node("mesecons_button:button_on", nil, mesecon.button_get_rules) - |