forked from Gerold55/ethical_farming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathore.lua
46 lines (41 loc) · 1.19 KB
/
ore.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
minetest.register_node("farming:stone_with_essence", {
description = "Essence Ore",
tiles = {"default_stone.png^default_mineral_essence.png"},
groups = {cracky = 3},
drop = 'farming:essence',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("farming:essence", {
description = "Essence",
inventory_image = "ef_essence.png",
})
minetest.register_ore({
ore_type = "scatter",
ore = "farming:stone_with_essence",
wherein = "default:stone",
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 12,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})
minetest.register_ore({
ore_type = "scatter",
ore = "farming:stone_with_essence",
wherein = "default:stone",
clust_scarcity = 7 * 7 * 7,
clust_num_ores = 5,
clust_size = 3,
y_max = 0,
y_min = -31000,
})
minetest.register_ore({
ore_type = "scatter",
ore = "farming:stone_with_essence",
wherein = "default:stone",
clust_scarcity = 24 * 24 * 24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
})