diff options
author | sfan5 <sfan5@live.de> | 2021-01-17 02:25:33 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-01-29 17:34:41 +0100 |
commit | 5c005ad081a23a1c048ef2c1066f60e0e041c956 (patch) | |
tree | 6f9e8bb21077b459b483c2a2750c8db1069d5913 /games/devtest/mods/soundstuff | |
parent | 83229921e5f378625d9ef63ede3dffbe778e1798 (diff) | |
download | minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.tar.gz minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.tar.bz2 minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.zip |
devtest: Fix deprecated alpha usage
Diffstat (limited to 'games/devtest/mods/soundstuff')
-rw-r--r-- | games/devtest/mods/soundstuff/init.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/devtest/mods/soundstuff/init.lua b/games/devtest/mods/soundstuff/init.lua index 40ad8f562..b263a3f35 100644 --- a/games/devtest/mods/soundstuff/init.lua +++ b/games/devtest/mods/soundstuff/init.lua @@ -60,11 +60,13 @@ minetest.register_node("soundstuff:footstep_liquid", { description = "Liquid Footstep Sound Node", drawtype = "liquid", tiles = { - "soundstuff_node_sound.png^[colorize:#0000FF:127", + "soundstuff_node_sound.png^[colorize:#0000FF:127^[opacity:190", }, special_tiles = { - {name = "soundstuff_node_sound.png^[colorize:#0000FF:127", backface_culling = false}, - {name = "soundstuff_node_sound.png^[colorize:#0000FF:127", backface_culling = true}, + {name = "soundstuff_node_sound.png^[colorize:#0000FF:127^[opacity:190", + backface_culling = false}, + {name = "soundstuff_node_sound.png^[colorize:#0000FF:127^[opacity:190", + backface_culling = true}, }, liquids_pointable = true, liquidtype = "source", @@ -73,7 +75,7 @@ minetest.register_node("soundstuff:footstep_liquid", { liquid_renewable = false, liquid_range = 0, liquid_viscosity = 0, - alpha = 190, + use_texture_alpha = "blend", paramtype = "light", walkable = false, pointable = false, @@ -92,7 +94,6 @@ minetest.register_node("soundstuff:footstep_climbable", { tiles = { "soundstuff_node_climbable.png", }, - alpha = 120, paramtype = "light", sunlight_propagates = true, walkable = false, |