
for i in ipairs (colors) do
	local name = colors[i][1]
	local alldatas = { mymodname .. name .. "_data", mymodname .. name .. "_data_square"}
	

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_data_square",
	wherein        = alldatas,
		clust_scarcity = 8 * 8 * 8,
		clust_num_ores = 8,
		clust_size     = 3,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_data_9",
	wherein        = alldatas,
		clust_scarcity = 8 * 8 * 8,
		clust_num_ores = 8,
		clust_size     = 3,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_data_romboid",
	wherein        = alldatas,
		clust_scarcity = 8 * 8 * 8,
		clust_num_ores = 8,
		clust_size     = 3,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_flower",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})
minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_data_3",
	wherein        = alldatas,
		clust_scarcity = 8 * 8 * 8,
		clust_num_ores = 8,
		clust_size     = 3,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_lamp",
	wherein        = alldatas,

	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_blinklight",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})


minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. "data_binary",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. "animated",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. "faces_animated",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})
minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. name .. "_blinklight",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})

minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. "rainbow",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})
minetest.register_ore({
	ore_type       = "scatter",
	ore            = mymodname .. "rainbow_radial",
	wherein        = alldatas,
	clust_scarcity = 18 * 18 * 18,
	clust_num_ores = 3,
	clust_size     = 2,
	y_max          = 64,
	y_min          = -31000,
})


end


