Add transparent test nodes
This commit is contained in:
parent
11565f803e
commit
d6182ac633
24
init.lua
24
init.lua
@ -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"),
|
||||
|
BIN
textures/perlin_explorer_transp.png
Normal file
BIN
textures/perlin_explorer_transp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
BIN
textures/perlin_explorer_transp_neg.png
Normal file
BIN
textures/perlin_explorer_transp_neg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Loading…
x
Reference in New Issue
Block a user