forked from Minetest/dynamic_liquid
Code style fixes
parent
3cbeab5899
commit
7eb8014057
10
everness.lua
10
everness.lua
|
@ -1,13 +1,13 @@
|
||||||
local water_probability = dynamic_liquid.config.water_probability
|
local water_probability = dynamic_liquid.config.water_probability
|
||||||
|
|
||||||
if dynamic_liquid.config.water then
|
if dynamic_liquid.config.water then
|
||||||
-- mineral water is already not renewable,
|
-- mineral water is already not renewable,
|
||||||
-- so it is not necessary to override it
|
-- so it is not necessary to override it
|
||||||
local override_def = {liquid_renewable = false}
|
-- local override_def = {liquid_renewable = false}
|
||||||
minetest.override_item("everness:mineral_water_source", override_def)
|
-- minetest.override_item("everness:mineral_water_source", override_def)
|
||||||
minetest.override_item("everness:mineral_water_flowing", override_def)
|
-- minetest.override_item("everness:mineral_water_flowing", override_def)
|
||||||
|
|
||||||
dynamic_liquid.liquid_abm(
|
dynamic_liquid.liquid_abm(
|
||||||
"everness:mineral_water_source",
|
"everness:mineral_water_source",
|
||||||
"everness:mineral_water_flowing",
|
"everness:mineral_water_flowing",
|
||||||
water_probability
|
water_probability
|
||||||
|
|
Loading…
Reference in New Issue