]> git.lizzy.rs Git - xdecor.git/blob - crafts.lua
tweak recipes
[xdecor.git] / crafts.lua
1 minetest.register_craft({
2         output = "xdecor:barrel",
3         recipe = {
4                 {"group:wood", "group:wood", "group:wood"},
5                 {"default:iron_lump", "", "default:iron_lump"},
6                 {"group:wood", "group:wood", "group:wood"}
7         }
8 })
9
10 minetest.register_craftitem("xdecor:brass_ingot", {
11         description = "Brass ingot",
12         inventory_image = "xdecor_brass_ingot.png",
13 })
14
15 minetest.register_craft({
16         type = "shapeless",
17         output = "xdecor:brass_ingot",
18         recipe = {"default:copper_ingot", "moreores:tin_ingot"}
19 })
20
21 minetest.register_craft({
22         output = "xdecor:cabinet",
23         recipe = {
24                 {"group:wood", "group:wood", "group:wood"},
25                 {"doors:trapdoor", "", "doors:trapdoor"},
26                 {"group:wood", "group:wood", "group:wood"}
27         }
28 })
29
30 minetest.register_craft({
31         output = "xdecor:cabinet_half 2",
32         recipe = { {"xdecor:cabinet"} }
33 })
34
35 minetest.register_craft({
36         type = "shapeless",
37         output = "xdecor:candle 2",
38         recipe = {"default:torch"}
39 })
40
41 minetest.register_craft({
42         output = "xdecor:cardboard_box",
43         recipe = {
44                 {"default:paper", "default:paper", "default:paper"},
45                 {"default:paper", "default:paper", "default:paper"}
46         }
47 })
48
49 minetest.register_craft({
50         output = "xdecor:cauldron",
51         recipe = {
52                 {"default:iron_lump", "", "default:iron_lump"},
53                 {"default:iron_lump", "default:water_source", "default:iron_lump"},
54                 {"default:iron_lump", "default:iron_lump", "default:iron_lump"}
55         }
56 })
57
58 minetest.register_craft({
59         output = "xdecor:chair",
60         recipe = {
61                 {"group:stick", "", ""},
62                 {"group:stick", "group:stick", "group:stick"},
63                 {"group:stick", "", "group:stick"}
64         }
65 })
66
67 minetest.register_craft({
68         output = "xdecor:coalstone_tile 8",
69         recipe = {
70                 {"default:coalblock", "default:stone"},
71                 {"default:stone", "default:coalblock"}
72         }
73 })
74
75 minetest.register_craft({
76         output = "xdecor:cushion 2",
77         recipe = {
78                 {"wool:red", "wool:red", "wool:red"}
79         }
80 })
81
82 minetest.register_craft({
83         output = "xdecor:fence_brass 2",
84         recipe = {
85                 {"xdecor:brass_ingot", "xdecor:brass_ingot", "xdecor:brass_ingot"},
86                 {"xdecor:brass_ingot", "xdecor:brass_ingot", "xdecor:brass_ingot"}
87         }
88 })
89
90 minetest.register_craft({
91         output = "xdecor:fence_wrought_iron 2",
92         recipe = {
93                 {"default:iron_lump", "default:iron_lump", "default:iron_lump"},
94                 {"default:iron_lump", "default:iron_lump", "default:iron_lump"}
95         }
96 })
97
98 minetest.register_craft({
99         type = "shapeless",
100         output = "xdecor:flint_steel",
101         recipe = {"default:obsidian_shard", "default:steel_ingot"}
102 })
103
104 minetest.register_craft({
105         output = "xdecor:frame",
106         recipe = {
107                 {"group:stick", "group:stick", "group:stick"},
108                 {"group:stick", "default:paper", "group:stick"},
109                 {"group:stick", "group:stick", "group:stick"},
110         }
111 })
112
113 minetest.register_craft({
114         type = "shapeless",
115         output = "xdecor:moonbrick",
116         recipe = {"default:brick", "default:stone"}
117 })
118
119 minetest.register_craft({
120         output = "xdecor:multishelf",
121         recipe = {
122                 {"group:wood", "group:wood", "group:wood"},
123                 {"xdecor:skull", "group:book", "group:vessel"},
124                 {"group:wood", "group:wood", "group:wood"}
125         }
126 })
127
128 minetest.register_craft({
129         type = "shapeless",
130         output = "xdecor:painting",
131         recipe = {"default:sign_wall", "dye:blue"}
132 })
133
134 minetest.register_craft({
135         output = "xdecor:plant_pot",
136         recipe = {
137                 {"default:clay_lump", "", "default:clay_lump"},
138                 {"default:clay_lump", "default:dirt", "default:clay_lump"},
139                 {"default:clay_lump", "default:clay_lump", "default:clay_lump"}
140         }
141 })
142
143 minetest.register_craft({
144         output = "xdecor:rope 2",
145         recipe = {
146                 {"farming:string"},
147                 {"farming:string"},
148                 {"farming:string"}
149         }
150 })
151
152 minetest.register_craft({
153         type = "shapeless",
154         output = "xdecor:skull",
155         recipe = {"bones:bones"}
156 })
157
158 minetest.register_craft({
159         output = "xdecor:table",
160         recipe = {
161                 {"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
162                 {"", "group:stick", ""},
163                 {"", "group:stick", ""}
164         }
165 })
166
167 minetest.register_craft({
168         output = "xdecor:tv",
169         recipe = {
170                 {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
171                 {"default:steel_ingot", "default:glass", "default:steel_ingot"},
172                 {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}
173         }
174 })
175
176 minetest.register_craft({
177         output = "xdecor:workbench",
178         recipe = {
179                 {"group:wood", "group:wood", "group:wood"},
180                 {"screwdriver:screwdriver", "screwdriver:screwdriver", "screwdriver:screwdriver"},
181                 {"group:wood", "group:wood", "group:wood"}
182         }
183 })
184
185 minetest.register_craft({
186         output = "xdecor:wood_tile 2",
187         recipe = {
188                 {"group:wood", "group:wood"},
189                 {"group:wood", "group:wood"}
190         }
191 })