From b7714df9549be36920b1940f6dd2f627c36f160b Mon Sep 17 00:00:00 2001 From: thetaepsilon-gamedev Date: Thu, 19 Oct 2017 13:41:37 +0100 Subject: [PATCH] devices.lua: convert spigot to single-ended horizontally rotating flowable --- devices.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices.lua b/devices.lua index cb1a6d1..3ccbd09 100644 --- a/devices.lua +++ b/devices.lua @@ -376,8 +376,8 @@ minetest.register_node(nodename_spigot_loaded, { }) -- new flow logic does not currently distinguish between these two visual states. -- register both so existing flowing spigots continue to work (even if the visual doesn't match the spigot's behaviour). -new_flow_logic_register.simple(nodename_spigot_empty) -new_flow_logic_register.simple(nodename_spigot_loaded) +new_flow_logic_register.directional_horizonal_rotate(nodename_spigot_empty, false) +new_flow_logic_register.directional_horizonal_rotate(nodename_spigot_loaded, false) local spigot_upper = 1.0 local spigot_lower = 1.0 local spigot_neighbours={{x=0, y=-1, z=0}}