1 -- mods/default/crafting.lua
7 minetest
.register_craft({
8 output
= 'default:wood 4',
14 minetest
.register_craft({
15 output
= 'default:junglewood 4',
17 {'default:jungletree'},
21 minetest
.register_craft({
22 output
= 'default:acaciawood 4',
24 {'default:acaciatree'},
28 minetest
.register_craft({
29 output
= 'default:sprucewood 4',
31 {'default:sprucetree'},
37 minetest
.register_craft({
38 output
= 'default:mossycobble',
40 {'default:cobble', 'default:vine'},
44 minetest
.register_craft({
45 output
= 'default:stonebrickmossy',
47 {'default:stonebrick', 'default:vine'},
52 minetest
.register_craft({
53 output
= 'default:stick 4',
60 minetest
.register_craft({
61 output
= 'fences:fence_wood 2',
63 {'default:stick', 'default:stick', 'default:stick'},
64 {'default:stick', 'default:stick', 'default:stick'},
68 minetest
.register_craft({
69 output
= 'signs:sign_wall',
71 {'group:wood', 'group:wood', 'group:wood'},
72 {'group:wood', 'group:wood', 'group:wood'},
73 {'', 'default:stick', ''},
77 minetest
.register_craft({
78 output
= 'torches:torch 4',
80 {'default:coal_lump'},
85 minetest
.register_craft({
86 output
= 'torches:torch 4',
88 {'default:charcoal_lump'},
93 minetest
.register_craft({
94 output
= 'default:pick_wood',
96 {'group:wood', 'group:wood', 'group:wood'},
97 {'', 'default:stick', ''},
98 {'', 'default:stick', ''},
102 minetest
.register_craft({
103 output
= 'default:pick_stone',
105 {'group:stone', 'group:stone', 'group:stone'},
106 {'', 'default:stick', ''},
107 {'', 'default:stick', ''},
111 minetest
.register_craft({
112 output
= 'default:pick_steel',
114 {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
115 {'', 'default:stick', ''},
116 {'', 'default:stick', ''},
120 minetest
.register_craft({
121 output
= 'default:pick_gold',
123 {'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
124 {'', 'default:stick', ''},
125 {'', 'default:stick', ''},
129 minetest
.register_craft({
130 output
= 'default:pick_diamond',
132 {'default:diamond', 'default:diamond', 'default:diamond'},
133 {'', 'default:stick', ''},
134 {'', 'default:stick', ''},
138 minetest
.register_craft({
139 output
= 'default:shovel_wood',
147 minetest
.register_craft({
148 output
= 'default:shovel_stone',
156 minetest
.register_craft({
157 output
= 'default:shovel_steel',
159 {'default:steel_ingot'},
165 minetest
.register_craft({
166 output
= 'default:shovel_gold',
168 {'default:gold_ingot'},
174 minetest
.register_craft({
175 output
= 'default:shovel_diamond',
183 minetest
.register_craft({
184 output
= 'default:axe_wood',
186 {'group:wood', 'group:wood'},
187 {'group:wood', 'default:stick'},
188 {'', 'default:stick'},
192 minetest
.register_craft({
193 output
= 'default:axe_stone',
195 {'group:stone', 'group:stone'},
196 {'group:stone', 'default:stick'},
197 {'', 'default:stick'},
201 minetest
.register_craft({
202 output
= 'default:axe_steel',
204 {'default:steel_ingot', 'default:steel_ingot'},
205 {'default:steel_ingot', 'default:stick'},
206 {'', 'default:stick'},
210 minetest
.register_craft({
211 output
= 'default:axe_gold',
213 {'default:gold_ingot', 'default:gold_ingot'},
214 {'default:gold_ingot', 'default:stick'},
215 {'', 'default:stick'},
219 minetest
.register_craft({
220 output
= 'default:axe_diamond',
222 {'default:diamond', 'default:diamond'},
223 {'default:diamond', 'default:stick'},
224 {'', 'default:stick'},
228 minetest
.register_craft({
229 output
= 'default:sword_wood',
237 minetest
.register_craft({
238 output
= 'default:sword_stone',
246 minetest
.register_craft({
247 output
= 'default:sword_steel',
249 {'default:steel_ingot'},
250 {'default:steel_ingot'},
255 minetest
.register_craft({
256 output
= 'default:sword_gold',
258 {'default:gold_ingot'},
259 {'default:gold_ingot'},
264 minetest
.register_craft({
265 output
= 'default:sword_diamond',
273 minetest
.register_craft({
274 output
= 'default:flint_and_steel',
276 {'default:steel_ingot', ''},
277 {'', 'default:flint'},
281 minetest
.register_craft({
282 output
= "default:pole",
284 {'','','default:stick'},
285 {'','default:stick','farming:string'},
286 {'default:stick','','farming:string'},
290 minetest
.register_craft({
291 output
= "default:pole",
293 {'', '', 'default:stick'},
294 {'', 'default:stick', 'default:string'},
295 {'default:stick', '', 'default:string'},
299 minetest
.register_craft({
300 output
= 'default:rail 15',
302 {'default:steel_ingot', '', 'default:steel_ingot'},
303 {'default:steel_ingot', 'default:stick', 'default:steel_ingot'},
304 {'default:steel_ingot', '', 'default:steel_ingot'},
308 minetest
.register_craft({
309 output
= 'default:chest',
311 {'group:wood', 'group:wood', 'group:wood'},
312 {'group:wood', '', 'group:wood'},
313 {'group:wood', 'group:wood', 'group:wood'},
317 minetest
.register_craft({
318 output
= 'default:furnace',
320 {'group:stone', 'group:stone', 'group:stone'},
321 {'group:stone', '', 'group:stone'},
322 {'group:stone', 'group:stone', 'group:stone'},
326 minetest
.register_craft({
327 output
= 'default:haybale',
329 {'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'},
330 {'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'},
331 {'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'},
335 minetest
.register_craft({
336 output
= 'farming:wheat_harvested 9',
342 minetest
.register_craft({
343 output
= 'default:sea_lantern',
345 {'default:prismarine_shard', 'default:prismarine_cry', 'default:prismarine_shard'},
346 {'default:prismarine_cry', 'default:prismarine_cry', 'default:prismarine_cry'},
347 {'default:prismarine_shard', 'default:prismarine_cry', 'default:prismarine_shard'},
351 minetest
.register_craft({
352 output
= 'default:prismarine',
354 {'default:prismarine_shard', 'default:prismarine_shard'},
355 {'default:prismarine_shard', 'default:prismarine_shard'},
359 minetest
.register_craft({
360 output
= 'default:prismarine_brick',
362 {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
363 {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
364 {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
368 minetest
.register_craft({
369 output
= 'default:prismarine_dark',
371 {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
372 {'default:prismarine_shard', 'dye:black', 'default:prismarine_shard'},
373 {'default:prismarine_shard', 'default:prismarine_shard', 'default:prismarine_shard'},
377 minetest
.register_craft({
378 output
= 'default:steelblock',
380 {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
381 {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
382 {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
386 minetest
.register_craft({
387 output
= 'default:steel_ingot 9',
389 {'default:steelblock'},
393 minetest
.register_craft({
394 output
= 'default:goldblock',
396 {'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
397 {'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
398 {'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
402 minetest
.register_craft({
403 output
= 'default:gold_ingot 9',
405 {'default:goldblock'},
409 minetest
.register_craft({
410 output
= "default:gold_nugget 9",
411 recipe
= {{"default:gold_ingot"}},
414 minetest
.register_craft({
415 output
= 'default:sandstone',
417 {'group:sand', 'group:sand'},
418 {'group:sand', 'group:sand'},
422 minetest
.register_craft({
423 output
= 'default:clay',
425 {'default:clay_lump', 'default:clay_lump'},
426 {'default:clay_lump', 'default:clay_lump'},
430 minetest
.register_craft({
431 output
= 'default:brick',
433 {'default:clay_brick', 'default:clay_brick'},
434 {'default:clay_brick', 'default:clay_brick'},
438 minetest
.register_craft({
439 output
= 'default:clay_brick 4',
445 minetest
.register_craft({
446 output
= 'default:paper',
448 {'default:reeds', 'default:reeds', 'default:reeds'},
452 minetest
.register_craft({
453 output
= 'default:book',
461 minetest
.register_craft({
462 output
= 'default:bookshelf',
464 {'group:wood', 'group:wood', 'group:wood'},
465 {'default:book', 'default:book', 'default:book'},
466 {'group:wood', 'group:wood', 'group:wood'},
470 minetest
.register_craft({
471 output
= 'default:ladder',
473 {'default:stick', '', 'default:stick'},
474 {'default:stick', 'default:stick', 'default:stick'},
475 {'default:stick', '', 'default:stick'},
479 minetest
.register_craft({
480 output
= 'default:stonebrick',
482 {'default:stone', 'default:stone'},
483 {'default:stone', 'default:stone'},
487 minetest
.register_craft({
489 output
= "default:gunpowder",
496 minetest
.register_craft({
497 output
= 'dye:white 3',
503 minetest
.register_craft({
504 output
= 'default:lapisblock',
506 {'dye:blue', 'dye:blue', 'dye:blue'},
507 {'dye:blue', 'dye:blue', 'dye:blue'},
508 {'dye:blue', 'dye:blue', 'dye:blue'},
512 minetest
.register_craft({
513 output
= 'dye:blue 9',
515 {'default:lapisblock'},
519 minetest
.register_craft({
520 output
= "default:emeraldblock",
522 {'default:emerald', 'default:emerald', 'default:emerald'},
523 {'default:emerald', 'default:emerald', 'default:emerald'},
524 {'default:emerald', 'default:emerald', 'default:emerald'},
528 minetest
.register_craft({
529 output
= 'default:emerald 9',
531 {'default:emeraldblock'},
535 minetest
.register_craft({
536 output
= "default:glowstone",
538 {'default:glowstone_dust', 'default:glowstone_dust'},
539 {'default:glowstone_dust', 'default:glowstone_dust'},
543 minetest
.register_craft({
544 output
= 'default:glowstone_dust 4',
546 {'default:glowstone'},
551 minetest
.register_craft({
552 output
= 'default:redstone_dust',
553 recipe
= {{"mesecons:wire_00000000_off"}},
557 minetest
.register_craft({
558 output
= "default:apple_gold",
560 {"default:gold_nugget", "default:gold_nugget", "default:gold_nugget"},
561 {"default:gold_nugget", 'default:apple', "default:gold_nugget"},
562 {"default:gold_nugget", "default:gold_nugget", "default:gold_nugget"},
566 minetest
.register_craft({
567 output
= "default:sugar",
573 minetest
.register_craft({
574 output
= 'default:snowblock',
576 {'default:snow', 'default:snow', 'default:snow'},
577 {'default:snow', 'default:snow', 'default:snow'},
578 {'default:snow', 'default:snow', 'default:snow'},
582 minetest
.register_craft({
583 output
= 'default:snow 9',
585 {'default:snowblock'},
589 minetest
.register_craft({
590 output
= 'default:quartz_block',
592 {'default:quartz_crystal', 'default:quartz_crystal'},
593 {'default:quartz_crystal', 'default:quartz_crystal'},
597 minetest
.register_craft({
598 output
= 'default:quartz_chiseled 2',
600 {'stairs:slab_quartzblock'},
601 {'stairs:slab_quartzblock'},
605 minetest
.register_craft({
606 output
= 'default:quartz_pillar 2',
608 {'default:quartz_block'},
609 {'default:quartz_block'},
615 -- Crafting (tool repair)
617 minetest
.register_craft({
619 additional_wear
= -0.02,
626 minetest
.register_craft({
628 output
= "default:glass",
629 recipe
= "group:sand",
632 minetest
.register_craft({
634 output
= "default:stone",
635 recipe
= "default:cobble",
638 minetest
.register_craft({
640 output
= "default:steel_ingot",
641 recipe
= "default:stone_with_iron",
644 minetest
.register_craft({
646 output
= "default:gold_ingot",
647 recipe
= "default:stone_with_gold",
650 minetest
.register_craft({
652 output
= "default:clay_brick",
653 recipe
= "default:clay_lump",
656 minetest
.register_craft({
658 output
= "default:fish",
659 recipe
= "default:fish_raw",
663 minetest
.register_craft({
665 output
= "default:charcoal_lump",
666 recipe
= "group:tree",
669 minetest
.register_craft({
671 output
= "default:sponge",
672 recipe
= "default:sponge_wet",
679 minetest
.register_craft({
681 recipe
= "group:tree",
685 minetest
.register_craft({
687 recipe
= "default:junglegrass",
691 minetest
.register_craft({
693 recipe
= "group:leaves",
697 minetest
.register_craft({
699 recipe
= "default:cactus",
703 minetest
.register_craft({
705 recipe
= "default:reeds",
709 minetest
.register_craft({
711 recipe
= "default:bookshelf",
715 minetest
.register_craft({
717 recipe
= "default:fence_wood",
721 minetest
.register_craft({
723 recipe
= "default:ladder",
727 minetest
.register_craft({
729 recipe
= "group:wood",
733 minetest
.register_craft({
735 recipe
= "default:lava_source",
739 minetest
.register_craft({
741 recipe
= "torches:torch",
745 minetest
.register_craft({
747 recipe
= "signs:sign_wall",
751 minetest
.register_craft({
753 recipe
= "default:chest",
757 minetest
.register_craft({
759 recipe
= "default:sapling",
763 minetest
.register_craft({
765 recipe
= "default:apple",
769 minetest
.register_craft({
771 recipe
= "default:apple_gold",
775 minetest
.register_craft({
777 recipe
= "default:coal_lump",
781 minetest
.register_craft({
783 recipe
= "default:haybale",
787 minetest
.register_craft({
789 recipe
= "default:charcoal_lump",
793 minetest
.register_craft({
795 recipe
= "default:junglesapling",
799 minetest
.register_craft({
801 recipe
= "default:grass_1",
809 minetest
.register_craft({
810 output
= "default:string",
811 recipe
= {{"default:paper", "default:paper"}},