mirror of
https://github.com/minetest/minetest.git
synced 2025-06-29 22:50:25 +02:00
Liquids: Flow into and destroy 'floodable' nodes
Add new node property 'floodable', default false Define "air" as floodable = true in C++ and lua
This commit is contained in:
@ -574,6 +574,7 @@ core.nodedef_default = {
|
||||
diggable = true,
|
||||
climbable = false,
|
||||
buildable_to = false,
|
||||
floodable = false,
|
||||
liquidtype = "none",
|
||||
liquid_alternative_flowing = "",
|
||||
liquid_alternative_source = "",
|
||||
|
@ -289,6 +289,7 @@ core.register_node(":air", {
|
||||
pointable = false,
|
||||
diggable = false,
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
air_equivalent = true,
|
||||
drop = "",
|
||||
groups = {not_in_creative_inventory=1},
|
||||
|
Reference in New Issue
Block a user