-
Notifications
You must be signed in to change notification settings - Fork 2
/
crafts.lua
161 lines (160 loc) · 4.76 KB
/
crafts.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
local craft_ingreds = {
rainbow = "nyancats_plus:rainbow_shard",
waffle = "armor_addon:waffleblock",
obsidian = "default:obsidian",
chocolate = "farming:chocolate_dark",
carbonfiber = "nanotech:carbon_plate",
rhodo = "moreores:rhodochrosite_ingot",
tin = "default:tin_ingot",
ibrog = "armor_addon:ibrogblock",
hero = "even_mosword:hero_ingot",
cane = "candycane:candy_cane",
cane = "christmas_decor:candycane_edible",
skeletal = "armor_addon:bone",
brick = "default:brick",
silver = "moreores:silver_ingot",
sky = "sky_tools:crystal",
emeralds = "emeralds:emerald_crystal_piece",
emerald = "gems:emerald_gem",
pearl = "gems:pearl_gem",
amethyst = "gems:amethyst_gem",
ruby = "gems:ruby:gem",
sapphire = "gems:sapphire_gem",
shadow = "gems:shadow_gem",
cgls = "terumet:ingot_cgls",
tcop = "terumet:ingot_tcop",
tcha = "terumet:ingot_tcha",
tgol = "terumet:ingot_tgol",
tste = "terumet:ingot_tste",
}
for k, v in pairs(craft_ingreds) do
minetest.register_craft({
output = "armor_addon:helmet_"..k,
recipe = {
{v, v, v},
{v, "", v},
{"", "", ""},
},
})
minetest.register_craft({
output = "armor_addon:chestplate_"..k,
recipe = {
{v, "", v},
{v, v, v},
{v, v, v},
},
})
minetest.register_craft({
output = "armor_addon:leggings_"..k,
recipe = {
{v, v, v},
{v, "", v},
{v, "", v},
},
})
minetest.register_craft({
output = "armor_addon:boots_"..k,
recipe = {
{v, "", v},
{v, "", v},
},
})
minetest.register_craft({
output = "armor_addon:shield_"..k,
recipe = {
{v, v, v},
{v, v, v},
{"", v, ""},
},
})
end
minetest.register_node("armor_addon:waffleblock", {
description = "Waffle Block",
tiles = {"armor_addon_waffleblock.png"},
is_ground_content = true,
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
drop = 'armor_addon:waffleblock',
sounds = default.node_sound_wood_defaults(),
})
minetest.register_craft({
output = 'armor_addon:waffleblock',
recipe = {
{'waffles:large_waffle', 'waffles:large_waffle', 'waffles:large_waffle'},
{'waffles:large_waffle', 'waffles:large_waffle', 'waffles:large_waffle'},
{'waffles:large_waffle', 'waffles:large_waffle', 'waffles:large_waffle'},
}
})
minetest.register_craft({
output = 'waffles:large_waffle 9',
recipe = {
{'armor_addon:waffleblock'},
}
})
minetest.register_craft({
output = 'armor_addon:ibrogblock',
recipe = {
{'default:obsidian_glass', 'xpanes:bar_flat', 'default:obsidian_glass'},
{'xpanes:bar_flat', 'default:obsidian_glass', 'xpanes:bar_flat'},
{'default:obsidian_glass', 'xpanes:bar_flat', 'default:obsidian_glass'},
}
})
minetest.register_node("armor_addon:ibrogblock", {
description = "Ibrog",
drawtype = "glasslike_framed_optional",
tiles = {"armor_addon_ibrogblock.png"},
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
groups = {cracky = 3},
})
minetest.register_craft ({
output = 'armor_addon:bone 4',
recipe = {
{'bones:bones', 'bones:bones', 'bones:bones'},
{'bones:bones', 'default:diamondblock', 'bones:bones'},
{'bones:bones', 'bones:bones', 'bones:bones'},
}
})
minetest.register_craftitem ("armor_addon:bone", {
description = ("Bone"),
inventory_image = "armor_addon_bone.png",
})
minetest.register_craft({
output = 'armor_addon:boots_tacnayn',
recipe = {
{'armor_addon:boots_waffle', '', 'armor_addon:boots_rainbow'},
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
}
})
minetest.register_craft({
output = 'armor_addon:chestplate_tacnayn',
recipe = {
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
{'armor_addon:chestplate_waffle', 'tac_nayn:tacnayn_rainbow', 'armor_addon:chestplate_rainbow'},
{'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow'},
}
})
minetest.register_craft({
output = 'armor_addon:helmet_tacnayn',
recipe = {
{'armor_addon:helmet_waffle', 'tac_nayn:tacnayn_rainbow', 'armor_addon:helmet_rainbow'},
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
}
})
minetest.register_craft({
output = 'armor_addon:leggings_tacnayn',
recipe = {
{'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn_rainbow'},
{'armor_addon:helmet_waffle', '', 'armor_addon:helmet_rainbow'},
{'tac_nayn:tacnayn_rainbow', '', 'tac_nayn:tacnayn_rainbow'},
}
})
minetest.register_craft({
output = 'armor_addon:shield_tacnayn',
recipe = {
{'armor_addon:shield_waffle', 'tac_nayn:tacnayn_rainbow', 'armor_addon:shield_rainbow'},
{'tac_nayn:tacnayn_rainbow', 'tac_nayn:tacnayn', 'tac_nayn:tacnayn_rainbow'},
{'', 'tac_nayn:tacnayn_rainbow', ''},
}
})