1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-29 04:15:28 +01:00

Reorganized ores code

This commit is contained in:
Gael-de-Sailly
2015-08-28 13:44:23 +02:00
parent f846a29c2c
commit dd8e8e755c
4 changed files with 108 additions and 125 deletions

34
mods/moreores/ores.lua Normal file
View File

@@ -0,0 +1,34 @@
-- Register ores
minetest.register_ore({
ore_type = "scatter",
ore = "moreores:mineral_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 = "moreores:mineral_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 = "moreores:mineral_mithril",
wherein = "default:stone",
clust_scarcity = 11 * 11 * 11,
clust_num_ores = 1,
clust_size = 1,
y_min = -31000,
y_max = -1024,
})