From 3f57783bf3e9c4e0d7a4a8faa98e13fba4029632 Mon Sep 17 00:00:00 2001 From: MagmaRam Date: Thu, 24 Nov 2016 00:31:20 -0600 Subject: [PATCH] People will now process reagents when dead. Most reagents are still skipped, but blood is, importantly, not. This needs to be discussed further. --- code/modules/mob/living/life.dm | 6 ++++-- .../reagents/Chemistry-Reagents/Chemistry-Reagents-Core.dm | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index 111604848a..9271167d40 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -17,8 +17,7 @@ //Mutations and radiation handle_mutations_and_radiation() - //Chemicals in the body - handle_chemicals_in_body() + //Blood handle_blood() @@ -28,6 +27,9 @@ . = 1 + //Chemicals in the body, this is moved over here so that blood can be added after death + handle_chemicals_in_body() + //Handle temperature/pressure differences between body and environment if(environment) handle_environment(environment) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Core.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Core.dm index 595a5e0c3d..cf2f7f7968 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Core.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Core.dm @@ -5,6 +5,7 @@ reagent_state = LIQUID metabolism = REM * 5 mrate_static = TRUE + affects_dead = 1 //so you can pump blood into someone before defibbing them color = "#C80000" glass_name = "tomato juice"