aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-17 02:25:33 +0100
committersfan5 <sfan5@live.de>2021-01-29 17:34:41 +0100
commit5c005ad081a23a1c048ef2c1066f60e0e041c956 (patch)
tree6f9e8bb21077b459b483c2a2750c8db1069d5913 /games/devtest/mods/testnodes
parent83229921e5f378625d9ef63ede3dffbe778e1798 (diff)
downloadminetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.tar.gz
minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.tar.bz2
minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.zip
devtest: Fix deprecated alpha usage
Diffstat (limited to 'games/devtest/mods/testnodes')
-rw-r--r--games/devtest/mods/testnodes/drawtypes.lua8
-rw-r--r--games/devtest/mods/testnodes/liquids.lua8
-rw-r--r--games/devtest/mods/testnodes/properties.lua4
-rw-r--r--games/devtest/mods/testnodes/textures.lua4
4 files changed, 12 insertions, 12 deletions
diff --git a/games/devtest/mods/testnodes/drawtypes.lua b/games/devtest/mods/testnodes/drawtypes.lua
index d71c3a121..ff970144d 100644
--- a/games/devtest/mods/testnodes/drawtypes.lua
+++ b/games/devtest/mods/testnodes/drawtypes.lua
@@ -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,
diff --git a/games/devtest/mods/testnodes/liquids.lua b/games/devtest/mods/testnodes/liquids.lua
index abef9e0b7..3d2ea17f5 100644
--- a/games/devtest/mods/testnodes/liquids.lua
+++ b/games/devtest/mods/testnodes/liquids.lua
@@ -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,
diff --git a/games/devtest/mods/testnodes/properties.lua b/games/devtest/mods/testnodes/properties.lua
index c6331a6ed..a52cd1d6f 100644
--- a/games/devtest/mods/testnodes/properties.lua
+++ b/games/devtest/mods/testnodes/properties.lua
@@ -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,
diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua
index af3b7f468..a508b6a4d 100644
--- a/games/devtest/mods/testnodes/textures.lua
+++ b/games/devtest/mods/testnodes/textures.lua
@@ -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 },
})