[Mod] Realistic Suffocation [1.0.0] [real_suffocation]

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

[Mod] Realistic Suffocation [1.0.0] [real_suffocation]

by Wuzzy » Fri Aug 05, 2016 22:31

The player will lose breath inside solid blocks and suffers high damage when the breath is gone.

That's basically what the mod does.
If for some reason your head ended up inside a solid full cube block like sand, gravel, dirt, stone, etc. you start to lose breath. If you run out of breath while still inside, you lose 10 HP (or 5 “hearts”) per 2 seconds, so it is very deadly. On the other hand, losing breath is always rather slow in Minetest, so you have plenty of time to escape.

Specifically, suffocation will be added to all blocks which:
  • Are solid
  • Are full-sized standard cubes
  • Don't already have their own forms of damage
  • Are not excluded from suffcation by mods

This means being “stuck” in things like stairs, slabs, glass panes, etc. is safe as it is usually easy to get out.

Download: real_suffocation_1.0.0.zip

GIt project page: http://repo.or.cz/minetest_real_suffocation.git
Version: 1.0.0
Dependencies: None!
License of everything: WTFPL
Attachments
real_suffocation_1.0.0.zip
(2.89 KiB) Downloaded 91 times
Last edited by Wuzzy on Sat Aug 06, 2016 14:03, edited 2 times in total.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Real Suffocation [1.0.0] [real_suffocation]

by octacian » Fri Aug 05, 2016 23:17

Awesome! This is exactly what I was going to do. Now I don't have to!
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: [Mod] Real Suffocation [1.0.0] [real_suffocation]

by Byakuren » Sat Aug 06, 2016 02:35

When I read the title i thought it would interface with a USB gas mask
Every time a mod API is left undocumented, a koala dies.
 

User avatar
TumeniNodes
Member
 
Posts: 1335
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes

Re: [Mod] Real Suffocation [1.0.0] [real_suffocation]

by TumeniNodes » Sat Aug 06, 2016 03:28

I thought there might be a pillow involved...
This is gonna be a bummer for people who spawn inside blocks :D
Flick?... Flick who?
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Realistic Suffocation [1.0.0] [real_suffocation]

by Wuzzy » Sat Aug 06, 2016 14:05

I changed the name to “Realistic Suffocation”. Short name stays, of course.

I chose “Real Suffocation” because this mod works for real, as opposed to a much older mod which didn't work well and only added buggy suffocation for sand, gravel and desert sand.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 15 guests

cron