SS1984 - 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_PERMANENTUse in status effect "duration" to make it last forever
STATUS_EFFECT_NO_TICKUse in status effect "tick_interval" to prevent it from calling tick()
STATUS_EFFECT_AUTO_TICKUse in status effect "tick_interval" to guarantee that tick() gets called on every process()
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_WASTINGcauses gradual damage
CURSE_GRASPINGhands reach out from the sides of the screen, doing damage and stunning if they hit the target
STATUS_EFFECT_BANANA_POWERHealing effect upplied on gorillas from eating bananas.
STATUS_EFFECT_FLESHMENDRapid burn/brute/oxy/blood healing from the changeling ability
STATUS_EFFECT_SPEEDLEGSHandles changeling speed boost and chemical cost.
STATUS_EFFECT_PANACEAHandles changeling anatomic panacea ability effects.
STATUS_EFFECT_BLOOD_SWELLStun resistance and halved damage for gargantua vampires.
STATUS_EFFECT_BLOOD_RUSHSpeed boost for gargantua vampires.
STATUS_EFFECT_DRILL_PAYBACKSlight antistun and healing, along with visual effect. Works only in range of the vault, and for 30 seconds after it ends.
STATUS_EFFECT_UNBALANCEDPrevents you from automatically grabbing walls to stop moving in space.
STATUS_EFFECT_BURNT_WINGSWhether a moth's wings are burnt
STATUS_EFFECT_OFFERING_ITEMStatus effect given when someone uses the Give Item command to offer an item to another player.
STATUS_EFFECT_LEANINGMakes you lean on something
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?

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_WASTING

causes gradual damage

STATUS_EFFECT_AUTO_TICK

Use in status effect "tick_interval" to guarantee that tick() gets called on every process()

STATUS_EFFECT_BANANA_POWER

Healing effect upplied on gorillas from eating bananas.

STATUS_EFFECT_BLOOD_RUSH

Speed boost for gargantua vampires.

STATUS_EFFECT_BLOOD_SWELL

Stun resistance and halved damage for gargantua vampires.

STATUS_EFFECT_BURNT_WINGS

Whether a moth's wings are burnt

STATUS_EFFECT_DRILL_PAYBACK

Slight antistun and healing, along with visual effect. Works only in range of the vault, and for 30 seconds after it ends.

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_FLESHMEND

Rapid burn/brute/oxy/blood healing from the changeling ability

STATUS_EFFECT_LEANING

Makes you lean on something

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_NO_TICK

Use in status effect "tick_interval" to prevent it from calling tick()

STATUS_EFFECT_OFFERING_ITEM

Status effect given when someone uses the Give Item command to offer an item to another player.

STATUS_EFFECT_PANACEA

Handles changeling anatomic panacea ability effects.

STATUS_EFFECT_PERMANENT

Use in status effect "duration" to make it last forever

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_SPEEDLEGS

Handles changeling speed boost and chemical cost.

STATUS_EFFECT_UNBALANCED

Prevents you from automatically grabbing walls to stop moving in space.

STATUS_EFFECT_UNIQUE

if it allows only one, preventing new instances

become_blind

Causes the mob to become blind via the passed source

cure_blind

Cures the mob's blindness from the passed source, removing blindness 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?