2024-04-25 13:26:22 +00:00
|
|
|
local water_probability = dynamic_liquid.config.water_probability
|
|
|
|
|
|
|
|
if dynamic_liquid.config.water then
|
2024-04-25 13:34:13 +00:00
|
|
|
-- mineral water is already not renewable,
|
2024-04-25 13:26:22 +00:00
|
|
|
-- so it is not necessary to override it
|
2024-04-25 13:34:13 +00:00
|
|
|
-- local override_def = {liquid_renewable = false}
|
|
|
|
-- minetest.override_item("everness:mineral_water_source", override_def)
|
|
|
|
-- minetest.override_item("everness:mineral_water_flowing", override_def)
|
2024-04-25 13:26:22 +00:00
|
|
|
|
2024-04-25 13:34:13 +00:00
|
|
|
dynamic_liquid.liquid_abm(
|
2024-04-25 13:26:22 +00:00
|
|
|
"everness:mineral_water_source",
|
|
|
|
"everness:mineral_water_flowing",
|
|
|
|
water_probability
|
|
|
|
)
|
|
|
|
end
|