summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-09-27 17:37:46 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-09-27 17:37:46 +0100
commit2d70d2b6576a2f8d795eb1ce166c58c7ada8802c (patch)
treefecd76e6c47b3448ca22773b0a467ba91aab73d9 /init.lua
parentdf8ef255a3a66c676fc74197fb034e5033aed763 (diff)
downloadpipeworks-2d70d2b6576a2f8d795eb1ce166c58c7ada8802c.tar
pipeworks-2d70d2b6576a2f8d795eb1ce166c58c7ada8802c.tar.gz
pipeworks-2d70d2b6576a2f8d795eb1ce166c58c7ada8802c.tar.bz2
pipeworks-2d70d2b6576a2f8d795eb1ce166c58c7ada8802c.tar.xz
pipeworks-2d70d2b6576a2f8d795eb1ce166c58c7ada8802c.zip
init.lua: turn off by-default new flow logic for now
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 6ceca65..80a83d3 100644
--- a/init.lua
+++ b/init.lua
@@ -14,14 +14,18 @@ pipeworks.worldpath = minetest.get_worldpath()
pipeworks.modpath = minetest.get_modpath("pipeworks")
dofile(pipeworks.modpath.."/default_settings.lua")
-
-- Read the external config file if it exists.
+
+
local worldsettingspath = pipeworks.worldpath.."/pipeworks_settings.txt"
local worldsettingsfile = io.open(worldsettingspath, "r")
if worldsettingsfile then
worldsettingsfile:close()
dofile(worldsettingspath)
end
+if pipeworks.enable_new_flow_logic then
+ minetest.log("warning", "pipeworks new_flow_logic is WIP and incomplete!")
+end
-- Random variables
@@ -111,9 +115,6 @@ dofile(pipeworks.modpath.."/filter-injector.lua")
dofile(pipeworks.modpath.."/trashcan.lua")
dofile(pipeworks.modpath.."/wielder.lua")
--- temporary flag to enable new flowing behaviour
-pipeworks.enable_new_flow_logic = true
-
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