mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Refactors to be more specific to its purpose.
This commit is contained in:
@@ -13,11 +13,6 @@ var/global/list/active_radio_jammers = list()
|
||||
if(dist <= J.jam_range)
|
||||
return list("jammer" = J, "distance" = dist)
|
||||
|
||||
//VOREStation Addition Start
|
||||
if(is_vore_jammed(radio))
|
||||
return TRUE
|
||||
//VOREStation Addition End
|
||||
|
||||
/obj/item/device/radio_jammer
|
||||
name = "subspace jammer"
|
||||
desc = "Primarily for blocking subspace communications, preventing the use of headsets, PDAs, and communicators. Also masks suit sensors." // Added suit sensor jamming
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
while(current.loc)
|
||||
if(isbelly(current.loc))
|
||||
var/obj/belly/B = current.loc
|
||||
if((istype(current, /obj/item/clothing/under)) && (B.mode_flags & DM_FLAG_JAMSENSORS))
|
||||
if(B.mode_flags & DM_FLAG_JAMSENSORS)
|
||||
return TRUE
|
||||
current = current.loc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user