From b0e7174493f3916570a0eebcb5978b16a3405368 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:26:06 +0300 Subject: [PATCH] [MIRROR] Fixes quirk being examined when observing (#2740) * Fixes quirk being examined when observing * Update examine.dm --------- Co-authored-by: NovaBot <154629622+NovaBot13@users.noreply.github.com> Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com> Co-authored-by: Mal <13398309+vinylspiders@users.noreply.github.com> --- code/modules/mob/living/carbon/human/examine.dm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 072acd84acd..f68aabf7708 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -425,7 +425,7 @@ //NOVA EDIT ADDITION BEGIN - EXAMINE RECORDS if(target_record && length(target_record.past_medical_records) > RECORDS_INVISIBLE_THRESHOLD) . += "\[View medical records\]" - //NOVA EDIT ADDITION END + //NOVA EDIT ADDITION END - EXAMINE RECORDS if(HAS_TRAIT(user, TRAIT_SECURITY_HUD)) if((user.stat == CONSCIOUS || isobserver(user)) && user != src) @@ -454,9 +454,11 @@ if(target_record && length(target_record.past_general_records) > RECORDS_INVISIBLE_THRESHOLD) . += "\[View general records\]" - else if(isobserver(user)) - . += span_info("Quirks: [get_quirk_string(FALSE, CAT_QUIRK_ALL)]") + // NOVA EDIT ADDITION END - EXAMINE RECORDS + if(isobserver(user)) + . += span_info("\nQuirks: [get_quirk_string(FALSE, CAT_QUIRK_ALL)]") + // NOVA EDIT ADDITION START if(isobserver(user) || user.mind?.can_see_exploitables || user.mind?.has_exploitables_override) var/datum/record/crew/target_records = find_record(perpname) if(target_records) @@ -468,16 +470,13 @@ . += "\[View exploitable info\]" . += EXAMINE_SECTION_BREAK - //NOVA EDIT ADDITION END - //NOVA EDIT ADDITION BEGIN - GUNPOINT + if(gunpointing) . += "[t_He] [t_is] holding [gunpointing.target.name] at gunpoint with [gunpointing.aimed_gun.name]!\n" if(length(gunpointed)) for(var/datum/gunpoint/GP in gunpointed) . += "[GP.source.name] [GP.source.p_are()] holding [t_him] at gunpoint with [GP.aimed_gun.name]!\n" - //NOVA EDIT ADDITION END - //NOVA EDIT ADDITION BEGIN - CUSTOMIZATION for(var/genital in GLOB.possible_genitals) if(dna.species.mutant_bodyparts[genital]) var/datum/sprite_accessory/genital/G = GLOB.sprite_accessories[genital][dna.species.mutant_bodyparts[genital][MUTANT_INDEX_NAME]] @@ -518,8 +517,7 @@ if (!isnull(opt_in_status)) var/stringified_optin = GLOB.antag_opt_in_strings["[opt_in_status]"] . += span_info("Antag Opt-in Status: [stringified_optin]") - //NOVA EDIT ADDITION END - + // NOVA EDIT ADDITION END SEND_SIGNAL(src, COMSIG_ATOM_EXAMINE, user, .) /**