Apply transparency 2 testliquids (MT 5.4.0 compat)
|
@ -176,8 +176,6 @@ minetest.register_craft({
|
||||||
|
|
||||||
-- 8 viscosity example liquids
|
-- 8 viscosity example liquids
|
||||||
for v=0,7 do
|
for v=0,7 do
|
||||||
local alpha = 120 + v*15
|
|
||||||
|
|
||||||
minetest.register_node("supplemental:liquid"..v, {
|
minetest.register_node("supplemental:liquid"..v, {
|
||||||
description = string.format(S("flowing test liquid %i"), v),
|
description = string.format(S("flowing test liquid %i"), v),
|
||||||
inventory_image = minetest.inventorycube("supplemental_testliquid"..v..".png"),
|
inventory_image = minetest.inventorycube("supplemental_testliquid"..v..".png"),
|
||||||
|
@ -194,7 +192,7 @@ for v=0,7 do
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
alpha = alpha,
|
use_texture_alpha = "blend",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "flowingliquid",
|
paramtype2 = "flowingliquid",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -222,7 +220,7 @@ for v=0,7 do
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tiles = {"supplemental_testliquid"..v..".png",},
|
tiles = {"supplemental_testliquid"..v..".png",},
|
||||||
alpha = alpha,
|
use_texture_alpha = "blend",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
|
Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 451 B After Width: | Height: | Size: 511 B |
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 412 B After Width: | Height: | Size: 492 B |