123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545 |
- --[[
- More Blocks: crafting recipes
- Copyright © 2011-2020 Hugo Locurcio and contributors.
- Licensed under the zlib license. See LICENSE.md for more information.
- --]]
- minetest.register_craft({
- output = "default:stick",
- recipe = {{"default:dry_shrub"},}
- })
- minetest.register_craft({
- output = "default:stick",
- recipe = {{"group:sapling"},}
- })
- minetest.register_craft({
- output = "default:wood",
- recipe = {
- {"default:stick", "default:stick"},
- {"default:stick", "default:stick"},
- }
- })
- minetest.register_craft({
- output = "default:dirt_with_grass",
- type = "shapeless",
- recipe = {"default:junglegrass", "default:dirt"},
- })
- minetest.register_craft({
- output = "default:mossycobble",
- type = "shapeless",
- recipe = {"default:junglegrass", "default:cobble"},
- })
- minetest.register_craft({
- output = "moreblocks:wood_tile 9",
- recipe = {
- {"group:wood", "group:wood", "group:wood"},
- {"group:wood", "group:wood", "group:wood"},
- {"group:wood", "group:wood", "group:wood"},
- }
- })
- -- This must be registered after `moreblocks:wood_tile` to avoid recipe conflicts,
- -- since `moreblocks:wood_tile` is part of `group:wood`
- minetest.register_craft({
- output = "moreblocks:wood_tile_center 9",
- recipe = {
- {"group:wood", "group:wood", "group:wood"},
- {"group:wood", "moreblocks:wood_tile", "group:wood"},
- {"group:wood", "group:wood", "group:wood"},
- }
- })
- minetest.register_craft({
- type = "shapeless",
- output = "moreblocks:wood_tile",
- recipe = {"moreblocks:wood_tile_flipped"}
- })
- minetest.register_craft({
- output = "moreblocks:wood_tile_full 4",
- recipe = {
- {"moreblocks:wood_tile", "moreblocks:wood_tile"},
- {"moreblocks:wood_tile", "moreblocks:wood_tile"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:wood_tile_offset",
- recipe = {
- {"default:stick"},
- {"moreblocks:wood_tile_center"},
- }
- })
- minetest.register_craft({
- type = "shapeless",
- output = "moreblocks:wood_tile_offset",
- recipe = {"moreblocks:wood_tile_down"}
- })
- minetest.register_craft({
- type = "shapeless",
- output = "moreblocks:wood_tile_offset",
- recipe = {"moreblocks:wood_tile_left"}
- })
- minetest.register_craft({
- type = "shapeless",
- output = "moreblocks:wood_tile_offset",
- recipe = {"moreblocks:wood_tile_right"}
- })
- minetest.register_craft({
- output = "moreblocks:circle_stone_bricks 5",
- recipe = {
- {"", "default:stone", ""},
- {"default:stone", "default:coal_lump", "default:stone"},
- {"", "default:stone", ""},
- }
- })
- minetest.register_craft({
- output = "moreblocks:all_faces_tree 8",
- recipe = {
- {"default:tree", "default:tree", "default:tree"},
- {"default:tree", "", "default:tree"},
- {"default:tree", "default:tree", "default:tree"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:all_faces_jungle_tree 8",
- recipe = {
- {"default:jungletree", "default:jungletree", "default:jungletree"},
- {"default:jungletree", "", "default:jungletree"},
- {"default:jungletree", "default:jungletree", "default:jungletree"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:all_faces_pine_tree 8",
- recipe = {
- {"default:pine_tree", "default:pine_tree", "default:pine_tree"},
- {"default:pine_tree", "", "default:pine_tree"},
- {"default:pine_tree", "default:pine_tree", "default:pine_tree"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:all_faces_acacia_tree 8",
- recipe = {
- {"default:acacia_tree", "default:acacia_tree", "default:acacia_tree"},
- {"default:acacia_tree", "", "default:acacia_tree"},
- {"default:acacia_tree", "default:acacia_tree", "default:acacia_tree"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:all_faces_aspen_tree 8",
- recipe = {
- {"default:aspen_tree", "default:aspen_tree", "default:aspen_tree"},
- {"default:aspen_tree", "", "default:aspen_tree"},
- {"default:aspen_tree", "default:aspen_tree", "default:aspen_tree"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:sweeper 4",
- recipe = {
- {"default:junglegrass"},
- {"default:stick"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:stone_tile 9",
- recipe = {
- {"default:cobble", "default:cobble", "default:cobble"},
- {"default:cobble", "default:stone", "default:cobble"},
- {"default:cobble", "default:cobble", "default:cobble"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:split_stone_tile",
- recipe = {
- {"moreblocks:stone_tile"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:checker_stone_tile",
- recipe = {
- {"moreblocks:split_stone_tile"},
- }
- })
- -- When approaching the below craft, loop back to cobblestone, which can then be used to craft stone tiles again
- minetest.register_craft({
- output = "default:cobble",
- recipe = {
- {"moreblocks:checker_stone_tile"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:grey_bricks 2",
- type = "shapeless",
- recipe = {"default:stone", "default:brick"},
- })
- minetest.register_craft({
- output = "moreblocks:grey_bricks 2",
- type = "shapeless",
- recipe = {"default:stonebrick", "default:brick"},
- })
- minetest.register_craft({
- output = "moreblocks:empty_shelf",
- type = "shapeless",
- recipe = {"moreblocks:sweeper", "default:bookshelf"},
- replacements = {{"default:bookshelf", "default:book 3"}},
- -- When obtaining an empty shelf, return the books used in it as well
- })
- minetest.register_craft({
- output = "moreblocks:empty_shelf",
- type = "shapeless",
- recipe = {"moreblocks:sweeper", "vessels:shelf"},
- replacements = {{"vessels:shelf", "vessels:glass_bottle 3"}},
- })
- minetest.register_craft({
- type = "shapeless",
- output = "default:bookshelf",
- recipe = {"moreblocks:empty_shelf", "default:book", "default:book", "default:book"},
- })
- minetest.register_craft({
- output = "moreblocks:empty_shelf",
- recipe = {
- {"group:wood", "group:wood", "group:wood"},
- {"", "", ""},
- {"group:wood", "group:wood", "group:wood"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:coal_stone_bricks 4",
- recipe = {
- {"moreblocks:coal_stone", "moreblocks:coal_stone"},
- {"moreblocks:coal_stone", "moreblocks:coal_stone"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:iron_stone_bricks 4",
- recipe = {
- {"moreblocks:iron_stone", "moreblocks:iron_stone"},
- {"moreblocks:iron_stone", "moreblocks:iron_stone"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:plankstone 4",
- recipe = {
- {"group:stone", "group:wood"},
- {"group:wood", "group:stone"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:plankstone 4",
- recipe = {
- {"group:wood", "group:stone"},
- {"group:stone", "group:wood"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:coal_checker 4",
- recipe = {
- {"default:stone", "default:coal_lump"},
- {"default:coal_lump", "default:stone"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:coal_checker 4",
- recipe = {
- {"default:coal_lump", "default:stone"},
- {"default:stone", "default:coal_lump"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:iron_checker 4",
- recipe = {
- {"default:steel_ingot", "default:stone"},
- {"default:stone", "default:steel_ingot"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:iron_checker 4",
- recipe = {
- {"default:stone", "default:steel_ingot"},
- {"default:steel_ingot", "default:stone"},
- }
- })
- minetest.register_craft({
- output = "default:chest_locked",
- type = "shapeless",
- recipe = {"default:steel_ingot", "default:chest"},
- })
- minetest.register_craft({
- output = "default:chest_locked",
- type = "shapeless",
- recipe = {"default:copper_ingot", "default:chest"},
- })
- minetest.register_craft({
- output = "default:chest_locked",
- type = "shapeless",
- recipe = {"default:bronze_ingot", "default:chest"},
- })
- minetest.register_craft({
- output = "default:chest_locked",
- type = "shapeless",
- recipe = {"default:gold_ingot", "default:chest"},
- })
- minetest.register_craft({
- output = "moreblocks:iron_glass",
- type = "shapeless",
- recipe = {"default:steel_ingot", "default:glass"},
- })
- minetest.register_craft({
- output = "default:glass",
- type = "shapeless",
- recipe = {"default:coal_lump", "moreblocks:iron_glass"},
- })
- minetest.register_craft({
- output = "moreblocks:coal_glass",
- type = "shapeless",
- recipe = {"default:coal_lump", "default:glass"},
- })
- minetest.register_craft({
- output = "default:glass",
- type = "shapeless",
- recipe = {"default:steel_ingot", "moreblocks:coal_glass"},
- })
- minetest.register_craft({
- output = "moreblocks:clean_glass",
- type = "shapeless",
- recipe = {"moreblocks:sweeper", "default:glass"},
- })
- minetest.register_craft({
- output = "moreblocks:glow_glass",
- type = "shapeless",
- recipe = {"default:torch", "default:glass"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_glow_glass",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_glow_glass",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "moreblocks:glow_glass"},
- })
- minetest.register_craft({
- output = "moreblocks:super_glow_glass",
- type = "shapeless",
- recipe = {"default:torch", "default:torch", "default:glass"},
- })
- minetest.register_craft({
- output = "moreblocks:super_glow_glass",
- type = "shapeless",
- recipe = {"default:torch", "moreblocks:glow_glass"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_super_glow_glass",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch", "default:torch"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_super_glow_glass",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "moreblocks:super_glow_glass"},
- })
- minetest.register_craft({
- output = "moreblocks:coal_stone",
- type = "shapeless",
- recipe = {"default:coal_lump", "default:stone"},
- })
- minetest.register_craft({
- output = "default:stone",
- type = "shapeless",
- recipe = {"default:steel_ingot", "moreblocks:coal_stone"},
- })
- minetest.register_craft({
- output = "moreblocks:iron_stone",
- type = "shapeless",
- recipe = {"default:steel_ingot", "default:stone"},
- })
- minetest.register_craft({
- output = "default:stone",
- type = "shapeless",
- recipe = {"default:coal_lump", "moreblocks:iron_stone"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_stone",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:stone"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_desert_stone",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:desert_stone"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_glass",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:glass"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_obsidian_glass",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:obsidian_glass"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_obsidian",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:obsidian"},
- })
- minetest.register_craft({
- output = "moreblocks:trap_sandstone",
- type = "shapeless",
- recipe = {"default:mese_crystal_fragment", "default:sandstone"},
- })
- minetest.register_craft({
- output = "moreblocks:cactus_brick",
- type = "shapeless",
- recipe = {"default:cactus", "default:brick"},
- })
- minetest.register_craft({
- output = "moreblocks:cactus_checker 4",
- recipe = {
- {"default:cactus", "default:stone"},
- {"default:stone", "default:cactus"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:cactuschecker 4",
- recipe = {
- {"default:stone", "default:cactus"},
- {"default:cactus", "default:stone"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:rope 3",
- recipe = {
- {"default:junglegrass"},
- {"default:junglegrass"},
- {"default:junglegrass"},
- }
- })
- minetest.register_craft({
- output = "moreblocks:dirt_compressed",
- recipe = {
- {'default:dirt', 'default:dirt', 'default:dirt'},
- {'default:dirt', 'default:dirt', 'default:dirt'},
- {'default:dirt', 'default:dirt', 'default:dirt'},
- }
- })
- minetest.register_craft({
- output = "default:dirt 9",
- recipe = {{"moreblocks:dirt_compressed"}},
- })
- minetest.register_craft({
- output = "moreblocks:cobble_compressed",
- recipe = {
- {"default:cobble", "default:cobble", "default:cobble"},
- {"default:cobble", "default:cobble", "default:cobble"},
- {"default:cobble", "default:cobble", "default:cobble"},
- }
- })
- minetest.register_craft({
- output = "default:cobble 9",
- recipe = {
- {"moreblocks:cobble_compressed"},
- }
- })
- minetest.register_craft({
- type = "cooking", output = "moreblocks:tar", recipe = "default:pine_tree",
- })
- minetest.register_craft({
- type = "shapeless",
- output = "moreblocks:copperpatina",
- recipe = {"group:water_bucket", "default:copperblock"},
- replacements = {
- {"group:water_bucket", "bucket:bucket_empty"}
- }
- })
- minetest.register_craft({
- output = "default:copper_ingot 9",
- recipe = {
- {"moreblocks:copperpatina"},
- }
- })
- if minetest.settings:get_bool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
- minetest.register_craft({
- output = "moreblocks:circular_saw",
- recipe = {
- { "", "default:steel_ingot", "" },
- { "group:wood", "group:wood", "group:wood"},
- { "group:wood", "", "group:wood"},
- }
- })
- end
|