Fix flowing liquid textures

This commit is contained in:
Wuzzy 2014-06-26 01:14:28 +02:00
parent 5defd6adaa
commit d6320292a9

View File

@ -182,6 +182,7 @@ function pedology.register_liquid(basename, description, alpha, viscosity, drown
description = description.." source",
inventory_image = minetest.inventorycube(tile),
tiles = {tile},
special_tiles = {{name=tile, backface_culling=false}},
alpha = alpha,
paramtype = "light",
walkable = false,
@ -203,9 +204,10 @@ function pedology.register_liquid(basename, description, alpha, viscosity, drown
minetest.register_node("pedology:"..basename.."_source", nodedef_source)
local nodedef_flowing = {
description = description.." flowing",
description = "flowing "..description,
inventory_image = minetest.inventorycube(tile),
tiles = {tile},
special_tiles = {{name=tile, backface_culling=false}, {name=tile, backface_culling=true}},
alpha = alpha,
paramtype = "light",
walkable = false,