mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user