Merge pull request #10269 from Heroman3003/jam-them-sensors

Adds Jams Sensors belly mode addon
This commit is contained in:
Novacat
2021-05-09 08:54:35 -04:00
committed by Chompstation Bot
parent b5566ff403
commit ff41a0fc27
4 changed files with 14 additions and 2 deletions
@@ -2,3 +2,14 @@
/obj/item/device/radio_jammer/admin
jam_range = 255
tick_cost = 0
/proc/is_vore_jammed(var/obj/radio)
var/atom/current = radio
while(current.loc)
if(isbelly(current.loc))
var/obj/belly/B = current.loc
if(B.mode_flags & DM_FLAG_JAMSENSORS)
return TRUE
current = current.loc
return FALSE