Lazarus Reagent Change, Decay Rate change, and Formaldehyde Buff (#25324)

* Changes necrosis_prob to use decaylevel.

* Reverts previous change to create a new branch.

* Changes Lazarus Reagent to use decaylevel.

* Changes decay rates while leaving the point at which they're skeletonized the same. This is to give only a 3 minute timer for lazarus instead of a 5 minute timer without any consequence.

* Changes the later halves of decay rate.

* Apply suggestions from code review

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human_life.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com>

---------

Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Spaghetti-bit
2024-05-22 01:09:19 +00:00
committed by GitHub
co-authored by Burzah DGamerL S34N
parent 3b351c8636
commit cd4fc1dd25
2 changed files with 8 additions and 8 deletions
@@ -767,19 +767,19 @@
if(reagents.has_reagent("formaldehyde")) //embalming fluid stops decay
return
if(decaytime <= 6000) //10 minutes for decaylevel1 -- stinky
if(decaytime <= 8 MINUTES)
return
if(decaytime > 6000 && decaytime <= 12000)//20 minutes for decaylevel2 -- bloated and very stinky
if(decaytime > 8 MINUTES)
decaylevel = 1
if(decaytime > 12000 && decaytime <= 18000)//30 minutes for decaylevel3 -- rotting and gross
if(decaytime > 16 MINUTES)
decaylevel = 2
if(decaytime > 18000 && decaytime <= 27000)//45 minutes for decaylevel4 -- skeleton
if(decaytime > 24 MINUTES)
decaylevel = 3
if(decaytime > 27000)
if(decaytime > 45 MINUTES)
decaylevel = 4
makeSkeleton()
return //No puking over skeletons, they don't smell at all!