Goonstation 13 - Modules - TypesDefine Details

_std/macros/ismob.dm

isobserverReturns true if the given x is an observer
isadminghostReturns true if the given x is an observer and an admin
islivingReturns true if the given x is a mob/living type
islivingobjectIs a possessed object
isnewplayerReturns true if x is a new player mob (what u r if ur in the lobby screen, usually)
issmokeimmuneReturns true if this mob immune to breathing in smoke?
ismiasmaimmuneReturns true if this mob immune to breathing in miasma
IS_LIVING_OBJECT_USING_SELFThis is for objects which have some sort of prerequisite for people to use them. Allows you to bypass those checks if the user is the possessed version of the object being interacted with

Define Details

IS_LIVING_OBJECT_USING_SELF

This is for objects which have some sort of prerequisite for people to use them. Allows you to bypass those checks if the user is the possessed version of the object being interacted with

isadminghost

Returns true if the given x is an observer and an admin

isliving

Returns true if the given x is a mob/living type

islivingobject

Is a possessed object

ismiasmaimmune

Returns true if this mob immune to breathing in miasma

isnewplayer

Returns true if x is a new player mob (what u r if ur in the lobby screen, usually)

isobserver

Returns true if the given x is an observer

issmokeimmune

Returns true if this mob immune to breathing in smoke?