mirror of
https://github.com/minetest-mods/magma_conduits.git
synced 2025-01-08 21:47:34 +01:00
bringing back configurable limits now that the bug's been fixed for six months
This commit is contained in:
parent
7f621e4b92
commit
140628b0c7
@ -34,11 +34,9 @@ setting("bool", "obsidian_lining", true, "Add an obsidian lining to magma condui
|
|||||||
setting("bool", "ameliorate_floods", true, "Ameliorate lava floods on the surface")
|
setting("bool", "ameliorate_floods", true, "Ameliorate lava floods on the surface")
|
||||||
|
|
||||||
-- Removing this setting on account of issue https://github.com/minetest/minetest/issues/7364
|
-- Removing this setting on account of issue https://github.com/minetest/minetest/issues/7364
|
||||||
--setting("int", "upper_limit", 512, "Upper extent of magma conduits")
|
-- Fixed with commit https://github.com/minetest/minetest/commit/5c1edc58ab2abe8bc1f1bbcbb2f30a5899586968
|
||||||
--setting("int", "lower_limit", -31000, "Lower extent of magma conduits")
|
setting("int", "upper_limit", 31000, "Upper extent of magma conduits")
|
||||||
--from settingtypes.txt:
|
setting("int", "lower_limit", -31000, "Lower extent of magma conduits")
|
||||||
--magma_conduits_upper_limit (Upper extent of magma conduits) int 512
|
|
||||||
--magma_conduits_lower_limit (Lower extent of magma conduits) int -31000
|
|
||||||
|
|
||||||
setting("bool", "volcanoes", true, "Enable volcanoes")
|
setting("bool", "volcanoes", true, "Enable volcanoes")
|
||||||
setting("int", "volcano_min_height", 20, "Minimum volcano peak")
|
setting("int", "volcano_min_height", 20, "Minimum volcano peak")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
-- Hard-coding on account of issue https://github.com/minetest/minetest/issues/7364
|
-- Hard-coding on account of issue https://github.com/minetest/minetest/issues/7364
|
||||||
local height_min = -31000 -- magma_conduits.config.lower_limit
|
local height_min = magma_conduits.config.lower_limit
|
||||||
local height_max = 31000 --magma_conduits.config.upper_limit
|
local height_max = magma_conduits.config.upper_limit
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "vein",
|
ore_type = "vein",
|
||||||
|
@ -13,6 +13,11 @@ magma_conduits_remove_lava_above (Remove any lava above this y level) int 512
|
|||||||
#surrounding terrain
|
#surrounding terrain
|
||||||
magma_conduits_ameliorate_floods (Ameliorate lava floods on the surface) bool true
|
magma_conduits_ameliorate_floods (Ameliorate lava floods on the surface) bool true
|
||||||
|
|
||||||
|
# Note: Setting limits near "0" in versions of Minetest before June 2018
|
||||||
|
# commit 5c1edc5 may cause a crash due to a bug in vein ore generation
|
||||||
|
magma_conduits_upper_limit (Upper extent of magma conduits) int 31000
|
||||||
|
magma_conduits_lower_limit (Lower extent of magma conduits) int -31000
|
||||||
|
|
||||||
[Volcanoes]
|
[Volcanoes]
|
||||||
#If this is false none of the other settings in this section apply
|
#If this is false none of the other settings in this section apply
|
||||||
magma_conduits_volcanoes (Enable volcanoes) bool true
|
magma_conduits_volcanoes (Enable volcanoes) bool true
|
||||||
|
Loading…
Reference in New Issue
Block a user