mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-11 04:50:17 +01:00
137 lines
3.1 KiB
Lua
137 lines
3.1 KiB
Lua
local modname = minetest.get_current_modname()
|
|
|
|
-- Beware of Meze
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':meze',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 40 * 40 * 40,
|
|
clust_num_ores = 3,
|
|
clust_size = 2,
|
|
y_min = 0,
|
|
y_max = 64,
|
|
flags = 'absheight',
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':meze',
|
|
wherein = 'default:desert_stone',
|
|
clust_scarcity = 40 * 40 * 40,
|
|
clust_num_ores = 3,
|
|
clust_size = 2,
|
|
y_min = 0,
|
|
y_max = 64,
|
|
flags = 'absheight',
|
|
})
|
|
|
|
|
|
-- Tin
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_tin',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 7 * 7 * 7,
|
|
clust_num_ores = 3,
|
|
clust_size = 7,
|
|
y_min = -31000,
|
|
y_max = 12,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':desert_stone_with_tin',
|
|
wherein = 'default:desert_stone',
|
|
clust_scarcity = 7 * 7 * 7,
|
|
clust_num_ores = 3,
|
|
clust_size = 7,
|
|
y_min = -31000,
|
|
y_max = 12,
|
|
})
|
|
|
|
-- Silver
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_silver',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 11 * 11 * 11,
|
|
clust_num_ores = 4,
|
|
clust_size = 11,
|
|
y_min = -31000,
|
|
y_max = -12,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':desert_stone_with_silver',
|
|
wherein = 'default:desert_stone',
|
|
clust_scarcity = 11 * 11 * 11,
|
|
clust_num_ores = 4,
|
|
clust_size = 11,
|
|
y_min = -31000,
|
|
y_max = -12,
|
|
})
|
|
|
|
-- Mithril
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_mithril',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 11 * 11 * 11,
|
|
clust_num_ores = 1,
|
|
clust_size = 11,
|
|
y_min = -31000,
|
|
y_max = -1024,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_mithril',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 15 * 15 * 15,
|
|
clust_num_ores = 2,
|
|
clust_size = 3,
|
|
y_min = -31000,
|
|
y_max = -2048,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_mithril',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 22 * 22 * 22,
|
|
clust_num_ores = 5,
|
|
clust_size = 5,
|
|
y_min = -31000,
|
|
y_max = -4096,
|
|
})
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_mithril',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 28 * 28 * 28,
|
|
clust_num_ores = 20,
|
|
clust_size = 7,
|
|
y_min = -31000,
|
|
y_max = -12288,
|
|
})
|
|
|
|
-- Gold Coins
|
|
|
|
minetest.register_ore({
|
|
ore_type = 'scatter',
|
|
ore = modname .. ':stone_with_coin',
|
|
wherein = 'default:stone',
|
|
clust_scarcity = 26 * 26 * 26,
|
|
clust_num_ores = 1,
|
|
clust_size = 1,
|
|
y_min = -30000,
|
|
y_max = 0,
|
|
flags = 'absheight',
|
|
})
|