diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-07 17:55:14 +0100 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-07 17:55:14 +0100 |
commit | 65b3448796815718275ed3c16af4865e5e005454 (patch) | |
tree | f069b22becf461f133d1bc1eeb761ebf868e7c70 /new_flow_logic/abm_register.lua | |
parent | 016f9de82f91b61a14ad1bc477ee18b501f77e39 (diff) |
new flow logic: abms.lua: refactor flowlogic.run_output() into a processing stage of flowlogic.run()
Diffstat (limited to 'new_flow_logic/abm_register.lua')
-rw-r--r-- | new_flow_logic/abm_register.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/new_flow_logic/abm_register.lua b/new_flow_logic/abm_register.lua index db6233f..1c7eede 100644 --- a/new_flow_logic/abm_register.lua +++ b/new_flow_logic/abm_register.lua @@ -66,6 +66,7 @@ register.input = register_abm_input -- threshold determines the minimum pressure, over which outputfn is called. -- outputfn is then given the current pressure, and returns the pressure relieved by the output process. -- outputfn is expected to update environment, nearby world etc. as appropriate for the node. +--[[ local register_abm_output = function(nodename, threshold, outputfn) minetest.register_abm({ nodenames = { nodename }, @@ -77,6 +78,7 @@ local register_abm_output = function(nodename, threshold, outputfn) }) end register.output = register_abm_output +]] -- old spigot ABM code, not yet migrated --[[ |