1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 15:00:18 +01:00

Add icons for invisible nodes (#2718)

This commit is contained in:
Wuzzy 2020-09-30 17:41:04 +02:00 committed by GitHub
parent dd91a1bfe5
commit 6605724fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 4 deletions

View File

@ -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,

View File

@ -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,

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

View File

@ -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",

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

View File

@ -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,

View File

@ -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 = "",