From d7ef7012a83ca3bedeabeb7d772aa973da1154c0 Mon Sep 17 00:00:00 2001 From: tipoima <61978315+tipoima@users.noreply.github.com> Date: Tue, 2 Jul 2024 05:19:34 +0500 Subject: [PATCH] Lets the players know that they can steal just the photo of the blueprints instead of the entire thing. (#26086) * Lets the players know that they can steal just the photo of the blueprints instead of the entire thing. * implements Contrabang's request * Update code/game/gamemodes/steal_items.dm Co-authored-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com> Signed-off-by: tipoima <61978315+tipoima@users.noreply.github.com> --------- Signed-off-by: tipoima <61978315+tipoima@users.noreply.github.com> Co-authored-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com> --- code/game/gamemodes/objective.dm | 3 ++- code/game/gamemodes/steal_items.dm | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index 1d101d51dde..235845fc809 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -592,7 +592,8 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective) /datum/objective/steal/update_explanation_text() explanation_text = "Steal [steal_target.name]. One was last seen in [get_location()]. " if(length(steal_target.protected_jobs) && steal_target.job_possession) - explanation_text += "It may also be in the possession of the [english_list(steal_target.protected_jobs, and_text = " or ")]." + explanation_text += "It may also be in the possession of the [english_list(steal_target.protected_jobs, and_text = " or ")]. " + explanation_text += steal_target.extra_information /datum/objective/steal/check_completion() if(!steal_target) diff --git a/code/game/gamemodes/steal_items.dm b/code/game/gamemodes/steal_items.dm index f3e6ac5d09f..c74a0200a68 100644 --- a/code/game/gamemodes/steal_items.dm +++ b/code/game/gamemodes/steal_items.dm @@ -16,6 +16,8 @@ var/special_equipment = null /// If a steal objective has forbidden jobs, and the forbidden jobs would not be in the possession of this item, set this to false var/job_possession = TRUE + /// Any extra information about the objective + var/extra_information = "" /datum/theft_objective/proc/check_completion(datum/mind/owner) if(!owner.current) @@ -84,6 +86,7 @@ protected_jobs = list("Chief Engineer") altitems = list(/obj/item/photo) location_override = "the Chief Engineer's Office" + extra_information = "Obtaining a photograph of the blueprints is also an option." /datum/theft_objective/blueprints/check_special_completion(obj/item/I) if(istype(I, /obj/item/areaeditor/blueprints/ce))