Fixed ores not spawning
This commit is contained in:
parent
262048f072
commit
d5ff3f436a
24
_config.txt
24
_config.txt
|
@ -57,21 +57,27 @@ moreores.mithril_clust_size_deep = 3
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_core") then
|
if minetest.get_modpath("mcl_core") then
|
||||||
-- Example adjustments for MineClone2
|
-- Example adjustments for MineClone2
|
||||||
moreores.tin_max_depth_high = 0
|
moreores.tin_max_depth_high = 100
|
||||||
moreores.tin_min_depth_high = -10
|
moreores.tin_min_depth_high = -57
|
||||||
moreores.tin_max_depth = 0
|
moreores.tin_max_depth = 100
|
||||||
moreores.tin_min_depth = -57
|
moreores.tin_min_depth = -57
|
||||||
|
moreores.tin_max_depth_deep = 100
|
||||||
|
moreores.tin_min_depth_deep = -57
|
||||||
|
|
||||||
-- Similar adjustments for silver and mithril
|
-- Similar adjustments for silver and mithril
|
||||||
moreores.silver_max_depth_high = 0
|
moreores.silver_max_depth_high = 100
|
||||||
moreores.silver_min_depth_high = -10
|
moreores.silver_min_depth_high = -57
|
||||||
moreores.silver_max_depth = 0
|
moreores.silver_max_depth = 100
|
||||||
moreores.silver_min_depth = -57
|
moreores.silver_min_depth = -57
|
||||||
|
moreores.silver_max_depth_deep = 100
|
||||||
|
moreores.silver_min_depth_deep = -57
|
||||||
|
|
||||||
moreores.mithril_max_depth_high = 0
|
moreores.mithril_max_depth_high = 100
|
||||||
moreores.mithril_min_depth_high = -20
|
moreores.mithril_min_depth_high = -57
|
||||||
moreores.mithril_max_depth = 0
|
moreores.mithril_max_depth = 100
|
||||||
moreores.mithril_min_depth = -57
|
moreores.mithril_min_depth = -57
|
||||||
|
moreores.mithril_max_depth_deep = 100
|
||||||
|
moreores.mithril_min_depth_deep = -57
|
||||||
else
|
else
|
||||||
-- Maximal and minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
-- Maximal and minimal depths of ore generation (Y coordinate, 0 being sea level by default)
|
||||||
-- Tin
|
-- Tin
|
||||||
|
|
5
init.lua
5
init.lua
|
@ -28,8 +28,9 @@ local use_frame = minetest.get_modpath("frame")
|
||||||
local is_mcl_core_present = minetest.get_modpath("mcl_core") ~= nil
|
local is_mcl_core_present = minetest.get_modpath("mcl_core") ~= nil
|
||||||
local is_mcl_sounds_present = minetest.get_modpath("mcl_sounds") ~= nil
|
local is_mcl_sounds_present = minetest.get_modpath("mcl_sounds") ~= nil
|
||||||
local is_mcl_copper_present = minetest.registered_items["mcl_copper:copper_ingot"] ~= nil
|
local is_mcl_copper_present = minetest.registered_items["mcl_copper:copper_ingot"] ~= nil
|
||||||
local stone_ingrediant = mcl_core_modpath and "mcl_core:stone" or "default:stone"
|
local stone_ingrediant = is_mcl_core_present and "mcl_core:stone" or "default:stone"
|
||||||
local copper_ingrediant = mcl_core_modpath and "mcl_copper:copper_ingot" or 'default:copper_ingot'
|
|
||||||
|
local copper_ingrediant = is_mcl_core_present and "mcl_copper:copper_ingot" or 'default:copper_ingot'
|
||||||
local default_stone_sounds = nil
|
local default_stone_sounds = nil
|
||||||
local default_metal_sounds = nil
|
local default_metal_sounds = nil
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue