Pipeworks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
291 B

  1. -- enable finite liquid in the presence of dynamic liquid to preserve water volume.
  2. local enable = false
  3. if minetest.get_modpath("dynamic_liquid") then
  4. pipeworks.logger("detected mod dynamic_liquid, enabling finite liquid flag")
  5. enable = true
  6. end
  7. pipeworks.toggles.finite_water = enable