mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-10-19 13:45:17 +02:00
allow pumps to add directly to a vertical "entry panel" also.
This commit is contained in:
@@ -144,6 +144,7 @@ minetest.register_abm({
|
||||
local node_level_above = meta:get_float("liquid_level")
|
||||
if node_level_above == nil then node_level_above = 0 end
|
||||
local pipe_name = string.match(node_above.name, "pipeworks:pipe_%d.*_")
|
||||
or (node_above.name == "pipeworks:entry_panel" and node_above.param2 == 13)
|
||||
|
||||
if pipe_name then
|
||||
if node.name == "pipeworks:pump_on" then
|
||||
|
Reference in New Issue
Block a user