From 05fe60143029673f640146dbcd071552030c2399 Mon Sep 17 00:00:00 2001 From: atermonera Date: Wed, 7 Feb 2018 13:16:51 -0800 Subject: [PATCH] Ethylredox removes alcohol --- .../Chemistry-Reagents/Chemistry-Reagents-Medicine.dm | 4 ++-- html/changelogs/Atermonera - ethyl_fix.yml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/Atermonera - ethyl_fix.yml diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm index 2acf9e57e5..b731f50326 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm @@ -461,11 +461,11 @@ if(M.ingested) for(var/datum/reagent/R in M.ingested.reagent_list) if(istype(R, /datum/reagent/ethanol)) - R.dose = max(R.dose - removed * 5, 0) + R.remove_self(removed * 5) if(M.bloodstr) for(var/datum/reagent/R in M.bloodstr.reagent_list) if(istype(R, /datum/reagent/ethanol)) - R.dose = max(R.dose - removed * 15, 0) + R.remove_self(removed * 15) /datum/reagent/hyronalin name = "Hyronalin" diff --git a/html/changelogs/Atermonera - ethyl_fix.yml b/html/changelogs/Atermonera - ethyl_fix.yml new file mode 100644 index 0000000000..e24f91e715 --- /dev/null +++ b/html/changelogs/Atermonera - ethyl_fix.yml @@ -0,0 +1,5 @@ +author: Atermonera + +delete-after: True +changes: + - tweak: "Ethylredoxrazine actively removes alcohol from the stomach and bloodstream"