Crafter/mods/main/ore.lua

235 lines
4.2 KiB
Lua
Raw Normal View History

2020-02-12 19:17:46 -05:00
--[[
depth = initial level found
]]--
2020-03-10 23:56:27 -07:00
2020-02-16 13:34:58 -05:00
-- Dirt
2020-02-22 11:49:17 -05:00
--[[
2020-02-16 13:34:58 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "blob",
ore = "main:dirt",
wherein = {"main:stone"},
clust_scarcity = 16 * 16 * 16,
clust_size = 5,
y_max = 31000,
y_min = -31,
noise_threshold = 0.0,
noise_params = {
offset = 0.5,
scale = 0.2,
spread = {x = 5, y = 5, z = 5},
seed = 17676,
octaves = 1,
persist = 0.0
},
2020-02-16 13:34:58 -05:00
})
-- Gravel
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "blob",
ore = "main:gravel",
wherein = {"main:stone"},
clust_scarcity = 16 * 16 * 16,
clust_size = 5,
y_max = 31000,
y_min = -31000,
noise_threshold = 0.0,
noise_params = {
offset = 0.5,
scale = 0.2,
spread = {x = 5, y = 5, z = 5},
seed = 766,
octaves = 1,
persist = 0.0
},
2020-02-16 13:34:58 -05:00
})
2020-02-22 11:49:17 -05:00
]]--
2020-02-16 13:34:58 -05:00
-- Scatter ores
-- Coal
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:coalore",
wherein = "main:stone",
clust_scarcity = 8 * 8 * 8,
clust_num_ores = 9,
clust_size = 3,
y_max = 31000,
y_min = 1025,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:coalore",
wherein = "main:stone",
clust_scarcity = 8 * 8 * 8,
clust_num_ores = 8,
clust_size = 3,
y_max = 64,
y_min = -127,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:coalore",
wherein = "main:stone",
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 30,
clust_size = 5,
y_max = -128,
y_min = -31000,
2020-02-12 21:25:46 -05:00
})
2020-02-12 19:17:46 -05:00
2020-02-16 13:34:58 -05:00
-- Iron
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:ironore",
wherein = "main:stone",
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 12,
clust_size = 3,
y_max = 31000,
y_min = 1025,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
2020-02-22 11:49:17 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:ironore",
wherein = "main:stone",
clust_scarcity = 7 * 7 * 7,
clust_num_ores = 5,
clust_size = 3,
y_max = 64,
y_min = -127,
2020-02-22 11:49:17 -05:00
})
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:ironore",
wherein = "main:stone",
clust_scarcity = 7 * 7 * 7,
clust_num_ores = 5,
clust_size = 3,
y_max = -128,
y_min = -255,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:ironore",
wherein = "main:stone",
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 29,
clust_size = 5,
y_max = -128,
2020-04-16 23:20:56 -04:00
y_min = -9999,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
-- Gold
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:goldore",
wherein = "main:stone",
clust_scarcity = 13 * 13 * 13,
clust_num_ores = 5,
clust_size = 3,
y_max = 31000,
y_min = 1025,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:goldore",
wherein = "main:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 3,
clust_size = 2,
y_max = -128,
2020-03-10 23:56:27 -07:00
y_min = -511,
2020-02-16 13:34:58 -05:00
})
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:goldore",
wherein = "main:stone",
clust_scarcity = 13 * 13 * 13,
clust_num_ores = 5,
clust_size = 3,
y_max = -128,
2020-04-16 23:20:56 -04:00
y_min = -9999,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
-- Mese crystal
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:diamondore",
wherein = "main:stone",
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
clust_size = 3,
y_max = 31000,
y_min = 1025,
2020-02-16 13:34:58 -05:00
})
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:diamondore",
wherein = "main:stone",
clust_scarcity = 18 * 18 * 18,
clust_num_ores = 3,
clust_size = 2,
y_max = -128,
2020-03-10 23:56:27 -07:00
y_min = -1023,
2020-02-16 13:34:58 -05:00
})
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:diamondore",
wherein = "main:stone",
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
clust_size = 3,
y_max = -128,
2020-04-16 23:20:56 -04:00
y_min = -9999,
2020-02-16 13:34:58 -05:00
})
-- Diamond
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:diamondore",
wherein = "main:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = 31000,
y_min = 1025,
2020-02-12 21:25:46 -05:00
})
2020-02-16 13:34:58 -05:00
2020-02-12 21:25:46 -05:00
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:diamondore",
wherein = "main:stone",
clust_scarcity = 17 * 17 * 17,
clust_num_ores = 4,
clust_size = 3,
y_max = -256,
2020-03-10 23:56:27 -07:00
y_min = -2047,
2020-02-16 13:34:58 -05:00
})
minetest.register_ore({
2020-03-10 23:56:27 -07:00
ore_type = "scatter",
ore = "main:diamondore",
wherein = "main:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 4,
clust_size = 3,
y_max = -256,
2020-04-16 23:20:56 -04:00
y_min = -9999,
2020-02-12 21:25:46 -05:00
})
2020-04-16 23:20:56 -04:00