]> git.lizzy.rs Git - Crafter.git/blob - mods/main/ore.lua
Add ore
[Crafter.git] / mods / main / ore.lua
1 --[[
2 depth = initial level found
3 ]]--
4
5         
6 --coal
7 minetest.register_ore({
8         ore_type       = "scatter",
9         ore            = "main:coalore",
10         wherein        = "main:stone",
11         clust_scarcity = 13 * 13 * 13,
12         clust_num_ores = 5,
13         clust_size     = 3,
14         y_max          = 32,
15         y_min          = -64,
16 })
17 minetest.register_ore({
18         ore_type       = "scatter",
19         ore            = "main:coalore",
20         wherein        = "main:stone",
21         clust_scarcity = 13 * 13 * 13,
22         clust_num_ores = 7,
23         clust_size     = 3,
24         y_max          = -64,
25         y_min          = -128,
26 })
27 minetest.register_ore({
28         ore_type       = "scatter",
29         ore            = "main:coalore",
30         wherein        = "main:stone",
31         clust_scarcity = 13 * 13 * 13,
32         clust_num_ores = 9,
33         clust_size     = 5,
34         y_max          = -128,
35         y_min          = -31000,
36 })
37
38
39 --iron
40 minetest.register_ore({
41         ore_type       = "scatter",
42         ore            = "main:ironore",
43         wherein        = "main:stone",
44         clust_scarcity = 13 * 13 * 13,
45         clust_num_ores = 5,
46         clust_size     = 3,
47         y_max          = 32,
48         y_min          = -64,
49 })
50 minetest.register_ore({
51         ore_type       = "scatter",
52         ore            = "main:ironore",
53         wherein        = "main:stone",
54         clust_scarcity = 15 * 15 * 15,
55         clust_num_ores = 7,
56         clust_size     = 3,
57         y_max          = -32,
58         y_min          = -128,
59 })
60 minetest.register_ore({
61         ore_type       = "scatter",
62         ore            = "main:ironore",
63         wherein        = "main:stone",
64         clust_scarcity = 13 * 13 * 13,
65         clust_num_ores = 9,
66         clust_size     = 5,
67         y_max          = -128,
68         y_min          = -31000,
69 })
70
71
72 --gold
73 minetest.register_ore({
74         ore_type       = "scatter",
75         ore            = "main:goldore",
76         wherein        = "main:stone",
77         clust_scarcity = 15 * 15 * 15,
78         clust_num_ores = 7,
79         clust_size     = 3,
80         y_max          = -128,
81         y_min          = -256,
82 })
83 minetest.register_ore({
84         ore_type       = "scatter",
85         ore            = "main:goldore",
86         wherein        = "main:stone",
87         clust_scarcity = 13 * 13 * 13,
88         clust_num_ores = 9,
89         clust_size     = 5,
90         y_max          = -256,
91         y_min          = -31000,
92 })
93
94 --diamond
95 minetest.register_ore({
96         ore_type       = "scatter",
97         ore            = "main:diamondore",
98         wherein        = "main:stone",
99         clust_scarcity = 15 * 15 * 15,
100         clust_num_ores = 7,
101         clust_size     = 3,
102         y_max          = -256,
103         y_min          = -328,
104 })
105 minetest.register_ore({
106         ore_type       = "scatter",
107         ore            = "main:diamondore",
108         wherein        = "main:stone",
109         clust_scarcity = 13 * 13 * 13,
110         clust_num_ores = 9,
111         clust_size     = 5,
112         y_max          = -328,
113         y_min          = -31000,
114 })