aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-12-30 04:22:58 +0000
committerparamat <mat.gregory@virginmedia.com>2016-01-07 05:57:19 +0000
commit0bbbc6e13dc8180cf1d98f9866bc72a510162eb3 (patch)
treeb84bb2078662a03d65f8088cbb8d6be6c3b807db /doc
parentbd40ee2b95138139a8cfbef878b3461176688c15 (diff)
downloadminetest-0bbbc6e13dc8180cf1d98f9866bc72a510162eb3.tar.gz
minetest-0bbbc6e13dc8180cf1d98f9866bc72a510162eb3.tar.bz2
minetest-0bbbc6e13dc8180cf1d98f9866bc72a510162eb3.zip
Liquids: Flow into and destroy 'floodable' nodes
Add new node property 'floodable', default false Define "air" as floodable = true in C++ and lua
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 37d0aaabc..ea5029e61 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3396,6 +3396,7 @@ Definition tables
diggable = true, -- If false, can never be dug
climbable = false, -- If true, can be climbed on (ladder)
buildable_to = false, -- If true, placed nodes can replace this node
+ floodable = false, -- If true, liquids flow into and replace this node
liquidtype = "none", -- "none"/"source"/"flowing"
liquid_alternative_flowing = "", -- Flowing version of source liquid
liquid_alternative_source = "", -- Source version of flowing liquid