diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index 8ff18ea4..01d6a0eb 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -103,6 +103,11 @@ minetest.register_craftitem("homedecor:copper_strip", { inventory_image = "homedecor_copper_strip.png" }) +minetest.register_craftitem("homedecor:steel_strip", { + description = S("Steel Strip"), + inventory_image = "homedecor_steel_strip.png" +}) + -- alternate crafting if mesecons is/isn't installed if not minetest.get_modpath("mesecons") then @@ -148,7 +153,16 @@ minetest.register_alias("homedecor:brass_ingot", "technic:brass_ingot") minetest.register_craft( { output = "homedecor:copper_strip 12", recipe = { - { "default:copper_ingot", "default:copper_ingot" } + { "", "default:copper_ingot", "" }, + { "default:copper_ingot", "", "" }, + }, +}) + +minetest.register_craft( { + output = "homedecor:steel_strip 12", + recipe = { + { "", "default:steel_ingot", "" }, + { "default:steel_ingot", "", "" }, }, }) @@ -2454,3 +2468,12 @@ minetest.register_craft( { { "homedecor:taps", "" } }, }) + +minetest.register_craft( { + output = "homedecor:cutlery_set", + recipe = { + { "", "vessels:drinking_glass", "" }, + { "homedecor:steel_strip", "building_blocks:slab_marble", "homedecor:steel_strip" }, + }, +}) + diff --git a/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index 4b7c0aff..ef1ce4b0 100644 --- a/homedecor/misc-nodes.lua +++ b/homedecor/misc-nodes.lua @@ -1181,3 +1181,49 @@ minetest.register_node("homedecor:kitchen_faucet", { }, }) +minetest.register_node("homedecor:cutlery_set", { + tiles = { + "homedecor_cutlery_set_top.png", + "homedecor_cutlery_set_bottom.png", + "homedecor_cutlery_set_sides.png" + }, + inventory_image = "homedecor_cutlery_set_inv.png", + description = "Cutlery set", + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + groups = {snappy=3}, + node_box = { + type = "fixed", + fixed = { + {-0.125, -0.5, -0.4375, 0.125, -0.49, -0.1875}, -- NodeBox1 + {-0.0625, -0.5, -0.125, 0.0625, -0.375, -0.1153}, -- NodeBox3 + {0.0539418, -0.5, -0.125, 0.0625, -0.375, 0}, -- NodeBox4 + {-0.0625, -0.5, -0.125, -0.053942, -0.375, 0}, -- NodeBox5 + {-0.0625, -0.5, -0.011563, 0.0625, -0.375, 0}, -- NodeBox6 + {-0.0625, -0.40, -0.125, 0.0625, -0.5, 0}, -- NodeBox7 + {-0.22, -0.5, -0.45, -0.205, -0.49, -0.245}, -- NodeBox8 + {-0.23, -0.5, -0.245, -0.195, -0.49, -0.24}, -- NodeBox9 + {-0.23, -0.5, -0.24, -0.225, -0.49, -0.1875}, -- NodeBox11 + {-0.22, -0.5, -0.24, -0.215, -0.49, -0.1875}, -- NodeBox12 + {-0.21, -0.5, -0.24, -0.205, -0.49, -0.1875}, -- NodeBox13 + {-0.2, -0.5, -0.24, -0.195, -0.49, -0.1875}, -- NodeBox14 + {0.21, -0.5, -0.45, 0.237261, -0.49, -0.3125}, -- NodeBox15 + {0.1956, -0.5, -0.3125, 0.237261, -0.49, -0.185839}, -- NodeBox16 + {0.202, -0.5, -0.185839, 0.237261, -0.49, -0.1625}, -- NodeBox17 + {-0.1037, -0.5, -0.1875, 0.103734, -0.48, -0.173}, -- NodeBox18 + {-0.1079, -0.5, -0.45, 0.103734, -0.48, -0.4375}, -- NodeBox19 + {-0.143, -0.5, -0.4205, -0.125, -0.48, -0.2125}, -- NodeBox20 + {0.125, -0.5, -0.42, 0.143, -0.48, -0.2125}, -- NodeBox21 + {0.1036, -0.5, -0.4375, 0.125, -0.48, -0.42}, -- NodeBox22 + {-0.125, -0.5, -0.4375, -0.108, -0.48, -0.42}, -- NodeBox23 + {0.1037, -0.5, -0.213, 0.125, -0.48, -0.1875}, -- NodeBox24 + {-0.125, -0.5, -0.213, -0.1036, -0.48, -0.1875}, -- NodeBox25 + } + }, + selection_box = { + type = "fixed", + fixed = { -0.25, -0.5, -0.5, 0.25, -0.375, 0 } + } +}) + diff --git a/homedecor/textures/homedecor_cutlery_set_bottom.png b/homedecor/textures/homedecor_cutlery_set_bottom.png new file mode 100644 index 00000000..26862d1b Binary files /dev/null and b/homedecor/textures/homedecor_cutlery_set_bottom.png differ diff --git a/homedecor/textures/homedecor_cutlery_set_inv.png b/homedecor/textures/homedecor_cutlery_set_inv.png new file mode 100644 index 00000000..b6a6393d Binary files /dev/null and b/homedecor/textures/homedecor_cutlery_set_inv.png differ diff --git a/homedecor/textures/homedecor_cutlery_set_sides.png b/homedecor/textures/homedecor_cutlery_set_sides.png new file mode 100644 index 00000000..50ed9fcf Binary files /dev/null and b/homedecor/textures/homedecor_cutlery_set_sides.png differ diff --git a/homedecor/textures/homedecor_cutlery_set_top.png b/homedecor/textures/homedecor_cutlery_set_top.png new file mode 100644 index 00000000..cc37d152 Binary files /dev/null and b/homedecor/textures/homedecor_cutlery_set_top.png differ diff --git a/homedecor/textures/homedecor_steel_strip.png b/homedecor/textures/homedecor_steel_strip.png new file mode 100644 index 00000000..c8c85160 Binary files /dev/null and b/homedecor/textures/homedecor_steel_strip.png differ