mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 10:03:45 +00:00
Fixes #3668, added detection for known implants to the med scanner
doesn't include explosive implants, etc.
This commit is contained in:
@@ -265,6 +265,25 @@
|
||||
if(!D.hidden[SCANNER])
|
||||
dat += text("<font color='red'><B>Warning: [D.form] Detected</B>\nName: [D.name].\nType: [D.spread].\nStage: [D.stage]/[D.max_stages].\nPossible Cure: [D.cure]</FONT><BR>")
|
||||
|
||||
var/implnts = ""
|
||||
for(var/obj/item/weapon/implant/I in occupant)
|
||||
if(I in occupant)
|
||||
if(I.implanted)
|
||||
if(istype(I, /obj/item/weapon/implant/death_alarm))
|
||||
implnts += "<font color='blue'>death alarm</font><br>"
|
||||
if(istype(I, /obj/item/weapon/implant/loyalty))
|
||||
implnts += "<font color='blue'>loyalty</font><br>"
|
||||
if(istype(I, /obj/item/weapon/implant/chem))
|
||||
implnts += "<font color='red'>chemical</font><br>"
|
||||
if(istype(I, /obj/item/weapon/implant/tracking))
|
||||
implnts += "<font color='red'>tracking</font><br>"
|
||||
|
||||
if(implnts)
|
||||
dat += "<br>"
|
||||
dat += "Detected implants: <br>"
|
||||
|
||||
dat += implnts
|
||||
|
||||
dat += "<HR><table border='1'>"
|
||||
dat += "<tr>"
|
||||
dat += "<th>Organ</th>"
|
||||
|
||||
Reference in New Issue
Block a user