dreambuilder_game/pipeworks/autodetect-finite-water.lua
Vanessa Ezekowitz 6281dc744d updated boost cart, homedecor modpack, castles modpack, currency, farming-redo,
maptools, mesecons, moreblocks, moreores, pipeworks, quartz
2017-10-27 15:13:31 -04:00

10 lines
291 B
Lua

-- 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