mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix liquid falling if in "float" group (#13789)
* Make falling liquid source nodes replace flowing nodes This makes falling liquid source nodes in group:float replace flowing nodes on the ground instead of being placed above the flowing node. * Make flowing liquids "fall through" for source nodes This makes liquids in float and falling_node groups fall through flowing liquid nodes instead of being supported by them in the air. --------- Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: Lars Mueller <appgurulars@gmx.de>
This commit is contained in:
parent
7901087466
commit
6c8ae2b72a
3 changed files with 30 additions and 7 deletions
|
@ -9,7 +9,7 @@ for d=0, 8 do
|
|||
end
|
||||
minetest.register_node("testnodes:rliquid_"..d, {
|
||||
description = "Test Liquid Source, Range "..d..
|
||||
tt_normal,
|
||||
tt_normal .. "\n" .. "(falling & floating node)",
|
||||
drawtype = "liquid",
|
||||
tiles = {"testnodes_liquidsource_r"..d..".png"},
|
||||
special_tiles = {
|
||||
|
@ -25,6 +25,8 @@ for d=0, 8 do
|
|||
liquid_alternative_flowing = "testnodes:rliquid_flowing_"..d,
|
||||
liquid_alternative_source = "testnodes:rliquid_"..d,
|
||||
liquid_range = d,
|
||||
-- Also use these nodes to test falling, floating liquid source nodes
|
||||
groups = {float = 1, falling_node = 1},
|
||||
})
|
||||
|
||||
minetest.register_node("testnodes:rliquid_flowing_"..d, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue