Add transparent test nodes

This commit is contained in:
Wuzzy 2022-04-16 02:20:53 +02:00
parent 11565f803e
commit d6182ac633
3 changed files with 24 additions and 0 deletions

View File

@ -120,6 +120,30 @@ minetest.register_node("perlin_explorer:node_negative", {
-- Force-drop without metadata to avoid spamming the inventory
drop = "perlin_explorer:node_negative",
})
minetest.register_node("perlin_explorer:transp", {
description = S("Transparent Perlin Test Node"),
paramtype = "light",
drawtype = "allfaces",
sunlight_propagates = true,
paramtype2 = paramtype2,
tiles = {"perlin_explorer_transp.png"},
palette = "perlin_explorer_node_palette.png",
groups = { dig_immediate = 3 },
drop = "perlin_explorer:transp",
})
minetest.register_node("perlin_explorer:transp_negative", {
description = S("Transparent Negative Perlin Test Node"),
paramtype = "light",
drawtype = "allfaces",
sunlight_propagates = true,
paramtype2 = paramtype2,
tiles = {"perlin_explorer_transp_neg.png"},
palette = "perlin_explorer_node_palette_neg.png",
groups = { dig_immediate = 3 },
drop = "perlin_explorer:transp_negative",
})
minetest.register_tool("perlin_explorer:getter", {
description = S("Perlin Value Getter"),
_tt_help = S("Punch a node to display the Perlin noise value at this position"),

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB