forked from mega-gigaMynetest/rythium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcraft.lua
105 lines (94 loc) · 2.99 KB
/
craft.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
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
-- mithril powder
if not minetest.get_modpath("technic") then
minetest.register_craft({
type = "cooking",
output = "rythium:mithril_powder",
recipe = "moreores:mithril_ingot",
})
end
-- diamond powder
if minetest.get_modpath("technic") then
technic.register_grinder_recipe({input = { "default:diamond" }, output = "rythium:diamond_powder 1"})
else
minetest.register_craft({
type = "cooking",
output = "rythium:diamond_powder",
recipe = "default:diamond",
})
end
minetest.register_craft({
output = "rythium:sapling",
recipe = {
{"default:diamondblock", "default:mese", "default:diamondblock" },
{"rythium:mithril_powder", "default:mese", "rythium:mithril_powder" },
{"", "default:stick", ""},
},
})
minetest.register_craft({
output = "rythium:mineral_dirt",
recipe = {
{"", "rythium:diamond_powder", "" },
{ "rythium:mithril_powder", "default:dirt", "rythium:mithril_powder" },
{"", "rythium:diamond_powder", ""},
},
})
minetest.register_craft({
output = "rythium:healing_wand",
recipe = {
{"default:apple", "rythium:rythium_ingot", "default:apple"},
{"default:apple", "rythium:rythium_ingot", "default:apple"},
{"", "default:stick", ""},
},
})
minetest.register_craft({
output = "rythium:huge_pick",
recipe = {
{"rythium:rythium_ingot", "rythium:rythium_ingot", "rythium:rythium_ingot"},
{"rythium:rythium_ingot", "default:stick", "rythium:rythium_ingot"},
{"", "default:stick", ""},
},
})
minetest.register_craft({
output = "rythium:rythium_ingot",
recipe = {
{"rythium:rythium_nugget", "rythium:rythium_nugget", "rythium:rythium_nugget" },
{ "rythium:rythium_nugget", "rythium:rythium_nugget", "rythium:rythium_nugget" },
{"rythium:rythium_nugget", "rythium:rythium_nugget", "rythium:rythium_nugget"},
},
})
minetest.register_craft({
output = "rythium:rythium_block",
recipe = {
{"rythium:rythium_ingot", "rythium:rythium_ingot", "rythium:rythium_ingot" },
{ "rythium:rythium_ingot", "rythium:rythium_ingot", "rythium:rythium_ingot" },
{"rythium:rythium_ingot", "rythium:rythium_ingot", "rythium:rythium_ingot"},
},
})
minetest.register_craft({
output = "rythium:rythium_ingot 9",
recipe = {
{"rythium:rythium_block"},
},
})
minetest.register_craft({
output = "rythium:rythium_nugget 9",
recipe = {
{"rythium:rythium_ingot"},
},
})
minetest.register_craft({
output = "rythium:headlamp_controller",
recipe = {
{"", "rythium:rythium_nugget", "" },
{ "", "default:stick", "" },
{"", "default:stick", ""},
},
})
minetest.register_craft({
output = "rythium:headlamp",
recipe = {
{"rythium:rythium_ingot", "rythium:rythium_ingot", "rythium:rythium_ingot" },
{"rythium:rythium_ingot", "", "rythium:rythium_ingot"},
{"", "", ""},
},
})