-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.lua
More file actions
48 lines (44 loc) · 1.28 KB
/
init.lua
File metadata and controls
48 lines (44 loc) · 1.28 KB
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
47
48
print("magic_tech has loaded")
-- Magi Crystal
minetest.register_craftitem("magic_tech:magicrystal", {
description = "Magicrystal",
inventory_image = "magic_tech_mineral_magicrystal.png"
})
minetest.register_node("magic_tech:stone_with_magicrystal", {
description = "Magi Crystal",
tiles = {"default_stone.png^magic_tech_mineral_magicrystal.png"},
groups = {cracky = 3},
drop = "magic_tech:magicrystal",
sounds = default.node_sound_stone_defaults(),
})
-- Starting out with the ore parameters for coal
minetest.register_ore({
ore_type = "scatter",
ore = "magic_tech:stone_with_magicrystal",
wherein = "default:stone",
clust_scarcity = 8 * 8 * 8,
clust_num_ores = 9,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})
minetest.register_ore({
ore_type = "scatter",
ore = "magic_tech:stone_with_magicrystal",
wherein = "default:stone",
clust_scarcity = 8 * 8 * 8,
clust_num_ores = 8,
clust_size = 3,
y_max = 64,
y_min = -127,
})
minetest.register_ore({
ore_type = "scatter",
ore = "magic_tech:stone_with_magicrystal",
wherein = "default:stone",
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 30,
clust_size = 5,
y_max = -128,
y_min = -31000,
})