1
0
kopia lustrzana https://github.com/mt-mods/pipeworks.git synced 2026-01-03 09:45:23 +01:00

add finite water feature toggle and auto-detect code

This commit is contained in:
thetaepsilon-gamedev
2017-10-03 20:53:49 +01:00
rodzic 894ea5174f
commit 750612181a
2 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

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