mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-15 02:03:48 +01:00
Merge pull request #10269 from Heroman3003/jam-them-sensors
Adds Jams Sensors belly mode addon
This commit is contained in:
committed by
Chompstation Bot
parent
b5566ff403
commit
ff41a0fc27
@@ -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
|
||||
Reference in New Issue
Block a user