[MIRROR] Fixes body purist headrevs from getting mad at their implant by making them unaware of it [MDB IGNORE] (#20616)

* Fixes body purist headrevs from getting mad at their implant by making them unaware of it

* Update surgery.dm

---------

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-04-21 04:53:01 +02:00
committed by GitHub
parent 9a20271ee5
commit 8cb96fad58
7 changed files with 15 additions and 9 deletions
@@ -406,7 +406,11 @@
if(give_hud)
var/obj/item/organ/internal/cyberimp/eyes/hud/security/syndicate/S = new()
S.Insert(C)
to_chat(C, "Your eyes have been implanted with a cybernetic security HUD which will help you keep track of who is mindshield-implanted, and therefore unable to be recruited.")
if(C.get_quirk(/datum/quirk/body_purist))
to_chat(C, "Being a body purist, you would never accept cybernetic implants. Upon hearing this, your employers signed you up for a special program, which... for \
some odd reason, you just can't remember... either way, the program must have worked, because you have gained the ability to keep track of who is mindshield-implanted, and therefore unable to be recruited.")
else
to_chat(C, "Your eyes have been implanted with a cybernetic security HUD which will help you keep track of who is mindshield-implanted, and therefore unable to be recruited.")
/datum/team/revolution
name = "\improper Revolution"
@@ -415,7 +415,7 @@
if(HAS_TRAIT(user, TRAIT_MEDICAL_HUD))
var/cyberimp_detect
for(var/obj/item/organ/internal/cyberimp/CI in organs)
if(CI.status == ORGAN_ROBOTIC && !CI.syndicate_implant)
if(CI.status == ORGAN_ROBOTIC && !(CI.organ_flags & ORGAN_HIDDEN))
cyberimp_detect += "[!cyberimp_detect ? "[CI.get_examine_string(user)]" : ", [CI.get_examine_string(user)]"]"
if(cyberimp_detect)
. += "<span class='notice ml-1'>Detected cybernetic modifications:</span>"
+1 -1
View File
@@ -53,4 +53,4 @@
/obj/item/organ/internal/cyberimp/eyes/hud/security/syndicate
name = "Contraband Security HUD Implant"
desc = "A Cybersun Industries brand Security HUD Implant. These illicit cybernetic eye implants will display a security HUD over everything you see."
syndicate_implant = TRUE
organ_flags = ORGAN_SYNTHETIC | ORGAN_HIDDEN
@@ -7,7 +7,6 @@
organ_flags = ORGAN_SYNTHETIC
var/implant_color = "#FFFFFF"
var/implant_overlay
var/syndicate_implant = FALSE //Makes the implant invisible to health analyzers and medical HUDs.
/obj/item/organ/internal/cyberimp/New(mob/implanted_mob = null)
if(iscarbon(implanted_mob))