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>
This commit is contained in:
tipoima
2024-07-02 05:19:34 +05:00
committed by GitHub
parent 47324d867f
commit d7ef7012a8
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -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)
+3
View File
@@ -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))