From f44daf1e446648fffb38839fa63afe2b2474a7c0 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 18 Apr 2024 02:56:32 +0200 Subject: [PATCH] [MIRROR] Medipens cant be deepfried anymore (#27336) * Medipens cant be deepfried anymore (#82676) ## About The Pull Request Saltshakers and IV drips have special checks that allows edible things through, and deepfrying medipens turns them edible, therefore opening the exploit that you can deepfry a medipen to drain and inject chemcials into it. This sucks, and I don't want to get rid of this cool feature for everyone else, so I'm just gonna go the cheap way and blacklist medipens from being deepfried at all. It's too much of a hassle and I don't want to have to constantly bug smash new ways to inject/drain from edible foods just so medipens can't be exploited as an instant piercing chem transfer. ## Why It's Good For The Game Explained in the about me already, this is lame! Closes https://github.com/tgstation/tgstation/issues/82631, closes https://github.com/tgstation/tgstation/issues/79178 ## Changelog :cl: fix: Medipens can no longer be deepfried, closing an exploit that allowed people to drain/inject chems into it with saltshakers and IV drips. /:cl: * Medipens cant be deepfried anymore --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> --- code/modules/food_and_drinks/machinery/deep_fryer.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/food_and_drinks/machinery/deep_fryer.dm b/code/modules/food_and_drinks/machinery/deep_fryer.dm index ff4e163eccb..140fde7e960 100644 --- a/code/modules/food_and_drinks/machinery/deep_fryer.dm +++ b/code/modules/food_and_drinks/machinery/deep_fryer.dm @@ -12,6 +12,7 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list( /obj/item/reagent_containers/condiment, /obj/item/reagent_containers/cup, /obj/item/reagent_containers/syringe, + /obj/item/reagent_containers/hypospray/medipen, //letting medipens become edible opens them to being injected/drained with IV drip & saltshakers ))) /obj/machinery/deepfryer//SKYRAT EDIT - ICON OVERRIDEN BY AESTHETICS - SEE MODULE