diff options
author | BlockMen <nmuelll@web.de> | 2013-08-01 18:36:11 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-08-06 17:49:39 +0200 |
commit | 7b13d119ed917c137fc375eff790a7754fd93386 (patch) | |
tree | 7372138943e6ad4db52a037e95fec70035b5ffaa /doc | |
parent | ba65e2ae6c9578309049b685f3052e424fb410b8 (diff) | |
download | minetest-7b13d119ed917c137fc375eff790a7754fd93386.tar.gz minetest-7b13d119ed917c137fc375eff790a7754fd93386.tar.bz2 minetest-7b13d119ed917c137fc375eff790a7754fd93386.zip |
Add support for different drowning damage and allow drowning in other nodetypes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d34588786..5247b248d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1991,7 +1991,7 @@ Node definition (register_node) freezemelt = "", -- water for snow/ice, ice/snow for water leveled = 0, -- Block contain level in param2. value - default level, used for snow. Dont forget use "leveled" type nodebox liquid_range = 8, -- number of flowing nodes arround source (max. 8) - drowning = true, -- Player will drown in these + drowning = 0, -- Player will take this amount of damage if no bubbles are left two or more sources nearly? light_source = 0, -- Amount of light emitted by node damage_per_second = 0, -- If player is inside node, this damage is caused |