summaryrefslogtreecommitdiff
path: root/devices.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 21:20:30 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 21:20:30 +0100
commit8e53526b545e2dc0a05066fb18f064a394e20740 (patch)
tree2de380c0748217aab82eb7b89cd98c5e5006ffed /devices.lua
parent76ebd0a0e1552e0b519716deca3d77e03d1b6b94 (diff)
downloadpipeworks-8e53526b545e2dc0a05066fb18f064a394e20740.tar
pipeworks-8e53526b545e2dc0a05066fb18f064a394e20740.tar.gz
pipeworks-8e53526b545e2dc0a05066fb18f064a394e20740.tar.bz2
pipeworks-8e53526b545e2dc0a05066fb18f064a394e20740.tar.xz
pipeworks-8e53526b545e2dc0a05066fb18f064a394e20740.zip
new flow logic: abms.lua: rename neighbour output helper to better indicate lack of rotation support
Diffstat (limited to 'devices.lua')
-rw-r--r--devices.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/devices.lua b/devices.lua
index 995f1da..1eb18be 100644
--- a/devices.lua
+++ b/devices.lua
@@ -377,7 +377,7 @@ minetest.register_node(nodename_spigot_loaded, {
new_flow_logic_register.simple(nodename_spigot_empty)
new_flow_logic_register.simple(nodename_spigot_loaded)
local spigot_min = 1
-local outputfn = pipeworks.flowlogic.helpers.make_neighbour_output({{x=0, y=-1, z=0}})
+local outputfn = pipeworks.flowlogic.helpers.make_neighbour_output_fixed({{x=0, y=-1, z=0}})
new_flow_logic_register.output(nodename_spigot_empty, spigot_min, outputfn)
new_flow_logic_register.output(nodename_spigot_loaded, spigot_min, outputfn)
@@ -670,7 +670,7 @@ minetest.register_node(nodename_fountain_loaded, {
new_flow_logic_register.simple(nodename_fountain_empty)
new_flow_logic_register.simple(nodename_fountain_loaded)
local fountain_min = 1
-local fountainfn = pipeworks.flowlogic.helpers.make_neighbour_output({{x=0, y=1, z=0}})
+local fountainfn = pipeworks.flowlogic.helpers.make_neighbour_output_fixed({{x=0, y=1, z=0}})
new_flow_logic_register.output(nodename_fountain_empty, fountain_min, fountainfn)
new_flow_logic_register.output(nodename_fountain_loaded, fountain_min, fountainfn)