Tracking Jamming! (#18868)

* Tracking Jamming!

Adds a new belly mode 'BLOCKS TRACKING' that blocks GPS and tracking implants!

Makes the location for tracking implants show up as 'E4R@4'

Blocks GPS signals entirely

Fixes a bug with the prisoner console that says 'no chemical implants found' for the tracking implant.

* Combined
This commit is contained in:
Cameron Lennox
2025-12-10 03:47:01 +01:00
committed by GitHub
parent c5e9b51a55
commit 5eb8dec5c1
7 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ GLOBAL_LIST_EMPTY(GPS_list)
. = ..()
/obj/item/gps/proc/can_track(var/obj/item/gps/other, var/reachable_z_levels)
if(!other.tracking || other.emped || other.hide_signal)
if(!other.tracking || other.emped || other.hide_signal || is_vore_jammed(other))
return FALSE
var/turf/origin = get_turf(src)
var/turf/target = get_turf(other)
@@ -125,8 +125,8 @@ GLOBAL_LIST_EMPTY(active_radio_jammers)
jam_range = 255
tick_cost = 0
/proc/is_vore_jammed(var/obj/radio)
var/atom/current = radio
///Checks to see if the clothing is in a belly that jams sensors or blocks tracking.
/proc/is_vore_jammed(atom/current)
while(current.loc)
if(isbelly(current.loc))
var/obj/belly/B = current.loc
@@ -80,7 +80,7 @@ Frequency:
src.temp += span_bold("Extraneous Signals:") + "<BR>"
for (var/obj/item/implant/tracking/W in GLOB.all_tracking_implants)
if (!W.implanted || !(istype(W.loc,/obj/item/organ/external) || ismob(W.loc) || W.malfunction))
if (!W.implanted || !(istype(W.loc,/obj/item/organ/external) || ismob(W.loc) || W.malfunction) || is_vore_jammed(W))
continue
var/turf/tr = get_turf(W)