diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index a807187a..2bb017b6 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -2535,3 +2535,17 @@ for c in ipairs(bedcolors) do }) end + +minetest.register_craft( { + output = "homedecor:bottle_green", + recipe = { + { "vessels:glass_bottle", "dye:green" } + }, +}) + +minetest.register_craft( { + output = "homedecor:bottle_brown", + recipe = { + { "vessels:glass_bottle", "dye:brown" } + }, +}) diff --git a/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index 7f47de7c..146c639e 100644 --- a/homedecor/misc-nodes.lua +++ b/homedecor/misc-nodes.lua @@ -1195,3 +1195,44 @@ minetest.register_node("homedecor:cutlery_set", { } }) +minetest.register_node("homedecor:bottle_brown", { + tiles = { + "homedecor_bottle_brown_top.png", + "homedecor_bottle_brown_sides.png" + }, + inventory_image = "homedecor_bottle_brown_inv.png", + description = "Brown bottle", + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + groups = {snappy=3}, + node_box = { + type = "fixed", + fixed = { + {-0.032, -0.50, -0.11, 0.032, -0.3, -0.046}, -- NodeBox1 + {-0.016, -0.30, -0.094, 0.016, -0.2, -0.062}, -- NodeBox2 + } +} +}) + +minetest.register_node("homedecor:bottle_green", { + tiles = { + "homedecor_bottle_green_top.png", + "homedecor_bottle_green_sides.png" + }, + inventory_image = "homedecor_bottle_green_inv.png", + description = "Green bottle", + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + groups = {snappy=3}, + node_box = { + type = "fixed", + fixed = { + {-0.032, -0.50, -0.11, 0.032, -0.3, -0.046}, -- NodeBox1 + {-0.016, -0.30, -0.094, 0.016, -0.2, -0.062}, -- NodeBox2 + } +} +}) diff --git a/homedecor/textures/homedecor_bottle_brown_inv.png b/homedecor/textures/homedecor_bottle_brown_inv.png new file mode 100644 index 00000000..6c96f6ee Binary files /dev/null and b/homedecor/textures/homedecor_bottle_brown_inv.png differ diff --git a/homedecor/textures/homedecor_bottle_brown_sides.png b/homedecor/textures/homedecor_bottle_brown_sides.png new file mode 100644 index 00000000..00ba8457 Binary files /dev/null and b/homedecor/textures/homedecor_bottle_brown_sides.png differ diff --git a/homedecor/textures/homedecor_bottle_brown_top.png b/homedecor/textures/homedecor_bottle_brown_top.png new file mode 100644 index 00000000..61a94390 Binary files /dev/null and b/homedecor/textures/homedecor_bottle_brown_top.png differ diff --git a/homedecor/textures/homedecor_bottle_green_inv.png b/homedecor/textures/homedecor_bottle_green_inv.png new file mode 100644 index 00000000..dee38843 Binary files /dev/null and b/homedecor/textures/homedecor_bottle_green_inv.png differ diff --git a/homedecor/textures/homedecor_bottle_green_sides.png b/homedecor/textures/homedecor_bottle_green_sides.png new file mode 100644 index 00000000..448a5c0a Binary files /dev/null and b/homedecor/textures/homedecor_bottle_green_sides.png differ diff --git a/homedecor/textures/homedecor_bottle_green_top.png b/homedecor/textures/homedecor_bottle_green_top.png new file mode 100644 index 00000000..2172b494 Binary files /dev/null and b/homedecor/textures/homedecor_bottle_green_top.png differ