Fix redstone torch rules
parent
1b5875582e
commit
c4ec520986
|
@ -16,16 +16,7 @@ local rotate_torch_rules = function (rules, param2)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local torch_get_output_rules = function(node)
|
local torch_get_output_rules = mesecon.rules.alldirs
|
||||||
local rules = {
|
|
||||||
{x = 1, y = 0, z = 0},
|
|
||||||
{x = 0, y = 0, z = 1},
|
|
||||||
{x = 0, y = 0, z =-1},
|
|
||||||
{x = 0, y = 1, z = 0},
|
|
||||||
{x = 0, y =-1, z = 0}}
|
|
||||||
|
|
||||||
return rotate_torch_rules(rules, node.param2)
|
|
||||||
end
|
|
||||||
|
|
||||||
local torch_get_input_rules = function(node)
|
local torch_get_input_rules = function(node)
|
||||||
local rules = {{x = -2, y = 0, z = 0},
|
local rules = {{x = -2, y = 0, z = 0},
|
||||||
|
|
Loading…
Reference in New Issue