diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-09-30 23:42:26 +0100 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-09-30 23:42:26 +0100 |
commit | c3627551b091d27819c242da204ed1e9dd8f15f0 (patch) | |
tree | fb51d5e91b5a6357327266b00f466881b9be1f60 | |
parent | d69941a0ae763d6681ede2185ad88e25b11fead5 (diff) | |
download | pipeworks-c3627551b091d27819c242da204ed1e9dd8f15f0.tar pipeworks-c3627551b091d27819c242da204ed1e9dd8f15f0.tar.gz pipeworks-c3627551b091d27819c242da204ed1e9dd8f15f0.tar.bz2 pipeworks-c3627551b091d27819c242da204ed1e9dd8f15f0.tar.xz pipeworks-c3627551b091d27819c242da204ed1e9dd8f15f0.zip |
move all current new_flow_logic code to dedicated sub-directory
-rw-r--r-- | init.lua | 11 | ||||
-rw-r--r-- | new_flow_logic/abm_register.lua (renamed from register_flow_logic.lua) | 0 | ||||
-rw-r--r-- | new_flow_logic/abms.lua (renamed from new_flow_logic.lua) | 0 | ||||
-rw-r--r-- | new_flow_logic/flowable_node_registry.lua (renamed from flowable_node_registry.lua) | 0 | ||||
-rw-r--r-- | new_flow_logic/register_local_pipes.lua (renamed from flowable_nodes_add_pipes.lua) | 0 |
5 files changed, 6 insertions, 5 deletions
@@ -115,17 +115,18 @@ dofile(pipeworks.modpath.."/filter-injector.lua") dofile(pipeworks.modpath.."/trashcan.lua") dofile(pipeworks.modpath.."/wielder.lua") +local logicdir = "/new_flow_logic/" -- 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") +dofile(pipeworks.modpath..logicdir.."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 flowable_nodes_add_pipes.lua +-- individual enable flags also checked in register_local_pipes.lua if pipeworks.enable_new_flow_logic then - dofile(pipeworks.modpath.."/new_flow_logic.lua") - dofile(pipeworks.modpath.."/register_flow_logic.lua") - dofile(pipeworks.modpath.."/flowable_nodes_add_pipes.lua") + dofile(pipeworks.modpath..logicdir.."abms.lua") + dofile(pipeworks.modpath..logicdir.."abm_register.lua") + dofile(pipeworks.modpath..logicdir.."register_local_pipes.lua") end if pipeworks.enable_redefines then diff --git a/register_flow_logic.lua b/new_flow_logic/abm_register.lua index e7bed6a..e7bed6a 100644 --- a/register_flow_logic.lua +++ b/new_flow_logic/abm_register.lua diff --git a/new_flow_logic.lua b/new_flow_logic/abms.lua index 7360668..7360668 100644 --- a/new_flow_logic.lua +++ b/new_flow_logic/abms.lua diff --git a/flowable_node_registry.lua b/new_flow_logic/flowable_node_registry.lua index def9649..def9649 100644 --- a/flowable_node_registry.lua +++ b/new_flow_logic/flowable_node_registry.lua diff --git a/flowable_nodes_add_pipes.lua b/new_flow_logic/register_local_pipes.lua index 6fe8b7e..6fe8b7e 100644 --- a/flowable_nodes_add_pipes.lua +++ b/new_flow_logic/register_local_pipes.lua |