1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

devtest: Fix deprecated alpha usage

This commit is contained in:
sfan5 2021-01-17 02:25:33 +01:00
parent 83229921e5
commit 5c005ad081
6 changed files with 38 additions and 33 deletions

View file

@ -364,7 +364,7 @@ for r = 0, 8 do
{name="testnodes_liquidsource_r"..r..".png^[colorize:#FFFFFF:100", backface_culling=false},
{name="testnodes_liquidsource_r"..r..".png^[colorize:#FFFFFF:100", backface_culling=true},
},
use_texture_alpha = true,
use_texture_alpha = "blend",
walkable = false,
@ -386,7 +386,7 @@ for r = 0, 8 do
{name="testnodes_liquidflowing_r"..r..".png^[colorize:#FFFFFF:100", backface_culling=false},
{name="testnodes_liquidflowing_r"..r..".png^[colorize:#FFFFFF:100", backface_culling=false},
},
use_texture_alpha = true,
use_texture_alpha = "blend",
walkable = false,
@ -411,7 +411,7 @@ minetest.register_node("testnodes:liquid_waving", {
{name="testnodes_liquidsource.png^[colorize:#0000FF:127", backface_culling=false},
{name="testnodes_liquidsource.png^[colorize:#0000FF:127", backface_culling=true},
},
use_texture_alpha = true,
use_texture_alpha = "blend",
waving = 3,
@ -434,7 +434,7 @@ minetest.register_node("testnodes:liquid_flowing_waving", {
{name="testnodes_liquidflowing.png^[colorize:#0000FF:127", backface_culling=false},
{name="testnodes_liquidflowing.png^[colorize:#0000FF:127", backface_culling=false},
},
use_texture_alpha = true,
use_texture_alpha = "blend",
waving = 3,

View file

@ -9,7 +9,7 @@ for d=0, 8 do
{name = "testnodes_liquidsource_r"..d..".png", backface_culling = false},
{name = "testnodes_liquidsource_r"..d..".png", backface_culling = true},
},
alpha = 192,
use_texture_alpha = "blend",
paramtype = "light",
walkable = false,
buildable_to = true,
@ -28,7 +28,7 @@ for d=0, 8 do
{name = "testnodes_liquidflowing_r"..d..".png", backface_culling = false},
{name = "testnodes_liquidflowing_r"..d..".png", backface_culling = false},
},
alpha = 192,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
@ -49,7 +49,7 @@ for d=0, 8 do
{name = "testnodes_liquidsource_r"..d..".png"..mod, backface_culling = false},
{name = "testnodes_liquidsource_r"..d..".png"..mod, backface_culling = true},
},
alpha = 192,
use_texture_alpha = "blend",
paramtype = "light",
walkable = false,
buildable_to = true,
@ -68,7 +68,7 @@ for d=0, 8 do
{name = "testnodes_liquidflowing_r"..d..".png"..mod, backface_culling = false},
{name = "testnodes_liquidflowing_r"..d..".png"..mod, backface_culling = false},
},
alpha = 192,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,

View file

@ -114,7 +114,7 @@ minetest.register_node("testnodes:liquid_nojump", {
{name = "testnodes_liquidsource.png^[colorize:#FF0000:127", backface_culling = false},
{name = "testnodes_liquidsource.png^[colorize:#FF0000:127", backface_culling = true},
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
pointable = false,
liquids_pointable = true,
@ -142,7 +142,7 @@ minetest.register_node("testnodes:liquidflowing_nojump", {
{name = "testnodes_liquidflowing.png^[colorize:#FF0000:127", backface_culling = false},
{name = "testnodes_liquidflowing.png^[colorize:#FF0000:127", backface_culling = false},
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "flowingliquid",
pointable = false,

View file

@ -46,7 +46,7 @@ for a=1,#alphas do
tiles = {
"testnodes_alpha"..alpha..".png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = { dig_immediate = 3 },
})
@ -59,7 +59,7 @@ for a=1,#alphas do
tiles = {
"testnodes_alpha.png^[opacity:" .. alpha,
},
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = { dig_immediate = 3 },
})