[Mod] Disable Drowning [no_drowning]

Post Reply
User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

[Mod] Disable Drowning [no_drowning]

by PilzAdam » Post

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

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Does drowning happen even if the enable damage option isn't on?

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Inocudom wrote:Does drowning happen even if the enable damage option isn't on?
Ehm... yes. It doesnt really make sense if it wouldnt.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

by stu » Post

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

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

by stu » Post

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.
Last edited by stu on Wed Jun 19, 2013 22:37, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

stu wrote:If you want to build underwater then you need to install this mod
Not if you like challenging gameplay.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

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
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

hdastwb
Member
Posts: 106
Joined: Tue Jan 01, 2013 18:47
GitHub: hdastwb
IRC: hdastwb
In-game: hdastwb
Location: United States

by hdastwb » Post

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.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

tinoesroho
Member
Posts: 570
Joined: Fri Feb 17, 2012 21:55
Location: Canada

by tinoesroho » Post

... finally, I can say goodbye to my drowning_mod. Hello, no_drowning!
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/

D0431791
Member
Posts: 19
Joined: Wed Nov 06, 2013 11:43

by D0431791 » Post

My idea is let a player kill monsters to earn experience points which can upgrade the time he can stay in water.
Minetest can be better if
*better data structure for players and unstackable items like JSON
*multi sqlite files so that multi dimension can be easily implemented
*more convenient mob developing interface

User avatar
Edgy1
Member
Posts: 163
Joined: Thu Nov 24, 2016 16:29
GitHub: JamesTobin
In-game: Trump

Re: [Mod] Disable Drowning [no_drowning]

by Edgy1 » Post

this doesnt support river water. I modified the lua to add support for it in my server. too bad this isnt on github.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Disable Drowning [no_drowning]

by Linuxdirk » Post

But you do realize that the thread is nearly 5 years old now?

User avatar
Edgy1
Member
Posts: 163
Joined: Thu Nov 24, 2016 16:29
GitHub: JamesTobin
In-game: Trump

Re: [Mod] Disable Drowning [no_drowning]

by Edgy1 » Post

I do. Doesn't mean I can't improve the past ;)

It would be nice if OP put the mod on github

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Disable Drowning [no_drowning]

by Linuxdirk » Post

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.

User avatar
Edgy1
Member
Posts: 163
Joined: Thu Nov 24, 2016 16:29
GitHub: JamesTobin
In-game: Trump

Re: [Mod] Disable Drowning [no_drowning]

by Edgy1 » Post

I guess I'll do that then ;)

crazy_baboon
Member
Posts: 96
Joined: Sat Oct 17, 2015 10:47

Re:

by crazy_baboon » Post

Check out PR https://github.com/minetest/minetest/pull/7706 that enables/disables drowning in the minetest.conf files.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests