diff options
author | BlockMen <nmuelll@web.de> | 2013-07-20 22:07:24 +0200 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2013-07-21 11:57:59 +0200 |
commit | bc443909844d51bb7bbcc5e89b61cecbc83e0ee7 (patch) | |
tree | 64f220120750f2668051691c1c881325a626251a /no_drowning.lua | |
parent | 98b1e097b7da747e1f4ec8e2ff04706329722229 (diff) |
Enable builtin drowning
Diffstat (limited to 'no_drowning.lua')
-rw-r--r-- | no_drowning.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/no_drowning.lua b/no_drowning.lua deleted file mode 100644 index f7b3149..0000000 --- a/no_drowning.lua +++ /dev/null @@ -1,15 +0,0 @@ -local function drwn_overwrite(name) - local table = minetest.registered_nodes[name] - local table2 = {} - for i,v in pairs(table) do - table2[i] = v - end - table2.drowning = false - table2.hud_drowning = true - minetest.register_node(":"..name, table2) -end - -drwn_overwrite("default:water_source") -drwn_overwrite("default:water_flowing") -drwn_overwrite("default:lava_source") -drwn_overwrite("default:lava_flowing") |