mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow allfaces
drawtypes to have 6 textures (#15175)
This commit is contained in:
parent
d08d34d803
commit
65ec371b78
3 changed files with 30 additions and 8 deletions
|
@ -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"..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue