mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +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, {
|
minetest.register_node("butterflies:hidden_butterfly_"..name, {
|
||||||
drawtype = "airlike",
|
drawtype = "airlike",
|
||||||
inventory_image = "butterflies_butterfly_"..name..".png",
|
inventory_image = "butterflies_butterfly_"..name..".png^default_invisible_node_overlay.png",
|
||||||
wield_image = "butterflies_butterfly_"..name..".png",
|
wield_image = "butterflies_butterfly_"..name..".png^default_invisible_node_overlay.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -796,6 +796,8 @@ minetest.register_node("default:apple", {
|
|||||||
|
|
||||||
minetest.register_node("default:apple_mark", {
|
minetest.register_node("default:apple_mark", {
|
||||||
description = S("Apple Marker"),
|
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",
|
drawtype = "airlike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
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.
|
-- nodes from being placed in the top half of the door.
|
||||||
minetest.register_node("doors:hidden", {
|
minetest.register_node("doors:hidden", {
|
||||||
description = S("Hidden Door Segment"),
|
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",
|
drawtype = "airlike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
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", {
|
minetest.register_node("fireflies:hidden_firefly", {
|
||||||
description = S("Hidden Firefly"),
|
description = S("Hidden Firefly"),
|
||||||
drawtype = "airlike",
|
drawtype = "airlike",
|
||||||
inventory_image = "fireflies_firefly.png",
|
inventory_image = "fireflies_firefly.png^default_invisible_node_overlay.png",
|
||||||
wield_image = "fireflies_firefly.png",
|
wield_image = "fireflies_firefly.png^default_invisible_node_overlay.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -429,6 +429,8 @@ end
|
|||||||
|
|
||||||
minetest.register_node("tnt:boom", {
|
minetest.register_node("tnt:boom", {
|
||||||
drawtype = "airlike",
|
drawtype = "airlike",
|
||||||
|
inventory_image = "tnt_boom.png",
|
||||||
|
wield_image = "tnt_boom.png",
|
||||||
light_source = default.LIGHT_MAX,
|
light_source = default.LIGHT_MAX,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
drop = "",
|
drop = "",
|
||||||
|
Loading…
Reference in New Issue
Block a user