forked from MineClone5/MineClone5
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
|
-- Nether quartz
|
||||||
|
if minetest.settings:get("mcl_generate_ores") == "true" then
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "scatter",
|
ore_type = "scatter",
|
||||||
ore = "mcl_nether:quartz_ore",
|
ore = "mcl_nether:quartz_ore",
|
||||||
|
@ -2063,6 +2064,7 @@ local function register_dimension_ores()
|
||||||
y_min = mcl_vars.mg_nether_min,
|
y_min = mcl_vars.mg_nether_min,
|
||||||
y_max = mcl_vars.mg_nether_max,
|
y_max = mcl_vars.mg_nether_max,
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- Lava springs in the Nether
|
-- Lava springs in the Nether
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
|
|
@ -223,6 +223,7 @@ minetest.register_ore({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.settings:get("mcl_generate_ores") == "true" then
|
||||||
--
|
--
|
||||||
-- Coal
|
-- Coal
|
||||||
--
|
--
|
||||||
|
@ -631,6 +632,7 @@ minetest.register_ore({
|
||||||
y_min = mcl_worlds.layer_to_y(31),
|
y_min = mcl_worlds.layer_to_y(31),
|
||||||
y_max = mcl_worlds.layer_to_y(32),
|
y_max = mcl_worlds.layer_to_y(32),
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
if not superflat then
|
if not superflat then
|
||||||
-- Water and lava springs (single blocks of lava/water source)
|
-- 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.
|
# But creating new flat worlds after changing this setting should be safe.
|
||||||
mcl_superflat_classic (Classic superflat map generation) bool false
|
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
|
# Make some blocks emit decorative particles like flames. This setting
|
||||||
# specifies the detail level of particles, with higher levels being
|
# specifies the detail level of particles, with higher levels being
|
||||||
# more CPU demanding.
|
# more CPU demanding.
|
||||||
|
|
Loading…
Reference in New Issue