mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-08 16:53:53 +01:00
Add icons for invisible nodes (#2718)
This commit is contained in:
parent
dd91a1bfe5
commit
6605724fe1
@ -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,
|
||||
|
@ -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,
|
||||
|
BIN
mods/default/textures/default_invisible_node_overlay.png
Normal file
BIN
mods/default/textures/default_invisible_node_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 110 B |
@ -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",
|
||||
|
BIN
mods/doors/textures/doors_hidden_segment.png
Normal file
BIN
mods/doors/textures/doors_hidden_segment.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 280 B |
@ -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,
|
||||
|
@ -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 = "",
|
||||
|
Loading…
Reference in New Issue
Block a user