diff --git a/mods/butterflies/init.lua b/mods/butterflies/init.lua index 650e7da9..49240eea 100644 --- a/mods/butterflies/init.lua +++ b/mods/butterflies/init.lua @@ -62,8 +62,8 @@ for i in ipairs (butter_list) do minetest.register_node("butterflies:hidden_butterfly_"..name, { drawtype = "airlike", - inventory_image = "butterflies_butterfly_"..name..".png", - wield_image = "butterflies_butterfly_"..name..".png", + inventory_image = "butterflies_butterfly_"..name..".png^default_invisible_node_overlay.png", + wield_image = "butterflies_butterfly_"..name..".png^default_invisible_node_overlay.png", paramtype = "light", sunlight_propagates = true, walkable = false, diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 7a9899d6..23b3c647 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -796,6 +796,8 @@ minetest.register_node("default:apple", { minetest.register_node("default:apple_mark", { description = S("Apple Marker"), + inventory_image = "default_apple.png^default_invisible_node_overlay.png", + wield_image = "default_apple.png^default_invisible_node_overlay.png", drawtype = "airlike", paramtype = "light", sunlight_propagates = true, diff --git a/mods/default/textures/default_invisible_node_overlay.png b/mods/default/textures/default_invisible_node_overlay.png new file mode 100644 index 00000000..7fc88061 Binary files /dev/null and b/mods/default/textures/default_invisible_node_overlay.png differ diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 2048a643..848725d1 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -78,6 +78,8 @@ end -- nodes from being placed in the top half of the door. minetest.register_node("doors:hidden", { description = S("Hidden Door Segment"), + inventory_image = "doors_hidden_segment.png^default_invisible_node_overlay.png", + wield_image = "doors_hidden_segment.png^default_invisible_node_overlay.png", drawtype = "airlike", paramtype = "light", paramtype2 = "facedir", diff --git a/mods/doors/textures/doors_hidden_segment.png b/mods/doors/textures/doors_hidden_segment.png new file mode 100644 index 00000000..b3b6f34c Binary files /dev/null and b/mods/doors/textures/doors_hidden_segment.png differ diff --git a/mods/fireflies/init.lua b/mods/fireflies/init.lua index 1c533a12..0d706308 100644 --- a/mods/fireflies/init.lua +++ b/mods/fireflies/init.lua @@ -54,8 +54,8 @@ minetest.register_node("fireflies:firefly", { minetest.register_node("fireflies:hidden_firefly", { description = S("Hidden Firefly"), drawtype = "airlike", - inventory_image = "fireflies_firefly.png", - wield_image = "fireflies_firefly.png", + inventory_image = "fireflies_firefly.png^default_invisible_node_overlay.png", + wield_image = "fireflies_firefly.png^default_invisible_node_overlay.png", paramtype = "light", sunlight_propagates = true, walkable = false, diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index ae28191a..cc71b9f9 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -429,6 +429,8 @@ end minetest.register_node("tnt:boom", { drawtype = "airlike", + inventory_image = "tnt_boom.png", + wield_image = "tnt_boom.png", light_source = default.LIGHT_MAX, walkable = false, drop = "",