Trouble with Alpha.
This commit is contained in:
parent
efc2dbce07
commit
0002c0d634
2
lib.lua
2
lib.lua
@ -165,7 +165,7 @@ function ru.show_node(name, pos)
|
|||||||
|
|
||||||
if(minetest.registered_nodes[node.name].use_texture_alpha) then
|
if(minetest.registered_nodes[node.name].use_texture_alpha) then
|
||||||
ru.print(name, S("Has an alpha-channel."), ru.orange)
|
ru.print(name, S("Has an alpha-channel."), ru.orange)
|
||||||
ru.print(name, S("With a transparency of ") .. 255 - minetest.registered_nodes[node.name].alpha .. " / 255.", ru.light_blue)
|
--ru.print(name, S("With a transparency of ") .. 255 - minetest.registered_nodes[node.name].alpha .. " / 255.", ru.light_blue)
|
||||||
end
|
end
|
||||||
|
|
||||||
if(minetest.registered_nodes[node.name].sunlight_propagates) then
|
if(minetest.registered_nodes[node.name].sunlight_propagates) then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user