diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index d07edca3..aabf772a 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -392,9 +392,11 @@ local lamp_colors = { "", "blue", "green", "pink", "red", "violet" } local function reg_lamp(suffix, nxt, tilesuffix, light, color) local lampcolor = "_"..color + local standingcolor = "_"..color local colordesc = " ("..color..")" if color == "" then lampcolor = "" + standingcolor = "_white" colordesc = " (white)" end minetest.register_node("homedecor:table_lamp"..lampcolor.."_"..suffix, { @@ -449,6 +451,7 @@ local function reg_lamp(suffix, nxt, tilesuffix, light, color) "forniture_table_lamp_s"..tilesuffix..".png", "homedecor_standing_lamp_bottom_sides.png", }, + inventory_image = "homedecor_standing_lamp"..standingcolor.."_inv.png", paramtype = "light", node_box = { type = "fixed", diff --git a/homedecor/textures/homedecor_standing_lamp_blue_inv.png b/homedecor/textures/homedecor_standing_lamp_blue_inv.png new file mode 100644 index 00000000..d552c525 Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_blue_inv.png differ diff --git a/homedecor/textures/homedecor_standing_lamp_green_inv.png b/homedecor/textures/homedecor_standing_lamp_green_inv.png new file mode 100644 index 00000000..1d7239f9 Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_green_inv.png differ diff --git a/homedecor/textures/homedecor_standing_lamp_pink_inv.png b/homedecor/textures/homedecor_standing_lamp_pink_inv.png new file mode 100644 index 00000000..822016bd Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_pink_inv.png differ diff --git a/homedecor/textures/homedecor_standing_lamp_red_inv.png b/homedecor/textures/homedecor_standing_lamp_red_inv.png new file mode 100644 index 00000000..88b37008 Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_red_inv.png differ diff --git a/homedecor/textures/homedecor_standing_lamp_violet_inv.png b/homedecor/textures/homedecor_standing_lamp_violet_inv.png new file mode 100644 index 00000000..659606f6 Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_violet_inv.png differ diff --git a/homedecor/textures/homedecor_standing_lamp_white_inv.png b/homedecor/textures/homedecor_standing_lamp_white_inv.png new file mode 100644 index 00000000..0c7114ab Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_white_inv.png differ