forked from VoxeLibre/VoxeLibre
Merge pull request 'Add setting to disable ores generation' (#1174) from AFCMS/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#1174
This commit is contained in:
commit
e23ad6cabf
|
@ -2043,6 +2043,7 @@ local function register_dimension_ores()
|
|||
})
|
||||
|
||||
-- Nether quartz
|
||||
if minetest.settings:get("mcl_generate_ores") == "true" then
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "mcl_nether:quartz_ore",
|
||||
|
@ -2063,6 +2064,7 @@ local function register_dimension_ores()
|
|||
y_min = mcl_vars.mg_nether_min,
|
||||
y_max = mcl_vars.mg_nether_max,
|
||||
})
|
||||
end
|
||||
|
||||
-- Lava springs in the Nether
|
||||
minetest.register_ore({
|
||||
|
|
|
@ -223,6 +223,7 @@ minetest.register_ore({
|
|||
}
|
||||
})
|
||||
|
||||
if minetest.settings:get("mcl_generate_ores") == "true" then
|
||||
--
|
||||
-- Coal
|
||||
--
|
||||
|
@ -631,6 +632,7 @@ minetest.register_ore({
|
|||
y_min = mcl_worlds.layer_to_y(31),
|
||||
y_max = mcl_worlds.layer_to_y(32),
|
||||
})
|
||||
end
|
||||
|
||||
if not superflat then
|
||||
-- Water and lava springs (single blocks of lava/water source)
|
||||
|
|
|
@ -126,6 +126,9 @@ mcl_generate_fallen_logs (Generate fallen logs) bool false
|
|||
# But creating new flat worlds after changing this setting should be safe.
|
||||
mcl_superflat_classic (Classic superflat map generation) bool false
|
||||
|
||||
# If disabled, no ores will be generated.
|
||||
mcl_generate_ores (Generate Ores) bool true
|
||||
|
||||
# Make some blocks emit decorative particles like flames. This setting
|
||||
# specifies the detail level of particles, with higher levels being
|
||||
# more CPU demanding.
|
||||
|
|
Loading…
Reference in New Issue