mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user