mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Allow allfaces
drawtypes to have 6 textures (#15175)
This commit is contained in:
@@ -98,6 +98,23 @@ minetest.register_node("testnodes:allfaces", {
|
||||
groups = { dig_immediate = 3 },
|
||||
})
|
||||
|
||||
minetest.register_node("testnodes:allfaces_6", {
|
||||
description = S("\"allfaces 6 Textures\" Drawtype Test Node").."\n"..
|
||||
S("Transparent node with visible internal backfaces"),
|
||||
drawtype = "allfaces",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
"testnodes_allfaces.png^[colorize:red",
|
||||
"testnodes_allfaces.png^[colorize:orange",
|
||||
"testnodes_allfaces.png^[colorize:yellow",
|
||||
"testnodes_allfaces.png^[colorize:green",
|
||||
"testnodes_allfaces.png^[colorize:blue",
|
||||
"testnodes_allfaces.png^[colorize:purple"
|
||||
},
|
||||
|
||||
groups = { dig_immediate = 3 },
|
||||
})
|
||||
|
||||
local allfaces_optional_tooltip = ""..
|
||||
S("Rendering depends on 'leaves_style' setting:").."\n"..
|
||||
S("* 'fancy': transparent with visible internal backfaces").."\n"..
|
||||
|
Reference in New Issue
Block a user