Page 1 of 1

[Mod] Disable Drowning [no_drowning]

Posted: Wed Jun 19, 2013 21:40
by PilzAdam
Hello everyone!
Drowning has been added to the engine. Some people in IRC said they dont like drowning (I dont really understand that), so I made this mod that disables drowning for the default liquids.

Depends:
default

License:
WTFPL

Download:
https://www.dropbox.com/s/bjyua6aytlct2 ... owning.zip

Posted: Wed Jun 19, 2013 21:57
by Inocudom
Does drowning happen even if the enable damage option isn't on?

Posted: Wed Jun 19, 2013 22:00
by PilzAdam
Inocudom wrote:Does drowning happen even if the enable damage option isn't on?
Ehm... yes. It doesnt really make sense if it wouldnt.

Posted: Wed Jun 19, 2013 22:05
by stu
PilzAdam wrote:Hello everyone!
Drowning has been added to the engine. Some people in IRC said they dont like drowning (I dont really understand that), so I made this mod that disables drowning for the default liquids.

Depends:
default

License:
WTFPL

Download:
https://www.dropbox.com/s/bjyua6aytlct2 ... owning.zip
I am all in favor of adding drowning to the engine but I, personally, would prefer to have a minetest.conf setting
to disable it rather than have to install a mod.

+1 anyway

Posted: Wed Jun 19, 2013 22:07
by PilzAdam
stu wrote:I am all in favor of adding drowning to the engine but I, personally, would prefer to have a minetest.conf setting
to disable it rather than have to install a mod.

+1 anyway
A mod can be more handy than a minetest.conf setting, since you can enable/disable the mod per world.

Posted: Wed Jun 19, 2013 22:36
by stu
PilzAdam wrote:
stu wrote:I am all in favor of adding drowning to the engine but I, personally, would prefer to have a minetest.conf setting
to disable it rather than have to install a mod.

+1 anyway
A mod can be more handy than a minetest.conf setting, since you can enable/disable the mod per world.
That is a good point, I agree. If you want to build underwater then you need to install this mod. I'm ok with that.

Posted: Wed Jun 19, 2013 23:18
by PilzAdam
stu wrote:If you want to build underwater then you need to install this mod
Not if you like challenging gameplay.

Posted: Wed Jun 19, 2013 23:35
by kaeza
PilzAdam wrote:
stu wrote:If you want to build underwater then you need to install this mod
Not if you like challenging gameplay.
/me approves

Posted: Sat Jun 22, 2013 00:15
by hdastwb
PilzAdam wrote:
Inocudom wrote:Does drowning happen even if the enable damage option isn't on?
Ehm... yes. It doesnt really make sense if it wouldnt.
…but I'm assuming that one wouldn't actually take damage from drowning, because getting damaged when damage is disabled makes even less sense.

Posted: Sat Jun 22, 2013 00:38
by PilzAdam
hdastwb wrote:
PilzAdam wrote:
Inocudom wrote:Does drowning happen even if the enable damage option isn't on?
Ehm... yes. It doesnt really make sense if it wouldnt.
…but I'm assuming that one wouldn't actually take damage from drowning, because getting damaged when damage is disabled makes even less sense.
Oh, sorry, misread your post (missed the "n't").
Currently the drowning bar still shows up, put it will probably be changed.

Posted: Mon Jun 24, 2013 05:30
by tinoesroho
... finally, I can say goodbye to my drowning_mod. Hello, no_drowning!

Posted: Sat Nov 30, 2013 10:09
by D0431791
My idea is let a player kill monsters to earn experience points which can upgrade the time he can stay in water.

Re: [Mod] Disable Drowning [no_drowning]

Posted: Thu Jul 19, 2018 02:26
by Edgy1
this doesnt support river water. I modified the lua to add support for it in my server. too bad this isnt on github.

Re: [Mod] Disable Drowning [no_drowning]

Posted: Thu Jul 19, 2018 05:01
by Linuxdirk
But you do realize that the thread is nearly 5 years old now?

Re: [Mod] Disable Drowning [no_drowning]

Posted: Thu Jul 19, 2018 06:01
by Edgy1
I do. Doesn't mean I can't improve the past ;)

It would be nice if OP put the mod on github

Re: [Mod] Disable Drowning [no_drowning]

Posted: Thu Jul 19, 2018 06:04
by Linuxdirk
Fedora24 wrote:It would be nice if OP put the mod on github
It's licensed under WTFPL, so do what the fuck you want with the code :)

Put on GitLab (GitHub is teh evil now) or so, and then maybe improve to have drowning read from player properties to allow custom configuration a per-player basis.

Re: [Mod] Disable Drowning [no_drowning]

Posted: Thu Jul 19, 2018 06:10
by Edgy1
I guess I'll do that then ;)

Re:

Posted: Fri Sep 07, 2018 10:58
by crazy_baboon
Check out PR https://github.com/minetest/minetest/pull/7706 that enables/disables drowning in the minetest.conf files.