forked from Minetest/dynamic_liquid
Compare commits
3 Commits
mineclone_
...
master
Author | SHA1 | Date |
---|---|---|
Bram van den Heuvel | 7eb8014057 | |
Bram van den Heuvel | 3cbeab5899 | |
FaceDeer | 7bdc95c60a |
|
@ -0,0 +1,15 @@
|
||||||
|
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
|
4
init.lua
4
init.lua
|
@ -56,3 +56,7 @@ end
|
||||||
if minetest.get_modpath("mcl_core") then
|
if minetest.get_modpath("mcl_core") then
|
||||||
dofile(modpath.."/mineclone.lua")
|
dofile(modpath.."/mineclone.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("everness") then
|
||||||
|
dofile(modpath.."/everness.lua")
|
||||||
|
end
|
||||||
|
|
2
mod.conf
2
mod.conf
|
@ -1,3 +1,3 @@
|
||||||
name = dynamic_liquid
|
name = dynamic_liquid
|
||||||
optional_depends = default, doc, xpanes, carts, mcl_core, mclx_core, mcl_mapgen_core, mcl_mapgen
|
optional_depends = default, doc, xpanes, carts, mcl_core, mclx_core, mcl_mapgen_core, mcl_mapgen, everness
|
||||||
description = Flowing dynamic liquids and ocean-maintenance springs.
|
description = Flowing dynamic liquids and ocean-maintenance springs.
|
Loading…
Reference in New Issue