From 9b317be92e069131549e18a287fbe09c47d2a9bb Mon Sep 17 00:00:00 2001 From: Kyep Date: Sun, 31 Jul 2016 02:41:48 -0700 Subject: [PATCH 1/2] Fixes CMO Hypospray Theft Objective --- code/game/gamemodes/steal_items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/steal_items.dm b/code/game/gamemodes/steal_items.dm index 9c6989cb1b9..6a673abf5d5 100644 --- a/code/game/gamemodes/steal_items.dm +++ b/code/game/gamemodes/steal_items.dm @@ -111,7 +111,7 @@ datum/theft_objective/ai/check_special_completion(var/obj/item/device/aicard/C) /datum/theft_objective/hypospray name = "a hypospray" - typepath = /obj/item/weapon/reagent_containers/hypospray + typepath = /obj/item/weapon/reagent_containers/hypospray/CMO protected_jobs = list("Chief Medical Officer") /datum/theft_objective/ablative From bd9dea2911a4d888bc4a0bb3aa95ab2e0fabdc0a Mon Sep 17 00:00:00 2001 From: Kyep Date: Sun, 31 Jul 2016 07:56:09 -0700 Subject: [PATCH 2/2] Deletes old snowflake code --- code/game/gamemodes/steal_items.dm | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/game/gamemodes/steal_items.dm b/code/game/gamemodes/steal_items.dm index 6a673abf5d5..fd3ad379fe0 100644 --- a/code/game/gamemodes/steal_items.dm +++ b/code/game/gamemodes/steal_items.dm @@ -19,9 +19,6 @@ var/list/all_items = owner.current.get_contents() for(var/obj/I in all_items) //Check for items if(istype(I, typepath) && check_special_completion(I)) - //Stealing the cheap autoinjector doesn't count - if(istype(I, /obj/item/weapon/reagent_containers/hypospray/autoinjector)) - continue return 1 return 0