local sealevel = pmb_underworld.sea_level
local alt_max = pmb_underworld.alt_max
local alt_min = pmb_underworld.alt_min
local ore_mult = pmb_underworld.ore_multiplier


minetest.register_ore({
    ore_type       = "scatter",
    ore            = "pmb_underworld:lava_rock_mythril",
    wherein        = {"pmb_stone:obsidian"},
    clust_scarcity = 600 / ore_mult,
    clust_num_ores = 2,
    clust_size     = 5,
    y_min = alt_min,
    y_max = alt_max,
})
minetest.register_ore({
      ore_type       = "scatter",
      ore            = "pmb_underworld:lava_rock_cortite",
      wherein        = {"pmb_underworld:lava_rock"},
      clust_scarcity = 3000 / ore_mult,
      clust_num_ores = 5,
      clust_size     = 2,
      y_min = alt_min,
      y_max = alt_max,
})
