From c76c274cc01c1c3b04c247604d7c0c933ab4e7a6 Mon Sep 17 00:00:00 2001 From: Jeija Date: Sun, 16 Dec 2012 12:00:11 +0100 Subject: [PATCH] Remove mesecons:updatenode --- mesecons/internal.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mesecons/internal.lua b/mesecons/internal.lua index bde0593..e9cde2d 100644 --- a/mesecons/internal.lua +++ b/mesecons/internal.lua @@ -47,7 +47,6 @@ -- mesecon:rules_link(output, input, dug_outputrules) --> Returns true if outputposition + outputrules = inputposition and inputposition + inputrules = outputposition (if the two positions connect) -- mesecon:rules_link_anydir(outp., inp., d_outpr.) --> Same as rules mesecon:rules_link but also returns true if output and input are swapped -- mesecon:is_powered(pos) --> Returns true if pos is powered by a receptor or a conductor --- mesecon:updatenode(pos) | deprecated --> Updates the state of pos and surroundings e.g. when newly placed by a piston -- RULES ROTATION helpsers -- mesecon:rotate_rules_right(rules) @@ -410,14 +409,6 @@ function mesecon:is_powered(pos) return false end -function mesecon:updatenode(pos) - if mesecon:is_powered(pos) then - mesecon:turnon(pos) - else - mesecon:turnoff(pos) - end -end - --Rules rotation Functions: function mesecon:rotate_rules_right(rules) local nr={};