From f890317810b98118194df038ec0446e8c8bf1e68 Mon Sep 17 00:00:00 2001 From: Linzolle Date: Thu, 13 Feb 2020 13:02:51 -0600 Subject: [PATCH] maybe this will work --- .../components/crafting/recipes/recipes_weapon_and_ammo.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/datums/components/crafting/recipes/recipes_weapon_and_ammo.dm b/code/datums/components/crafting/recipes/recipes_weapon_and_ammo.dm index 06f79396b8..0ac0c27a92 100644 --- a/code/datums/components/crafting/recipes/recipes_weapon_and_ammo.dm +++ b/code/datums/components/crafting/recipes/recipes_weapon_and_ammo.dm @@ -8,6 +8,13 @@ category = CAT_WEAPONRY subcategory = CAT_WEAPON +/datum/crafting_recipe/pin_removal/check_requirements(mob/user, list/collected_requirements) + var/obj/item/gun/G = collected_requirements[/obj/item/gun][1] + if (G.no_pin_required) + to_chat(user, "You can't seem to figure out how to remove a pin from this weapon.") + return FALSE + return TRUE + /datum/crafting_recipe/strobeshield name = "Strobe Shield" result = /obj/item/assembly/flash/shield