From a4d413ca58086f250d2de4870aa8ebad48a88125 Mon Sep 17 00:00:00 2001 From: ghostsheet Date: Tue, 11 Jul 2023 21:00:27 +1000 Subject: [PATCH] B5 Hammer slowdown --- code/game/objects/items/weapons/twohanded.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/game/objects/items/weapons/twohanded.dm b/code/game/objects/items/weapons/twohanded.dm index c9bfb9b9f757..0c88b61fafbe 100644 --- a/code/game/objects/items/weapons/twohanded.dm +++ b/code/game/objects/items/weapons/twohanded.dm @@ -327,6 +327,8 @@ /obj/item/weapon/twohanded/breacher/synth/pickup(mob/user) if(!(HAS_TRAIT(user, TRAIT_SUPER_STRONG))) to_chat(user, SPAN_WARNING("You barely manage to lift \the [src] above your knees. This thing will probably be useless to you.")) + user.apply_effect(1.1, SLOW) + START_PROCESSING(SSobj, src) return ..() @@ -335,3 +337,11 @@ to_chat(user, SPAN_WARNING("\The [src] is too heavy for you to use as a weapon!")) return ..() + +/obj/item/weapon/twohanded/breacher/synth/process() + var/mob/user = src.loc + if(istype(user) && !(HAS_TRAIT(user, TRAIT_SUPER_STRONG))) + user.apply_effect(1.1, SLOW) + return + + STOP_PROCESSING(SSobj, src)