forked from mtcontrib/pipeworks
		
	internal refactoring of flowable node registration in preparation for enhanced flow checking logic
This commit is contained in:
		
							
								
								
									
										6
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								init.lua
									
									
									
									
									
								
							@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user