From bb2e10151c7f29cd1fb669d42feeefa65a488dce Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 1 May 2017 16:03:11 -0400 Subject: [PATCH] Adds Adranol Adranol fixes jittery, eye_blurry, and confusion, and would be good as a post-resleeving drug. It'd also be the only drug that can actually fix jitteryness, since there is no way to undo that now. --- .../Chemistry-Reagents-Medicine_vr.dm | 18 ++++++++++++++++++ code/modules/reagents/Chemistry-Recipes_vr.dm | 13 ++++++++----- vorestation.dme | 1 + 3 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine_vr.dm diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine_vr.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine_vr.dm new file mode 100644 index 0000000000..ddc0a5a411 --- /dev/null +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine_vr.dm @@ -0,0 +1,18 @@ +/datum/reagent/adranol + name = "Adranol" + id = "adranol" + description = "A mild sedative that calms the nerves and relaxes the patient." + taste_description = "milk" + reagent_state = SOLID + color = "#d5e2e5" + overdose = REAGENTS_OVERDOSE + +/datum/reagent/adranol/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) + if(alien == IS_DIONA) + return + if(M.confused) + M.Confuse(-8*removed) + if(M.eye_blurry) + M.eye_blurry = max(M.eye_blurry - 8*removed, 0) + if(M.jitteriness) + M.make_jittery(max(M.jitteriness - 8*removed,0)) \ No newline at end of file diff --git a/code/modules/reagents/Chemistry-Recipes_vr.dm b/code/modules/reagents/Chemistry-Recipes_vr.dm index feb29703f8..de7f707ac5 100644 --- a/code/modules/reagents/Chemistry-Recipes_vr.dm +++ b/code/modules/reagents/Chemistry-Recipes_vr.dm @@ -64,11 +64,14 @@ required_reagents = list("mutagen" = 3, "lipozine" = 2) result_amount = 5 - - - - - +/////////////////////////////////////////////////////////////////////////////////// +/// Other Drugs +/datum/chemical_reaction/adranol + name = "Adranol" + id = "adranol" + result = "adranol" + required_reagents = list("milk" = 2, "hydrogen" = 1, "potassium" = 1) + result_amount = 3 /////////////////////////////// //SLIME CORES BELOW HERE/////// diff --git a/vorestation.dme b/vorestation.dme index d494584a5c..c7af75e7a6 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -2106,6 +2106,7 @@ #include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Food-Drinks.dm" #include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Food-Drinks_vr.dm" #include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Medicine.dm" +#include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Medicine_vr.dm" #include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Other.dm" #include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Toxins.dm" #include "code\modules\reagents\Chemistry-Reagents\Chemistry-Reagents-Vore_vr.dm"