/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/mobs.dm

BLOOD_REGEN_FACTORHow efficiently humans regenerate blood.
HUMAN_BODYBody type bitfields for allowed_animal_origin used to check compatible surgery body types (use NONE for no matching body type)
SHOCK_NOGLOVESFlags used by the flags parameter of electrocute act. Makes it so that the shock doesn't take gloves into account.
SHOCK_TESLAUsed when the shock is from a tesla bolt.
SHOCK_ILLUSIONUsed when an illusion shocks something. Makes the shock deal stamina damage and not trigger certain secondary effects.
SHOCK_NOSTUNThe shock doesn't stun.
INCORPOREAL_MOVE_BASICnormal movement, see: /mob/living/var/incorporeal_move
INCORPOREAL_MOVE_SHADOWleaves a trail of shadows
INCORPOREAL_MOVE_JAUNTis blocked by holy water/salt
EXAMINE_MORE_TIMEIf you examine the same atom twice in this timeframe, we call examine_more() instead of examine()
EYE_CONTACT_RANGEHow far away you can be to make eye contact with someone while examining
SWARMER_LIGHT_ONSwarmer flags
CAN_SUCCUMBReturns whether or not the given mob can succumb
STANDING_UPMob is standing up, usually associated with lying_angle value of 0.
LYING_DOWNMob is lying down, usually associated with lying_angle values of 90 or 270.
PIXEL_Y_OFFSET_LYINGHow much a mob's sprite should be moved when they're lying down
SPAWN_MEGAFAUNADefine for spawning megafauna instead of a mob for cave gen
SQUASHED_SHOULD_BE_DOWNSquash flags. For squashable element Whether or not the squashing requires the squashed mob to be lying down
SQUASHED_SHOULD_BE_GIBBEDWhether or not to gib when the squashed mob is moved over
THROW_MODE_DISABLEDThrow modes, defines whether or not to turn off throw mode after

Define Details

BLOOD_REGEN_FACTOR

How efficiently humans regenerate blood.

CAN_SUCCUMB

Returns whether or not the given mob can succumb

EXAMINE_MORE_TIME

If you examine the same atom twice in this timeframe, we call examine_more() instead of examine()

EYE_CONTACT_RANGE

How far away you can be to make eye contact with someone while examining

HUMAN_BODY

Body type bitfields for allowed_animal_origin used to check compatible surgery body types (use NONE for no matching body type)

INCORPOREAL_MOVE_BASIC

normal movement, see: /mob/living/var/incorporeal_move

INCORPOREAL_MOVE_JAUNT

is blocked by holy water/salt

INCORPOREAL_MOVE_SHADOW

leaves a trail of shadows

LYING_DOWN

Mob is lying down, usually associated with lying_angle values of 90 or 270.

PIXEL_Y_OFFSET_LYING

How much a mob's sprite should be moved when they're lying down

SHOCK_ILLUSION

Used when an illusion shocks something. Makes the shock deal stamina damage and not trigger certain secondary effects.

SHOCK_NOGLOVES

Flags used by the flags parameter of electrocute act. Makes it so that the shock doesn't take gloves into account.

SHOCK_NOSTUN

The shock doesn't stun.

SHOCK_TESLA

Used when the shock is from a tesla bolt.

SPAWN_MEGAFAUNA

Define for spawning megafauna instead of a mob for cave gen

SQUASHED_SHOULD_BE_DOWN

Squash flags. For squashable element Whether or not the squashing requires the squashed mob to be lying down

SQUASHED_SHOULD_BE_GIBBED

Whether or not to gib when the squashed mob is moved over

STANDING_UP

Mob is standing up, usually associated with lying_angle value of 0.

SWARMER_LIGHT_ON

Swarmer flags

THROW_MODE_DISABLED

Throw modes, defines whether or not to turn off throw mode after