Forensics Datum (#17796)

* forensics datum initial work

* typo fix

* glove recursion fix

* missing bloodtype on organ data

* removed frustrating and unneeded b_type var from humans

* no leaky

* listcheck

* documenting

* documentation
This commit is contained in:
Will
2025-06-05 23:30:11 -07:00
committed by GitHub
parent be6680da62
commit ae718f07e3
62 changed files with 603 additions and 400 deletions
@@ -84,7 +84,7 @@
playsound(src, 'sound/weapons/empty.ogg', 50, 1)
add_fingerprint(user)
if(blood_overlay && blood_DNA && (blood_DNA.len >= 1)) //updates blood overlay, if any
if(blood_overlay && forensic_data?.has_blooddna()) //updates blood overlay, if any
cut_overlays()
var/icon/I = new /icon(src.icon, src.icon_state)
@@ -395,8 +395,8 @@ var/list/global/tank_gauge_cache = list()
if(pressure > TANK_FRAGMENT_PRESSURE)
if(integrity <= 7)
if(!istype(src.loc,/obj/item/transfer_valve))
message_admins("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast].")
log_game("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast].")
message_admins("Explosive tank rupture! last key to touch the tank was [forensic_data?.get_lastprint()].")
log_game("Explosive tank rupture! last key to touch the tank was [forensic_data?.get_lastprint()].")
//Give the gas a chance to build up more pressure through reacting
air_contents.react()