From 403274ff62d14466c0057d4bfeeec1fa1bb19f27 Mon Sep 17 00:00:00 2001 From: Lamb <110322848+CoiledLamb@users.noreply.github.com> Date: Fri, 25 Aug 2023 20:32:28 -0500 Subject: [PATCH] fixes coroner medkit storage (#77912) ## About The Pull Request atom_storage.max_specific_storage and atom_storage.max_total_storage had their values reversed. this fixes that, and i tested to confirm: the compact coroner medkit can now hold everything it spawns with ## Why It's Good For The Game before this fix, the max storage of a coroner medkit was two items. it's very annoying to pull an item from it, only to find it can not go back in again - moreoever, this gives it consistency with other medkits. ## Changelog :cl: fix: the coroner medkit can now hold every item it spawns with /:cl: --- code/game/objects/items/storage/medkit.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/storage/medkit.dm b/code/game/objects/items/storage/medkit.dm index 38ccbf65126..9fc3ab8ee4a 100644 --- a/code/game/objects/items/storage/medkit.dm +++ b/code/game/objects/items/storage/medkit.dm @@ -348,9 +348,9 @@ /obj/item/storage/medkit/coroner/Initialize(mapload) . = ..() - atom_storage.max_specific_storage = 24 + atom_storage.max_specific_storage = WEIGHT_CLASS_NORMAL atom_storage.max_slots = 14 - atom_storage.max_total_storage = WEIGHT_CLASS_NORMAL + atom_storage.max_total_storage = 24 atom_storage.set_holdable(list( /obj/item/reagent_containers, /obj/item/bodybag,