mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 04:07:52 +01:00
[MIRROR] Add an implantable health scanner (#11655)
Co-authored-by: nesquik <24830358+lbnesquik@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
nesquik
Cameron Lennox
parent
5b908261f2
commit
74c8394c2d
@@ -101,3 +101,23 @@
|
||||
if(ishuman(owner))
|
||||
var/mob/living/carbon/human/H = owner
|
||||
H.add_modifier(/datum/modifier/sprinting, 1 MINUTES)
|
||||
|
||||
/obj/item/organ/internal/augment/bioaugment/health_scan
|
||||
name = "health scanner implant"
|
||||
desc = "A small, rounded metallic implant with a passive spectrometer, meant to scan blood passing it by."
|
||||
|
||||
organ_tag = O_AUG_PELVIC
|
||||
|
||||
parent_organ = BP_GROIN
|
||||
|
||||
target_parent_classes = list(ORGAN_FLESH, ORGAN_ROBOT)
|
||||
var/obj/item/healthanalyzer/med_analyzer = null
|
||||
|
||||
/obj/item/organ/internal/augment/bioaugment/health_scan/Initialize(mapload)
|
||||
. = ..()
|
||||
med_analyzer = new /obj/item/healthanalyzer/advanced
|
||||
|
||||
/obj/item/organ/internal/augment/bioaugment/health_scan/augment_action()
|
||||
if(!owner)
|
||||
return
|
||||
med_analyzer.scan_mob(owner,owner)
|
||||
|
||||
Reference in New Issue
Block a user