summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 18:23:58 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 18:23:58 +0100
commit396a4fdacdd6f80e3bba55cd6c26a2ae321179d1 (patch)
treeb49f7a4d08f7517dcbc4427aa422445ceab438ad /init.lua
parent13383770ef61d93899ad272586daeb0d8d3b4072 (diff)
downloadpipeworks-396a4fdacdd6f80e3bba55cd6c26a2ae321179d1.tar
pipeworks-396a4fdacdd6f80e3bba55cd6c26a2ae321179d1.tar.gz
pipeworks-396a4fdacdd6f80e3bba55cd6c26a2ae321179d1.tar.bz2
pipeworks-396a4fdacdd6f80e3bba55cd6c26a2ae321179d1.tar.xz
pipeworks-396a4fdacdd6f80e3bba55cd6c26a2ae321179d1.zip
remove register_local_pipes.lua as node registration has been moved to more appropriate files
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index e8a8d2f..2a95be6 100644
--- a/init.lua
+++ b/init.lua
@@ -121,7 +121,9 @@ dofile(pipeworks.modpath.."/wielder.lua")
local logicdir = "/new_flow_logic/"
--- note that even with these files the new flow logic is not yet default
+-- note that even with these files the new flow logic is not yet default.
+-- registration will take place but no actual ABMs/node logic will be installed,
+-- unless pipeworks.enable_new_flow_logic has been set.
dofile(pipeworks.modpath..logicdir.."flowable_node_registry.lua")
dofile(pipeworks.modpath..logicdir.."abms.lua")
dofile(pipeworks.modpath..logicdir.."abm_register.lua")
@@ -130,10 +132,6 @@ dofile(pipeworks.modpath..logicdir.."flowable_node_registry_install.lua")
if pipeworks.enable_pipes then dofile(pipeworks.modpath.."/pipes.lua") end
if pipeworks.enable_teleport_tube then dofile(pipeworks.modpath.."/teleport_tube.lua") end
if pipeworks.enable_pipe_devices then dofile(pipeworks.modpath.."/devices.lua") end
--- individual enable flags also checked in register_local_pipes.lua
-if pipeworks.enable_new_flow_logic then
- dofile(pipeworks.modpath..logicdir.."register_local_pipes.lua")
-end
if pipeworks.enable_redefines then
dofile(pipeworks.modpath.."/compat-chests.lua")