From 468fb17e537308ec8e29028297e5fbcead6bbf28 Mon Sep 17 00:00:00 2001 From: Morrow Date: Thu, 26 Oct 2023 00:24:14 -0400 Subject: [PATCH] Everyone blood bag --- code/game/objects/items/reagent_containers/blood_pack.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/game/objects/items/reagent_containers/blood_pack.dm b/code/game/objects/items/reagent_containers/blood_pack.dm index 0879dcffdc..128c127082 100644 --- a/code/game/objects/items/reagent_containers/blood_pack.dm +++ b/code/game/objects/items/reagent_containers/blood_pack.dm @@ -74,14 +74,10 @@ update_beam() return - if(!skillcheck(user, SKILL_SURGERY, SKILL_SURGERY_NOVICE)) - to_chat(user, SPAN_WARNING("You don't know how to connect this!")) - return - if(user.action_busy) return - if(!do_after(user, (1 SECONDS) * user.get_skill_duration_multiplier(SKILL_SURGERY), INTERRUPT_ALL, BUSY_ICON_FRIENDLY, attacked_mob, INTERRUPT_MOVED, BUSY_ICON_MEDICAL)) + if(!do_after(user, skillcheck(user, SKILL_SURGERY, SKILL_SURGERY_NOVICE) ? (1 SECONDS) * user.get_skill_duration_multiplier(SKILL_SURGERY) : (8 SECONDS), INTERRUPT_ALL, BUSY_ICON_FRIENDLY, attacked_mob, INTERRUPT_MOVED, BUSY_ICON_MEDICAL)) to_chat(user, SPAN_WARNING("You were interrupted before you could finish!")) return