diff options
-rw-r--r-- | mesecons/internal.lua | 9 |
1 files changed, 0 insertions, 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={}; |