mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00: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:
parent
bd40ee2b95
commit
0bbbc6e13d
7 changed files with 49 additions and 32 deletions
|
@ -229,6 +229,8 @@ struct ContentFeatures
|
|||
bool climbable;
|
||||
// Player can build on these
|
||||
bool buildable_to;
|
||||
// Liquids flow into and replace node
|
||||
bool floodable;
|
||||
// Player cannot build to these (placement prediction disabled)
|
||||
bool rightclickable;
|
||||
// Flowing liquid or snow, value = default level
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue