1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-28 22:36:31 +02:00
Files
pipeworks/autodetect-finite-water.lua
2025-06-26 17:41:04 +10:00

10 lines
287 B
Lua

-- enable finite liquid in the presence of dynamic liquid to preserve water volume.
local enable = false
if core.get_modpath("dynamic_liquid") then
pipeworks.logger("detected mod dynamic_liquid, enabling finite liquid flag")
enable = true
end
pipeworks.toggles.finite_water = enable