]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/main/craft_recipes.lua
fixes to item collection
[Crafter.git] / mods / main / craft_recipes.lua
index 0c71e1e9c44e477b87474ce7272e267130fab0a1..92815686b3a9c15b64e3dbd9b7d15765ca227aad 100644 (file)
@@ -1,8 +1,64 @@
 --crafting recipes
-local tool =     {"wood","stone", "iron","gold","diamond"}--the tool name
-local material = {"wood","cobble","iron","gold","diamond"}--material to craft
 
+--cooking
+minetest.register_craft({
+       type = "cooking",
+       output = "main:diamond",
+       recipe = "main:diamondore",
+       cooktime = 12,
+})
+minetest.register_craft({
+       type = "cooking",
+       output = "main:coal 4",
+       recipe = "main:coalore",
+       cooktime = 3,
+})
+minetest.register_craft({
+       type = "cooking",
+       output = "main:gold",
+       recipe = "main:goldore",
+       cooktime = 9,
+})
+minetest.register_craft({
+       type = "cooking",
+       output = "main:iron",
+       recipe = "main:ironore",
+       cooktime = 6,
+})
+minetest.register_craft({
+       type = "cooking",
+       output = "main:stone",
+       recipe = "main:cobble",
+       cooktime = 3,
+})
 
+--fuel fuel fuel
+minetest.register_craft({
+       type = "fuel",
+       recipe = "main:stick",
+       burntime = 1,
+})
+minetest.register_craft({
+       type = "fuel",
+       recipe = "main:tree",
+       burntime = 24,
+})
+minetest.register_craft({
+       type = "fuel",
+       recipe = "main:wood",
+       burntime = 12,
+})
+minetest.register_craft({
+       type = "fuel",
+       recipe = "main:leaves",
+       burntime = 3,
+})
+minetest.register_craft({
+       type = "fuel",
+       recipe = "main:coal",
+       burntime = 20,
+})
+---crafting
 minetest.register_craft({
        type = "shapeless",
        output = "main:wood 4",
@@ -17,6 +73,8 @@ minetest.register_craft({
        }
 })
 
+local tool =     {"wood","stone", "iron","gold","diamond"}--the tool name
+local material = {"wood","cobble","iron","gold","diamond"}--material to craft
 
 for id,tool in pairs(tool) do
        minetest.register_craft({