From 483d6d088c6ade360d2abac6af990826d70e4396 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 13 Jan 2018 04:45:04 +0100 Subject: [PATCH] Make redstone wire transmit power vertically, too --- mods/ITEMS/REDSTONE/mesecons_wires/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_wires/init.lua b/mods/ITEMS/REDSTONE/mesecons_wires/init.lua index 5245034298..da00fdf798 100644 --- a/mods/ITEMS/REDSTONE/mesecons_wires/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_wires/init.lua @@ -163,7 +163,10 @@ local function register_wires() nodebox.fixed = {-8/16, -.5, -1/16, 8/16, -.5+1/16, 1/16} end - local rules = {} + local rules = { + {x=0, y=-1, z=0, spread=true}, + {x=0, y= 1, z=0, spread=true}, + } if (nid[0] == 1) then table.insert(rules, {x=1, y= 0,z= 0, spread=true}) end if (nid[1] == 1) then table.insert(rules, {x=0, y= 0,z= 1, spread=true}) end if (nid[2] == 1) then table.insert(rules, {x=-1,y= 0,z= 0, spread=true}) end