minetest/mods/mapgen/ores.lua
HeroOfTheWinds 8d5c08ea8b Add Titanium, Phosphorus, and Silicon
Also add Iron and Mese.  Phosphorus can be used for fuel.
2014-05-15 21:00:30 -10:00

150 lines
3.5 KiB
Lua

minetest.register_ore({
ore_type = "scatter",
ore = "moontest:lightore",
wherein = "moontest:stone",
clust_scarcity = 10*10*10,
clust_num_ores = 6,
clust_size = 5,
height_min = -31000,
height_max = 5,
})
minetest.register_ore({
ore_type = "scatter",
ore = "moontest:phosphorusore",
wherein = "moontest:stone",
clust_scarcity = 8*8*8,
clust_num_ores = 8,
clust_size = 3,
height_min = -31000,
height_max = 64,
})
minetest.register_ore({
ore_type = "scatter",
ore = "moontest:phosphorusore",
wherein = "moontest:stone",
clust_scarcity = 9*9*9,
clust_num_ores = 27,
clust_size = 6,
height_min = -31000,
height_max = 0,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_iron",
wherein = "moontest:stone",
clust_scarcity = 7*7*7,
clust_num_ores = 5,
clust_size = 3,
height_min = -63,
height_max = -16,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_iron",
wherein = "moontest:stone",
clust_scarcity = 6*6*6,
clust_num_ores = 5,
clust_size = 3,
height_min = -31000,
height_max = -64,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_iron",
wherein = "moontest:stone",
clust_scarcity = 9*9*9,
clust_num_ores = 27,
clust_size = 6,
height_min = -31000,
height_max = -64,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_mese",
wherein = "moontest:stone",
clust_scarcity = 18*18*18,
clust_num_ores = 3,
clust_size = 2,
height_min = -255,
height_max = -64,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_mese",
wherein = "moontest:stone",
clust_scarcity = 14*14*14,
clust_num_ores = 5,
clust_size = 3,
height_min = -31000,
height_max = -256,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:mese",
wherein = "moontest:stone",
clust_scarcity = 36*36*36,
clust_num_ores = 3,
clust_size = 2,
height_min = -31000,
height_max = -1024,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "moontest:titaniumore",
wherein = "moontest:stone",
clust_scarcity = 12*12*12,
clust_num_ores = 4,
clust_size = 3,
height_min = -63,
height_max = -16,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:titaniumore",
wherein = "moontest:stone",
clust_scarcity = 9*9*9,
clust_num_ores = 5,
clust_size = 3,
height_min = -31000,
height_max = -64,
flags = "absheight",
})
minetest.register_ore({
ore_type = "scatter",
ore = "moontest:siliconore",
wherein = "moontest:stone",
clust_scarcity = 11*11*11,
clust_num_ores = 4,
clust_size = 3,
height_min = -63,
height_max = -16,
})
minetest.register_ore({
ore_type = "scatter",
ore = "default:siliconore",
wherein = "moontest:stone",
clust_scarcity = 10*10*10,
clust_num_ores = 5,
clust_size = 3,
height_min = -31000,
height_max = -64,
flags = "absheight",
})