]> git.lizzy.rs Git - xdecor.git/blobdiff - crafts.lua
Minor style cleaning
[xdecor.git] / crafts.lua
index 407fdb02bc4b85b0dd0b6801fd980035e86ff56e..82eb0eff28dd5ace3d9e80accda2af4dc0058ed0 100644 (file)
@@ -1,8 +1,8 @@
 minetest.register_craft({ 
        output = "xdecor:baricade",
        recipe = {
-               {"group:stick", "default:steel_ingot", "group:stick"},
-               {"", "group:stick", ""},
+               {"group:stick", "", "group:stick"},
+               {"", "default:steel_ingot", ""},
                {"group:stick", "", "group:stick"}
        } 
 })
@@ -16,6 +16,28 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = "xdecor:bowl 3",
+       recipe = {
+               {"group:wood", "", "group:wood"},
+               {"", "group:wood", ""}
+       }
+})
+
+minetest.register_craftitem("xdecor:bowl", {
+       description = "Bowl",
+       inventory_image = "xdecor_bowl.png",
+       wield_image = "xdecor_bowl.png"
+})
+
+minetest.register_craftitem("xdecor:bowl_soup", {
+       description = "Bowl of soup",
+       inventory_image = "xdecor_bowl_soup.png",
+       wield_image = "xdecor_bowl_soup.png",
+       groups = {not_in_creative_inventory = 1},
+       on_use = minetest.item_eat(30)
+})
+
 minetest.register_craft({ 
        output = "xdecor:candle",
        recipe = {
@@ -23,6 +45,15 @@ minetest.register_craft({
        } 
 })
 
+minetest.register_craft({
+       output = "xdecor:cabinet",
+       recipe = {
+               {"group:wood", "group:wood", "group:wood"},
+               {"doors:trapdoor", "", "doors:trapdoor"},
+               {"group:wood", "group:wood", "group:wood"}
+       }
+})
+
 minetest.register_craft({
        output = "xdecor:cabinet_half 2",
        recipe = {
@@ -38,53 +69,70 @@ minetest.register_craft({
 })
 
 minetest.register_craft({
-       output = "xdecor:cabinet",
+       output = "xdecor:cauldron_empty",
        recipe = {
-               {"group:wood", "group:wood", "group:wood"},
-               {"doors:trapdoor", "", "doors:trapdoor"},
-               {"group:wood", "group:wood", "group:wood"}
+               {"default:iron_lump", "", "default:iron_lump"},
+               {"default:iron_lump", "", "default:iron_lump"},
+               {"default:iron_lump", "default:iron_lump", "default:iron_lump"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:cardboard_box",
+       output = "xdecor:chair",
        recipe = {
-               {"default:paper", "default:paper", "default:paper"},
-               {"default:paper", "default:paper", "default:paper"}
+               {"group:stick", "", ""},
+               {"group:stick", "group:stick", "group:stick"},
+               {"group:stick", "", "group:stick"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:cauldron",
+       output = "xdecor:coalstone_tile 4",
        recipe = {
-               {"default:iron_lump", "", "default:iron_lump"},
-               {"default:iron_lump", "default:water_source", "default:iron_lump"},
-               {"default:iron_lump", "default:iron_lump", "default:iron_lump"}
+               {"default:coalblock", "default:stone"},
+               {"default:stone", "default:coalblock"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:chair",
+       output = "xdecor:cobble_wall_ln 6",
        recipe = {
-               {"group:stick", "", ""},
-               {"group:stick", "group:stick", "group:stick"},
-               {"group:stick", "", "group:stick"}
+               {"default:cobble", "default:cobble", "default:cobble"},
+               {"default:cobble", "default:cobble", "default:cobble"}
        }
 })
-       
+
 minetest.register_craft({
-       output = "xdecor:chandelier",
+       output = "xdecor:crate",
        recipe = {
-               {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
-               {"default:torch", "default:torch", "default:torch"}
+               {"group:wood", "group:wood", "group:stick"},
+               {"group:wood", "group:stick", "group:wood"},
+               {"group:stick", "group:wood", "group:wood"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:coalstone_tile 8",
+       output = "xdecor:mossycobble_wall_ln 6",
        recipe = {
-               {"default:coalblock", "default:stone"},
-               {"default:stone", "default:coalblock"}
+               {"default:mossycobble", "default:mossycobble", "default:mossycobble"},
+               {"default:mossycobble", "default:mossycobble", "default:mossycobble"}
+       }
+})
+
+minetest.register_craft({
+       output = "xdecor:cobweb",
+       recipe = {
+               {"farming:cotton", "", "farming:cotton"},
+               {"", "farming:cotton", ""},
+               {"farming:cotton", "", "farming:cotton"}
+       }
+})
+
+minetest.register_craft({
+       output = "xdecor:desertstone_tile",
+       recipe = {
+               {"default:desert_cobble", "default:desert_cobble"},
+               {"default:desert_cobble", "default:desert_cobble"}
        }
 })
        
@@ -107,10 +155,11 @@ minetest.register_craft({
 })
 
 minetest.register_craft({
-       output = "xdecor:fence_wrought_iron 2",
+       output = "xdecor:enchantment_table",
        recipe = {
-               {"default:iron_lump", "default:iron_lump", "default:iron_lump"},
-               {"default:iron_lump", "default:iron_lump", "default:iron_lump"}
+               {"", "default:book", ""},
+               {"default:diamond", "default:obsidian", "default:diamond"},
+               {"default:obsidian", "default:obsidian", "default:obsidian"}
        }
 })
 
@@ -133,33 +182,38 @@ minetest.register_craft({
 minetest.register_craft({
        output = "xdecor:hammer",
        recipe = {
-               {"default:steel_ingot"},
-               {"group:stick"}
+               {"default:steel_ingot", "group:stick", "default:steel_ingot"},
+               {"", "group:stick", ""}
        }
 })
-       
-minetest.register_craftitem("xdecor:hammer", {
-       description = "Hammer",
-       inventory_image = "xdecor_hammer.png"
+
+minetest.register_craft({
+       output = "xdecor:hard_clay",
+       recipe = {
+               {"default:clay", "default:clay"},
+               {"default:clay", "default:clay"}
+       }
 })
 
 minetest.register_craft({
        output = "xdecor:hive",
        recipe = {
+               {"group:stick", "group:stick", "group:stick"},
                {"default:paper", "default:paper", "default:paper"},
-               {"default:paper", "", "default:paper"},
-               {"default:paper", "default:paper", "default:paper"}
+               {"group:stick", "group:stick", "group:stick"}
        }
 })
 
 minetest.register_craftitem("xdecor:honey", {
        description = "Honey",
        inventory_image = "xdecor_honey.png",
+       wield_image = "xdecor_honey.png",
+       groups = {not_in_creative_inventory=1},
        on_use = minetest.item_eat(2)
 })
 
 minetest.register_craft({
-       output = "xdecor:ivy 2",
+       output = "xdecor:ivy 4",
        recipe = {
                {"group:leaves"},
                {"group:leaves"}
@@ -169,9 +223,9 @@ minetest.register_craft({
 minetest.register_craft({
        output = "xdecor:japanese_door",
        recipe = {
-               {"group:wood", "group:wood"},
-               {"default:paper", "default:paper"},
-               {"group:wood", "group:wood"}
+               {"group:wood", "default:paper"},
+               {"default:paper", "group:wood"},
+               {"group:wood", "default:paper"}
        }
 })
        
@@ -184,6 +238,15 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = "xdecor:lightbox",
+       recipe = {
+               {"group:stick", "default:torch", "group:stick"},
+               {"group:stick", "default:glass", "group:stick"},
+               {"group:stick", "default:torch", "group:stick"}
+       }
+})
+
 minetest.register_craft({
        output = "xdecor:mailbox",
        recipe = {
@@ -192,45 +255,46 @@ minetest.register_craft({
                {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}
        }
 })
-       
+
 minetest.register_craft({
-       output = "xdecor:metal_cabinet",
+       output = "xdecor:multishelf",
        recipe = {
-               {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
-               {"", "", ""},
-               {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}
+               {"group:wood", "group:wood", "group:wood"},
+               {"group:vessel", "group:book", "group:vessel"},
+               {"group:wood", "group:wood", "group:wood"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:moonbrick",
+       output = "xdecor:packed_ice",
        recipe = {
-               {"default:brick", "default:stone"}
+               {"default:ice", "default:ice"},
+               {"default:ice", "default:ice"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:multishelf",
+       output = "xdecor:painting_1",
        recipe = {
-               {"group:wood", "group:wood", "group:wood"},
-               {"group:vessel", "group:book", "group:vessel"},
-               {"group:wood", "group:wood", "group:wood"}
+               {"default:sign_wall", "dye:blue"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:painting",
+       output = "xdecor:prison_door",
        recipe = {
-               {"default:sign_wall", "dye:blue"}
+               {"xpanes:bar", "xpanes:bar"},
+               {"xpanes:bar", "xpanes:bar"},
+               {"xpanes:bar", "xpanes:bar"}
        }
 })
 
 minetest.register_craft({
-       output = "xdecor:plant_pot",
+       output = "xdecor:prison_rust_door",
        recipe = {
-               {"default:clay_lump", "", "default:clay_lump"},
-               {"default:clay_lump", "default:dirt", "default:clay_lump"},
-               {"default:clay_lump", "default:clay_lump", "default:clay_lump"}
+               {"xpanes:rust_bar", "xpanes:rust_bar"},
+               {"xpanes:rust_bar", "xpanes:rust_bar"},
+               {"xpanes:rust_bar", "xpanes:rust_bar"}
        }
 })
 
@@ -242,13 +306,22 @@ minetest.register_craft({
                {"farming:string"}
        }
 })
-       
+
 minetest.register_craft({
-       output = "xdecor:stereo",
+       output = "xdecor:screen_door",
        recipe = {
-               {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
-               {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
-               {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}
+               {"group:wood", "group:wood"},
+               {"xpanes:chainlink", "xpanes:chainlink"},
+               {"group:wood", "group:wood"}
+       }
+})
+
+minetest.register_craft({
+       output = "xdecor:slide_door",
+       recipe = {
+               {"default:paper", "default:paper"},
+               {"default:paper", "default:paper"},
+               {"group:wood", "group:wood"}
        }
 })
        
@@ -272,9 +345,9 @@ minetest.register_craft({
 minetest.register_craft({
        output = "xdecor:stonepath 16",
        recipe = {
-               {"stairs:slab_stone", "", "stairs:slab_stone"},
-               {"", "stairs:slab_stone", ""},
-               {"stairs:slab_stone", "", "stairs:slab_stone"}
+               {"stairs:slab_cobble", "", "stairs:slab_cobble"},
+               {"", "stairs:slab_cobble", ""},
+               {"stairs:slab_cobble", "", "stairs:slab_cobble"}
        }
 })
 
@@ -294,15 +367,6 @@ minetest.register_craft({
        } 
 })
 
-minetest.register_craft({
-       output = "xdecor:trash_can",
-       recipe = {
-               {"group:wood", "", "group:wood"},
-               {"group:wood", "", "group:wood"},
-               {"group:wood", "group:wood", "group:wood"}
-       }
-})
-
 minetest.register_craft({
        output = "xdecor:tv",
        recipe = {
@@ -315,9 +379,8 @@ minetest.register_craft({
 minetest.register_craft({
        output = "xdecor:worktable",
        recipe = {
-               {"group:wood", "group:wood", "group:wood"},
-               {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
-               {"group:wood", "group:wood", "group:wood"}
+               {"group:wood", "group:wood"},
+               {"group:wood", "group:wood"}
        }
 })
        
@@ -333,8 +396,9 @@ minetest.register_craft({
 minetest.register_craft({
        output = "xdecor:wood_tile 2",
        recipe = {
-               {"group:wood", "group:wood"},
-               {"group:wood", "group:wood"}
+               {"", "group:wood", ""},
+               {"group:wood", "group:wood", "group:wood"},
+               {"", "group:wood", ""}
        }
 })