From e3ddf2525962c4daaa28043dcf37dc7c553969fc Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 20 Sep 2023 18:16:23 +0200 Subject: [PATCH] [MIRROR] Antihol now makes surgeries slower [MDB IGNORE] (#23820) * Antihol now makes surgeries slower (#78155) ## About The Pull Request Splashing antihol on someone will now cause surgeries to go a bit slower. This should completely counteract ethanol's speed buff. ## Why It's Good For The Game Someone suggested this on the discord and I found it a funny idea, adds a bit more flavor to antihol as the opposite of ethanol. ## Changelog :cl: add: Splashing antihol on a patient before surgery will make it to go slower. /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com> * Antihol now makes surgeries slower --------- Co-authored-by: StaringGasMask <62149527+Exester509@users.noreply.github.com> Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com> --- .../reagents/chemistry/reagents/medicine_reagents.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/reagents/chemistry/reagents/medicine_reagents.dm b/code/modules/reagents/chemistry/reagents/medicine_reagents.dm index 293001f66b1..6e2b12a95eb 100644 --- a/code/modules/reagents/chemistry/reagents/medicine_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/medicine_reagents.dm @@ -1122,6 +1122,14 @@ ..() . = TRUE +/datum/reagent/medicine/antihol/expose_mob(mob/living/carbon/exposed_carbon, methods=TOUCH, reac_volume) + . = ..() + if(!(methods & (TOUCH|VAPOR|PATCH))) + return + + for(var/datum/surgery/surgery as anything in exposed_carbon.surgeries) + surgery.speed_modifier = max(surgery.speed_modifier - 0.1, -0.9) + /datum/reagent/medicine/stimulants name = "Stimulants" description = "Increases resistance to batons and movement speed in addition to restoring minor damage and weakness. Overdose causes weakness and toxin damage."