[Mod] Disable Drowning [no_drowning]

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

[Mod] Disable Drowning [no_drowning]

by PilzAdam » Wed Jun 19, 2013 21:40

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/bjyua6aytlct2mm/no_drowning.zip
 

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

by Inocudom » Wed Jun 19, 2013 21:57

Does drowning happen even if the enable damage option isn't on?
My whole legacy is an abomination.
 

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

by PilzAdam » Wed Jun 19, 2013 22:00

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: 895
Joined: Sat Feb 02, 2013 02:51
Location: United Kingdom
GitHub: stujones11

by stu » Wed Jun 19, 2013 22:05

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/bjyua6aytlct2mm/no_drowning.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
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Jun 19, 2013 22:07

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: 895
Joined: Sat Feb 02, 2013 02:51
Location: United Kingdom
GitHub: stujones11

by stu » Wed Jun 19, 2013 22:36

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
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Jun 19, 2013 23:18

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: 2158
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Jun 19, 2013 23:35

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by hdastwb » Sat Jun 22, 2013 00:15

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
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Jun 22, 2013 00:38

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 » Mon Jun 24, 2013 05:30

... 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 » Sat Nov 30, 2013 10:09

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
Fedora24
Member
 
Posts: 135
Joined: Thu Nov 24, 2016 16:29
GitHub: JamesTobin
In-game: Trump

Re: [Mod] Disable Drowning [no_drowning]

by Fedora24 » Thu Jul 19, 2018 02:26

this doesnt support river water. I modified the lua to add support for it in my server. too bad this isnt on github.
Survivalworks Minetest Server
survivalworks.ddns.net:30000
 

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

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

Re: [Mod] Disable Drowning [no_drowning]

by Fedora24 » Thu Jul 19, 2018 06:01

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

It would be nice if OP put the mod on github
Survivalworks Minetest Server
survivalworks.ddns.net:30000
 

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

Re: [Mod] Disable Drowning [no_drowning]

by Linuxdirk » Thu Jul 19, 2018 06:04

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
Fedora24
Member
 
Posts: 135
Joined: Thu Nov 24, 2016 16:29
GitHub: JamesTobin
In-game: Trump

Re: [Mod] Disable Drowning [no_drowning]

by Fedora24 » Thu Jul 19, 2018 06:10

I guess I'll do that then ;)
Survivalworks Minetest Server
survivalworks.ddns.net:30000
 

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

Re:

by crazy_baboon » Fri Sep 07, 2018 10:58

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


Return to Mod Releases



Who is online

Users browsing this forum: Google [Bot] and 4 guests