/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/status_effects.dm

STATUS_EFFECT_MULTIPLEif it allows multiple instances of the effect
STATUS_EFFECT_UNIQUEif it allows only one, preventing new instances
STATUS_EFFECT_REPLACEif it allows only one, but new instances replace
STATUS_EFFECT_REFRESHif it only allows one, and new instances just instead refresh the timer
STATUS_EFFECT_FAST_PROCESSProcessing flags - used to define the speed at which the status will work This is fast - 0.2s between ticks (I believe!)
STATUS_EFFECT_NORMAL_PROCESSThis is slower and better for more intensive status effects - 1s between ticks
CURSE_BLINDINGmakes the edges of the target's screen obscured
CURSE_SPAWNINGspawns creatures that attack the target only
CURSE_WASTINGcauses gradual damage
CURSE_GRASPINGhands reach out from the sides of the screen, doing damage and stunning if they hit the target
IGNORE_RESTRAINTSIf the incapacitated status effect will ignore a mob in restraints (handcuffs)
IGNORE_STASISIf the incapacitated status effect will ignore a mob in stasis (stasis beds)
IGNORE_GRABIf the incapacitated status effect will ignore a mob being agressively grabbed
MAX_FIRE_STACKSMaxamounts of fire stacks a mob can get
MOB_BIG_FIRE_STACK_THRESHOLDIf a mob has a higher threshold than this, the icon shown will be increased to the big fire icon.
become_blindCauses the mob to become blind via the passed source
cure_blindCures the mob's blindness from the passed source, removing blindness wholesale if no sources are left
is_blindIs the mob blind?
is_blind_fromIs the mob blind from the passed source or sources?
become_nearsightedCauses the mob to become nearsighted via the passed source
cure_nearsightedCures the mob's nearsightedness from the passed source, removing nearsighted wholesale if no sources are left
is_nearsightedIs the mob nearsighted?
is_nearsighted_fromIs the mob nearsigthed from the passed source or sources?

Define Details

CURSE_BLINDING

makes the edges of the target's screen obscured

CURSE_GRASPING

hands reach out from the sides of the screen, doing damage and stunning if they hit the target

CURSE_SPAWNING

spawns creatures that attack the target only

CURSE_WASTING

causes gradual damage

IGNORE_GRAB

If the incapacitated status effect will ignore a mob being agressively grabbed

IGNORE_RESTRAINTS

If the incapacitated status effect will ignore a mob in restraints (handcuffs)

IGNORE_STASIS

If the incapacitated status effect will ignore a mob in stasis (stasis beds)

MAX_FIRE_STACKS

Maxamounts of fire stacks a mob can get

MOB_BIG_FIRE_STACK_THRESHOLD

If a mob has a higher threshold than this, the icon shown will be increased to the big fire icon.

STATUS_EFFECT_FAST_PROCESS

Processing flags - used to define the speed at which the status will work This is fast - 0.2s between ticks (I believe!)

STATUS_EFFECT_MULTIPLE

if it allows multiple instances of the effect

STATUS_EFFECT_NORMAL_PROCESS

This is slower and better for more intensive status effects - 1s between ticks

STATUS_EFFECT_REFRESH

if it only allows one, and new instances just instead refresh the timer

STATUS_EFFECT_REPLACE

if it allows only one, but new instances replace

STATUS_EFFECT_UNIQUE

if it allows only one, preventing new instances

become_blind

Causes the mob to become blind via the passed source

become_nearsighted

Causes the mob to become nearsighted via the passed source

cure_blind

Cures the mob's blindness from the passed source, removing blindness wholesale if no sources are left

cure_nearsighted

Cures the mob's nearsightedness from the passed source, removing nearsighted wholesale if no sources are left

is_blind

Is the mob blind?

is_blind_from

Is the mob blind from the passed source or sources?

is_nearsighted

Is the mob nearsighted?

is_nearsighted_from

Is the mob nearsigthed from the passed source or sources?