1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-26 19:00:24 +01:00

devices.lua: make fountainheads directional using fixed vertical helper

This commit is contained in:
thetaepsilon-gamedev 2017-10-18 21:44:36 +01:00
parent 7f7dfb79d5
commit 3a85152e4d

View File

@ -674,8 +674,8 @@ minetest.register_node(nodename_fountain_loaded, {
drop = "pipeworks:fountainhead",
on_rotate = false
})
new_flow_logic_register.simple(nodename_fountain_empty)
new_flow_logic_register.simple(nodename_fountain_loaded)
new_flow_logic_register.directional_vertical_fixed(nodename_fountain_empty, false)
new_flow_logic_register.directional_vertical_fixed(nodename_fountain_loaded, false)
local fountain_upper = 1.0
local fountain_lower = 1.0
local fountain_neighbours={{x=0, y=1, z=0}}