diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index b5bb07ff234..e4d3aecd279 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -389,7 +389,7 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective) steal_target = O explanation_text = "Steal [steal_target]. One was last seen in [get_location()]. " - if(length(O.protected_jobs)) + if(length(O.protected_jobs) && O.job_possession) explanation_text += "It may also be in the possession of the [english_list(O.protected_jobs, and_text = " or ")]." if(steal_target.special_equipment) give_kit(steal_target.special_equipment) diff --git a/code/game/gamemodes/steal_items.dm b/code/game/gamemodes/steal_items.dm index 24ea05d786c..28ab4f78194 100644 --- a/code/game/gamemodes/steal_items.dm +++ b/code/game/gamemodes/steal_items.dm @@ -14,6 +14,8 @@ var/location_override /// Do we have a special item we give to somewhen when they get this objective? var/special_equipment = null + ///If a steal objective has forbiden jobs, and the forbiden jobs would not be in the possession of this item, set this to false + var/job_possession = TRUE /datum/theft_objective/proc/check_completion(datum/mind/owner) if(!owner.current) @@ -144,13 +146,14 @@ name = "a supermatter sliver" typepath = /obj/item/nuke_core/supermatter_sliver protected_jobs = list("Chief Engineer", "Engineer", "Atmospheric Technician") //Unlike other steal objectives, all jobs in the department have easy access, and would not be noticed at all stealing this - location_override = "Engineering. You can use the box and instructions provided to harvest the sliver." + location_override = "Engineering. You can use the box and instructions provided to harvest the sliver" special_equipment = /obj/item/storage/box/syndie_kit/supermatter + job_possession = FALSE //The CE / engineers / atmos techs do not carry around supermater slivers. /datum/theft_objective/plutonium_core name = "the plutonium core from the stations nuclear device" typepath = /obj/item/nuke_core/plutonium - location_override = "the Vault. You can use the box and instructions provided to remove the core, with some extra tools." + location_override = "the Vault. You can use the box and instructions provided to remove the core, with some extra tools" special_equipment = /obj/item/storage/box/syndie_kit/nuke /datum/theft_objective/number