diff options
author | Calinou <calinou@opmbx.org> | 2014-04-30 19:50:59 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-04-30 19:50:59 +0200 |
commit | cd91942e21fb225f494c44a3a8be43b6bcd6e632 (patch) | |
tree | 58fea4ceb491493c5bfdf00b54705a5929ef0b5d /crafting.lua | |
parent | 5c1e6fcf0e3adfd41a38d49a1d3c3cccc5c32a8b (diff) |
Lots of crafting tweaks, slight code cleanup.
Diffstat (limited to 'crafting.lua')
-rw-r--r-- | crafting.lua | 121 |
1 files changed, 82 insertions, 39 deletions
diff --git a/crafting.lua b/crafting.lua index 8e02ef7..5d6e1a5 100644 --- a/crafting.lua +++ b/crafting.lua @@ -2,41 +2,31 @@ minetest.register_craft({ output = "default:stick 1", - recipe = { - {"default:dry_shrub"}, - } + recipe = {{"default:dry_shrub"},} }) minetest.register_craft({ output = "default:dirt_with_grass 1", - recipe = { - {"default:junglegrass"}, - {"default:dirt"}, - } + type = "shapeless", + recipe = {"default:junglegrass", "default:dirt"}, }) minetest.register_craft({ output = "default:dirt_with_grass 1", - recipe = { - {"default:mese"}, - {"default:dirt"}, - } + type = "shapeless", + recipe = {"default:mese", "default:dirt"}, }) minetest.register_craft({ output = "default:mossycobble 1", - recipe = { - {"default:junglegrass"}, - {"default:cobble"}, - } + type = "shapeless", + recipe = {"default:junglegrass", "default:cobble"}, }) minetest.register_craft({ output = "default:mossycobble 1", - recipe = { - {"default:mese"}, - {"default:cobble"}, - } + type = "shapeless", + recipe = {"default:mese_crystal_fragment", "default:cobble"}, }) minetest.register_craft({ @@ -50,9 +40,7 @@ minetest.register_craft({ minetest.register_craft({ output = "moreblocks:wood_tile_flipped 1", - recipe = { - {"moreblocks:wood_tile"}, - } + recipe = {{"moreblocks:wood_tile"},} }) minetest.register_craft({ @@ -104,9 +92,7 @@ minetest.register_craft({ minetest.register_craft({ output = "moreblocks:junglestick 4", - recipe = { - {"default:junglewood"}, - } + recipe = {{"default:junglewood"},} }) minetest.register_craft({ @@ -169,10 +155,8 @@ minetest.register_craft({ minetest.register_craft({ output = "moreblocks:empty_bookshelf 1", - recipe = { - {"moreblocks:sweeper"}, - {"default:bookshelf"}, - } + type = "shapeless", + recipe = {"moreblocks:sweeper", "default:bookshelf"}, }) minetest.register_craft({ @@ -244,6 +228,23 @@ minetest.register_craft({ type = "shapeless", recipe = {"default:steel_ingot", "default:chest"}, }) +minetest.register_craft({ + output = "default:chest_locked 1", + type = "shapeless", + recipe = {"default:copper_ingot", "default:chest"}, +}) + +minetest.register_craft({ + output = "default:chest_locked 1", + type = "shapeless", + recipe = {"default:bronze_ingot", "default:chest"}, +}) + +minetest.register_craft({ + output = "default:chest_locked 1", + type = "shapeless", + recipe = {"default:gold_ingot", "default:chest"}, +}) minetest.register_craft({ output = "moreblocks:iron_glass 1", @@ -252,12 +253,25 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "default:glass 1", + type = "shapeless", + recipe = {"default:coal_lump", "moreblocks:iron_glass"}, +}) + + +minetest.register_craft({ output = "moreblocks:coal_glass 1", type = "shapeless", recipe = {"default:coal_lump", "default:glass"}, }) minetest.register_craft({ + output = "default:glass 1", + type = "shapeless", + recipe = {"default:steel_ingot", "moreblocks:coal_glass"}, +}) + +minetest.register_craft({ output = "moreblocks:clean_glass 1", type = "shapeless", recipe = {"moreblocks:sweeper", "default:glass"}, @@ -272,8 +286,13 @@ minetest.register_craft({ minetest.register_craft({ output = "moreblocks:trap_glow_glass 1", type = "shapeless", - walkable = false, - recipe = {"default:mese_crystal", "default:glass", "default:torch"}, + recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch"}, +}) + +minetest.register_craft({ + output = "moreblocks:trap_glow_glass 1", + type = "shapeless", + recipe = {"default:mese_crystal_fragment", "moreblocks:glow_glass"}, }) minetest.register_craft({ @@ -283,10 +302,22 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "moreblocks:super_glow_glass 1", + type = "shapeless", + recipe = {"default:torch", "moreblocks:glow_glass"}, +}) + + +minetest.register_craft({ + output = "moreblocks:trap_super_glow_glass 1", + type = "shapeless", + recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch", "default:torch"}, +}) + +minetest.register_craft({ output = "moreblocks:trap_super_glow_glass 1", type = "shapeless", - walkable = false, - recipe = {"default:mese_crystal", "default:glass", "default:torch", "default:torch"}, + recipe = {"default:mese_crystal_fragment", "moreblocks:super_glow_glass"}, }) minetest.register_craft({ @@ -296,21 +327,33 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "default:stone 1", + type = "shapeless", + recipe = {"default:steel_ingot", "moreblocks:coal_stone"}, +}) + +minetest.register_craft({ output = "moreblocks:iron_stone 1", type = "shapeless", - recipe = {"default:iron_lump", "default:stone"}, + recipe = {"default:steel_ingot", "default:stone"}, +}) + +minetest.register_craft({ + output = "default:stone 1", + type = "shapeless", + recipe = {"default:coal_lump", "moreblocks:iron_stone"}, }) minetest.register_craft({ - output = "moreblocks:trap_stone 12", + output = "moreblocks:trap_stone 1", type = "shapeless", - recipe = {"default:mese", "default:stone"}, + recipe = {"default:mese_crystal_fragment", "default:stone"}, }) minetest.register_craft({ - output = "moreblocks:trap_glass 12", + output = "moreblocks:trap_glass 1", type = "shapeless", - recipe = {"default:mese", "default:glass"}, + recipe = {"default:mese_crystal_fragment", "default:glass"}, }) minetest.register_craft({ @@ -336,7 +379,7 @@ minetest.register_craft({ }) minetest.register_craft({ - output = "moreblocks:rope 2", + output = "moreblocks:rope 3", recipe = { {"default:junglegrass"}, {"default:junglegrass"}, |