diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index d07edca..aabf772 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 0000000..d552c52 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 0000000..1d7239f 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 0000000..822016b 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 0000000..88b3700 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 0000000..659606f 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 0000000..0c7114a Binary files /dev/null and b/homedecor/textures/homedecor_standing_lamp_white_inv.png differ