forked from mtcontrib/pipeworks
new flow logic: abm_register.lua: update doc comments for register_abm_input()
This commit is contained in:
parent
463e7a206a
commit
15b41d14f3
@ -22,8 +22,9 @@ local register_abm_balance = function(nodename)
|
|||||||
end
|
end
|
||||||
register.balance = register_abm_balance
|
register.balance = register_abm_balance
|
||||||
|
|
||||||
-- register a node for the pump ABM.
|
-- register a node for the input ABM.
|
||||||
-- maxpressure is the maximum pressure that this pump can drive.
|
-- intakefn is run on the node to determine how much water can be taken (and update it's environment accordingly).
|
||||||
|
-- maxpressure is the maximum pressure that this input can drive, beyond which pressure will not be raised.
|
||||||
local register_abm_input = function(nodename, maxpressure, intakefn)
|
local register_abm_input = function(nodename, maxpressure, intakefn)
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = { nodename },
|
nodenames = { nodename },
|
||||||
|
Loading…
Reference in New Issue
Block a user