summaryrefslogtreecommitdiff
path: root/recipes.lua
blob: e8e8509d4ac87837718efc257e8000e5ff6bc78f (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
minetest.register_craftitem("digtron:digtron_core", {
	description = "Digtron Core",
	inventory_image = "digtron_core.png"
})

minetest.register_craft({
	output = "digtron:digtron_core",
	recipe = {
			{"","default:steel_ingot",""},
			{"default:steel_ingot","default:mese_crystal_fragment","default:steel_ingot"},
			{"","default:steel_ingot",""}
			}
})

minetest.register_craft({
	output = "digtron:controller",
	recipe = {
			{"","default:mese_crystal",""},
			{"default:mese_crystal","digtron:digtron_core","default:mese_crystal"},
			{"","default:mese_crystal",""}
			}
})

minetest.register_craft({
	output = "digtron:builder",
	recipe = {
			{"","default:mese_crystal_fragment",""},
			{"default:mese_crystal_fragment","digtron:digtron_core","default:mese_crystal_fragment"},
			{"","default:mese_crystal_fragment",""}
			}
})

minetest.register_craft({
	output = "digtron:light",
	recipe = {
			{"","default:torch",""},
			{"","digtron:digtron_core",""},
			{"","",""}
			}
})

minetest.register_craft({
	output = "digtron:digger",
	recipe = {
			{"","default:diamond",""},
			{"default:diamond","digtron:digtron_core","default:diamond"},
			{"","default:diamond",""}
			}
})

minetest.register_craft({
	output = "digtron:sand_digger",
	recipe = {
			{"","default:steel_ingot",""},
			{"default:steel_ingot","digtron:digtron_core","default:steel_ingot"},
			{"","default:steel_ingot",""}
			}
})

minetest.register_craft({
	output = "digtron:inventory",
	recipe = {
			{"","default:chest",""},
			{"","digtron:digtron_core",""},
			{"","",""}
			}
})

minetest.register_craft({
	output = "digtron:fuelstore",
	recipe = {
			{"","default:furnace",""},
			{"","digtron:digtron_core",""},
			{"","",""}
			}
})

minetest.register_craft({
	output = "digtron:structure",
	recipe = {
			{"default:stick","","default:stick"},
			{"","digtron:digtron_core",""},
			{"default:stick","","default:stick"}
			}
})

minetest.register_craft({
	output = "digtron:pusher",
	recipe = {
			{"","default:coal_lump",""},
			{"default:coal_lump","digtron:digtron_core","default:coal_lump"},
			{"","default:coal_lump",""}
			}
})

-- And some recycling reactions to get digtron cores out of the "cheap" parts:

minetest.register_craft({
	output = "digtron:digtron_core",
	recipe = {
			{"digtron:structure"},
			}
})

minetest.register_craft({
	output = "digtron:digtron_core",
	recipe = {
			{"digtron:inventory"},
			}
})

minetest.register_craft({
	output = "digtron:digtron_core",
	recipe = {
			{"digtron:light"},
			}
})

minetest.register_craft({
	output = "digtron:digtron_core",
	recipe = {
			{"digtron:pusher"},
			}
})