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 /games/minimal/mods/default | |
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 'games/minimal/mods/default')
-rw-r--r-- | games/minimal/mods/default/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua index 9f9db5ac7..afde19b52 100644 --- a/games/minimal/mods/default/init.lua +++ b/games/minimal/mods/default/init.lua @@ -1001,6 +1001,7 @@ minetest.register_node("default:water_flowing", { pointable = false, diggable = false, buildable_to = true, + drowning = 1, liquidtype = "flowing", liquid_alternative_flowing = "default:water_flowing", liquid_alternative_source = "default:water_source", @@ -1024,6 +1025,7 @@ minetest.register_node("default:water_source", { pointable = false, diggable = false, buildable_to = true, + drowning = 1, liquidtype = "source", liquid_alternative_flowing = "default:water_flowing", liquid_alternative_source = "default:water_source", @@ -1055,6 +1057,7 @@ minetest.register_node("default:lava_flowing", { pointable = false, diggable = false, buildable_to = true, + drowning = 1, liquidtype = "flowing", liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_source = "default:lava_source", @@ -1082,6 +1085,7 @@ minetest.register_node("default:lava_source", { pointable = false, diggable = false, buildable_to = true, + drowning = 1, liquidtype = "source", liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_source = "default:lava_source", |