[nalc_default] Add use_texture_alpha since alpha is deprecated

* For acid source and flowing
* For sand source and flowing
This commit is contained in:
Sys Quatre 2021-02-26 12:00:37 +01:00
parent ba797c4d39
commit 9eb6bb4343
1 changed files with 2 additions and 4 deletions

View File

@ -133,7 +133,7 @@ minetest.register_node(
backface_culling = false,
}
},
alpha = 160,
use_texture_alpha = "blend",
paramtype = "light",
walkable = false,
pointable = false,
@ -170,7 +170,7 @@ minetest.register_node(
animation={type = "vertical_frames", aspect_w= 16, aspect_h = 16, length = 0.6}
},
},
alpha = 160,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
@ -196,7 +196,6 @@ minetest.register_node(
inventory_image = minetest.inventorycube("default_sand.png"),
drawtype = "liquid",
tiles = {"default_sand.png"},
alpha = 255,
paramtype = "light",
walkable = false,
pointable = false,
@ -232,7 +231,6 @@ minetest.register_node(
animation={type = "vertical_frames", aspect_w= 16, aspect_h = 16, length = 0.6}
},
},
alpha = 255,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,