mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
[MIRROR] Various crew tracking fixes (#3137)
* Various crew tracking fixes (#56591) Nanite Monitoring program now makes people trackable as if they have enabled their suit sensors, as stated in the program description. Now you can track people with Nanites Monitoring program using following devices: Crew pinpointer (arrow) Crew pinpointer - contractor version (arrow) Crew pinpointer (proximity) Lifeline radar (modular computers software) Also fixed multi-Z tracking for the first three devices. When the target is on different Z of the same station, it shows "?" icon. Also, the stationary crew monitor will now work properly on multi-Z stations. * Various crew tracking fixes Co-authored-by: Andrew <mt.forspam@gmail.com>
This commit is contained in:
@@ -241,13 +241,14 @@
|
||||
/datum/computer_file/program/radar/lifeline/trackable(mob/living/carbon/human/humanoid)
|
||||
if(!humanoid || !istype(humanoid))
|
||||
return FALSE
|
||||
if(..() && istype(humanoid.w_uniform, /obj/item/clothing/under))
|
||||
|
||||
var/obj/item/clothing/under/uniform = humanoid.w_uniform
|
||||
if(!uniform.has_sensor || (uniform.sensor_mode < SENSOR_COORDS)) // Suit sensors must be on maximum.
|
||||
return FALSE
|
||||
|
||||
return TRUE
|
||||
if(..())
|
||||
if (humanoid in GLOB.nanite_sensors_list)
|
||||
return TRUE
|
||||
if (istype(humanoid.w_uniform, /obj/item/clothing/under))
|
||||
var/obj/item/clothing/under/uniform = humanoid.w_uniform
|
||||
if(uniform.has_sensor && uniform.sensor_mode >= SENSOR_COORDS) // Suit sensors must be on maximum
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
////////////////////////
|
||||
//Nuke Disk Finder App//
|
||||
|
||||
Reference in New Issue
Block a user