diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-19 13:41:37 +0100 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-19 13:41:37 +0100 |
commit | b7714df9549be36920b1940f6dd2f627c36f160b (patch) | |
tree | ade57187829eb33508e78f0d2049491626a79a7b | |
parent | b2b29a1737c4bd86e397bb496d06aebd8129def7 (diff) | |
download | pipeworks-b7714df9549be36920b1940f6dd2f627c36f160b.tar pipeworks-b7714df9549be36920b1940f6dd2f627c36f160b.tar.gz pipeworks-b7714df9549be36920b1940f6dd2f627c36f160b.tar.bz2 pipeworks-b7714df9549be36920b1940f6dd2f627c36f160b.tar.xz pipeworks-b7714df9549be36920b1940f6dd2f627c36f160b.zip |
devices.lua: convert spigot to single-ended horizontally rotating flowable
-rw-r--r-- | devices.lua | 4 |
1 files 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}} |