1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

internal refactoring of flowable node registration in preparation for enhanced flow checking logic

This commit is contained in:
thetaepsilon-gamedev
2017-09-30 20:16:00 +01:00
parent 10221c6c15
commit 40eeaac2ec
5 changed files with 133 additions and 32 deletions

View File

@ -115,12 +115,16 @@ dofile(pipeworks.modpath.."/filter-injector.lua")
dofile(pipeworks.modpath.."/trashcan.lua")
dofile(pipeworks.modpath.."/wielder.lua")
-- note that pipes still don't appear until registered in the files below this one, so can still be turned off
dofile(pipeworks.modpath.."/flowable_node_registry.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_flow_logic.lua
-- individual enable flags also checked in flowable_nodes_add_pipes.lua
if pipeworks.enable_new_flow_logic then
dofile(pipeworks.modpath.."/new_flow_logic.lua")
dofile(pipeworks.modpath.."/flowable_nodes_add_pipes.lua")
dofile(pipeworks.modpath.."/register_flow_logic.lua")
end