diff options
author | FaceDeer <derksenmobile@gmail.com> | 2016-12-30 23:38:18 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2016-12-30 23:38:18 -0700 |
commit | 2695c6103383996fedfd12098cf3f28c5fc43fe2 (patch) | |
tree | 7db55aac50e27846ff3da78f9a59687a942c1721 /recipes.lua | |
parent | 25ca1c02615a8d458e16ff10b12fd6395767663c (diff) |
Initial commit
Initial commit. Contains digger head, sand digger, builder, controller,
pusher, structure node, light, inventory, and digtron core crafting
item.
Diffstat (limited to 'recipes.lua')
-rw-r--r-- | recipes.lua | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/recipes.lua b/recipes.lua new file mode 100644 index 0000000..e25f065 --- /dev/null +++ b/recipes.lua @@ -0,0 +1,115 @@ +minetest.register_craftitem("digtron:digtron_core", { + description = "Digtron Core", + inventory_image = "digtron_core.png" +}) + +minetest.register_craft({ + output = "digtron:digtron_core", + recipe = { + {"","default:steel_ingot",""}, + {"default:steel_ingot","default:mese_crystal_fragment","default:steel_ingot"}, + {"","default:steel_ingot",""} + } +}) + +minetest.register_craft({ + output = "digtron:controller", + recipe = { + {"","default:mese_crystal",""}, + {"default:mese_crystal","digtron:digtron_core","default:mese_crystal"}, + {"","default:mese_crystal",""} + } +}) + +minetest.register_craft({ + output = "digtron:builder", + recipe = { + {"","default:mese_crystal_fragment",""}, + {"default:mese_crystal_fragment","digtron:digtron_core","default:mese_crystal_fragment"}, + {"","default:mese_crystal_fragment",""} + } +}) + +minetest.register_craft({ + output = "digtron:light", + recipe = { + {"","default:torch",""}, + {"","digtron:digtron_core",""}, + {"","",""} + } +}) + +minetest.register_craft({ + output = "digtron:digger", + recipe = { + {"","default:diamond",""}, + {"default:diamond","digtron:digtron_core","default:diamond"}, + {"","default:diamond",""} + } +}) + +minetest.register_craft({ + output = "digtron:sand_digger", + recipe = { + {"","default:steel_ingot",""}, + {"default:steel_ingot","digtron:digtron_core","default:steel_ingot"}, + {"","default:steel_ingot",""} + } +}) + +minetest.register_craft({ + output = "digtron:inventory", + recipe = { + {"","default:chest",""}, + {"","digtron:digtron_core",""}, + {"","",""} + } +}) + +minetest.register_craft({ + output = "digtron:structure", + recipe = { + {"default:stick","","default:stick"}, + {"","digtron:digtron_core",""}, + {"default:stick","","default:stick"} + } +}) + +minetest.register_craft({ + output = "digtron:pusher", + recipe = { + {"","default:coal_lump",""}, + {"default:coal_lump","digtron:digtron_core","default:coal_lump"}, + {"","default:coal_lump",""} + } +}) + +-- And some recycling reactions to get digtron cores out of the "cheap" parts: + +minetest.register_craft({ + output = "digtron:digtron_core", + recipe = { + {"digtron:structure"}, + } +}) + +minetest.register_craft({ + output = "digtron:digtron_core", + recipe = { + {"digtron:inventory"}, + } +}) + +minetest.register_craft({ + output = "digtron:digtron_core", + recipe = { + {"digtron:light"}, + } +}) + +minetest.register_craft({ + output = "digtron:digtron_core", + recipe = { + {"digtron:pusher"}, + } +})
\ No newline at end of file |