From 3902f69da35b93f445dded96f16a622c3cf6e007 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 10 Aug 2022 05:56:22 +0200 Subject: [PATCH] [MIRROR] Butcher's meathook is no longer restricted by TRAIT_NOGUNS [MDB IGNORE] (#15511) * Butcher's meathook is no longer restricted by TRAIT_NOGUNS (#68989) can_trigger_gun always returns TRUE on meathooks, because they aren't real guns so shouldn't be checking if guns can be used. * Butcher's meathook is no longer restricted by TRAIT_NOGUNS Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> --- code/modules/projectiles/guns/special/meat_hook.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/projectiles/guns/special/meat_hook.dm b/code/modules/projectiles/guns/special/meat_hook.dm index 7b0b07f18ec..372a44afdc0 100644 --- a/code/modules/projectiles/guns/special/meat_hook.dm +++ b/code/modules/projectiles/guns/special/meat_hook.dm @@ -18,6 +18,9 @@ /obj/item/gun/magic/hook/shoot_with_empty_chamber(mob/living/user) to_chat(user, span_warning("[src] isn't ready to fire yet!")) +/obj/item/gun/magic/hook/can_trigger_gun(mob/living/user) // This isn't really a gun, so it shouldn't be checking for TRAIT_NOGUNS, a firing pin (pinless), or a trigger guard (guardless) + return TRUE + /obj/item/ammo_casing/magic/hook name = "hook" desc = "A hook."