add configurable upper/lower limits

This commit is contained in:
FaceDeer 2017-04-08 20:32:30 -06:00
parent 24c24314eb
commit db3b9c21ca
3 changed files with 6 additions and 2 deletions

@ -26,3 +26,5 @@ end
setting("int", "spread", 400, "Approximate spacing between magma conduits")
setting("bool", "remove_default_lava", true, "Removes default mapgen lava")
setting("bool", "ameliorate_floods", true, "Ameliorate lava floods on the surface")
setting("int", "upper_limit", 512, "Upper extent of magma conduits")
setting("int", "lower_limit", -31000, "Lower extent of magma conduits")

@ -34,8 +34,8 @@ minetest.register_ore({
},
column_height_min = 2,
column_height_max = 6,
height_min = -31000,
height_max = 512,
height_min = magma_conduits.config.lower_limit,
height_max = magma_conduits.config.upper_limit,
noise_threshold = 0.9,
noise_params = {
offset = 0,

@ -1,3 +1,5 @@
magma_conduits_spread (Approximate spacing between magma conduits) int 400
magma_conduits_upper_limit (Upper extent of magma conduits) int 512
magma_conduits_lower_limit (Lower extent of magma conduits) int -31000
magma_conduits_ameliorate_floods (Ameliorate lava floods on the surface) bool true
magma_conduits_remove_default_lava (Remove default mapgen lava) bool true