mirror of
https://repo.or.cz/minetest_pedology.git
synced 2024-12-29 11:20:17 +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",
|
description = description.." source",
|
||||||
inventory_image = minetest.inventorycube(tile),
|
inventory_image = minetest.inventorycube(tile),
|
||||||
tiles = {tile},
|
tiles = {tile},
|
||||||
|
special_tiles = {{name=tile, backface_culling=false}},
|
||||||
alpha = alpha,
|
alpha = alpha,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -203,9 +204,10 @@ function pedology.register_liquid(basename, description, alpha, viscosity, drown
|
|||||||
minetest.register_node("pedology:"..basename.."_source", nodedef_source)
|
minetest.register_node("pedology:"..basename.."_source", nodedef_source)
|
||||||
|
|
||||||
local nodedef_flowing = {
|
local nodedef_flowing = {
|
||||||
description = description.." flowing",
|
description = "flowing "..description,
|
||||||
inventory_image = minetest.inventorycube(tile),
|
inventory_image = minetest.inventorycube(tile),
|
||||||
tiles = {tile},
|
tiles = {tile},
|
||||||
|
special_tiles = {{name=tile, backface_culling=false}, {name=tile, backface_culling=true}},
|
||||||
alpha = alpha,
|
alpha = alpha,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user