minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:float_stone',
   wherein        = 'epic:stone',
   clust_scarcity = 7 * 7 * 7,
   clust_num_ores = 2,
   clust_size     = 3,
   y_min          = 230,
   y_max          = 3100,
})

minetest.register_ore({
   ore_type       = 'sheet',
   ore            = 'epic:stone_with_salt',
   wherein        = 'default:stone',
   clust_size     = 4,
   y_min          = -1000,
   y_max          = 300,
   noise_params   = {offset=0, scale=7, spread={x=250, y=250, z=250}, seed=23, octaves=6, persist=0.70}
})

minetest.register_ore({
   ore_type       = 'sheet',
   ore            = 'epic:desert_stone_with_nitre',
   wherein        = 'default:desert_stone',
   clust_size     = 2,
   y_min          = -300,
   y_max          = 300,
   noise_params   = {offset=0, scale=7, spread={x=250, y=250, z=250}, seed=12, octaves=6, persist=0.70}
})

minetest.register_ore({
   ore_type       = 'sheet',
   ore            = 'epic:mineral_sulfur',
   wherein        = 'default:stone',
   clust_size     = 2,
   y_min          = -6000,
   y_max          = -5000,
   noise_params   = {offset=0, scale=7, spread={x=250, y=250, z=250}, seed=5987347, octaves=6, persist=0.70}
})


--Garnet
minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:desert_garnet',
   wherein        = 'default:desert_stone',
   clust_scarcity = 17 * 17 * 17,
   clust_num_ores = 4,
   clust_size     = 3,
   y_min          = -3000,
   y_max          = -200,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:desert_garnet',
   wherein        = 'default:desert_stone',
   clust_scarcity = 12 * 12 * 12,
   clust_num_ores = 5,
   clust_size     = 3,
   y_min          = -31000,
   y_max          = -3001,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:stone_garnet',
   wherein        = 'default:stone',
   clust_scarcity = 17 * 17 * 17,
   clust_num_ores = 4,
   clust_size     = 3,
   y_min          = -3000,
   y_max          = -200,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:stone_garnet',
   wherein        = 'default:stone',
   clust_scarcity = 12 * 12 * 12,
   clust_num_ores = 20,
   clust_size     = 6,
   y_min          = -31000,
   y_max          = -3001,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:desert_stone_with_coal',
   wherein        = 'default:desert_stone',
   clust_scarcity = 24 * 24 * 24,
   clust_num_ores = 27,
   clust_size     = 6,
   y_max          = 0,
   y_min          = -31000,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:desert_stone_with_iron',
   wherein        = 'default:desert_stone',
   clust_scarcity = 7 * 7 * 7,
   clust_num_ores = 5,
   clust_size     = 3,
   y_max          = 0,
   y_min          = -31000,
})

--Bloodstone
minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:bloodstone_ore',
   wherein        = 'default:stone',
   clust_scarcity = 17 * 17 * 17,
   clust_num_ores = 4,
   clust_size     = 3,
   y_min          = -4000,
   y_max          = -200,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:bloodstone_ore',
   wherein        = 'default:stone',
   clust_scarcity = 12 * 12 * 12,
   clust_num_ores = 18,
   clust_size     = 5,
   y_min          = -31000,
   y_max          = -4001,
})

minetest.register_ore({
   ore_type       = 'scatter',
   ore            = 'epic:metal_lead',
   wherein        = 'default:stone',
   clust_scarcity = 10 * 10 * 10,
   clust_num_ores = 5,
   clust_size     = 3,
   y_max          = -100,
   y_min          = -5000,
})

minetest.register_decoration({
   name = 'epic:shellfish',
   deco_type = 'simple',
   place_on = {'default:sand'},
   place_offset_y = -1,
   sidelen = 4,
   noise_params = {
      offset = -4,
      scale = 4,
      spread = {x = 150, y = 150, z = 150},
      seed = 7013,
      octaves = 3,
      persist = 0.7,
   },
   biomes = {
      'desert_ocean',
      'savanna_ocean',
      'rainforest_ocean',
      'grassland_ocean',
      'deciduous_forest_ocean',
      'coniferous_forest_ocean',
      'taiga_ocean'
   },
   y_max = -2,
   y_min = -80,
   flags = 'force_placement',
   decoration = {'epic:sand'},
})
