From 6281dc744dc3951234931a9f44c3bdd353f79df7 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 27 Oct 2017 15:13:31 -0400 Subject: updated boost cart, homedecor modpack, castles modpack, currency, farming-redo, maptools, mesecons, moreblocks, moreores, pipeworks, quartz --- pipeworks/autodetect-finite-water.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pipeworks/autodetect-finite-water.lua (limited to 'pipeworks/autodetect-finite-water.lua') diff --git a/pipeworks/autodetect-finite-water.lua b/pipeworks/autodetect-finite-water.lua new file mode 100644 index 0000000..d218e80 --- /dev/null +++ b/pipeworks/autodetect-finite-water.lua @@ -0,0 +1,9 @@ +-- enable finite liquid in the presence of dynamic liquid to preserve water volume. +local enable = false + +if minetest.get_modpath("dynamic_liquid") then + pipeworks.logger("detected mod dynamic_liquid, enabling finite liquid flag") + enable = true +end + +pipeworks.toggles.finite_water = enable -- cgit v1.2.3