BramvdnHeuvel c82e3094c2
Add everness mineral water as dynamic liquid (#9)
* Add everness mineral water as dynamic liquid

* Code style fixes
2024-05-05 21:11:50 +02:00

15 lines
555 B
Lua

local water_probability = dynamic_liquid.config.water_probability
if dynamic_liquid.config.water then
-- mineral water is already not renewable,
-- so it is not necessary to override it
-- local override_def = {liquid_renewable = false}
-- minetest.override_item("everness:mineral_water_source", override_def)
-- minetest.override_item("everness:mineral_water_flowing", override_def)
dynamic_liquid.liquid_abm(
"everness:mineral_water_source",
"everness:mineral_water_flowing",
water_probability
)
end