Files
Yogstation/code/__DEFINES/~yogs_defines/is_helpers.dm
2018-08-25 21:08:47 +02:00

3 lines
281 B
Plaintext

#define is_thrall(M) (istype(M, /mob/living) && M.mind && M.mind.has_antag_datum(/datum/antagonist/thrall))
#define is_shadow(M) (istype(M, /mob/living) && M.mind && M.mind.has_antag_datum(/datum/antagonist/shadowling))
#define is_shadow_or_thrall(M) (is_thrall(M) || is_shadow(M))