mirror of
https://repo.or.cz/minetest_pedology.git
synced 2024-12-28 02:40:21 +01:00
Fix flowing liquid textures
This commit is contained in:
parent
5defd6adaa
commit
d6320292a9
4
init.lua
4
init.lua
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user