byond - Modules - TypesVar Details - Proc Details

status_effect

Vars

alert_typethe alert thrown by the status effect, contains name and description
durationHow long the status effect lasts in DECISECONDS. Enter -1 for an effect that never ends unless removed through some means
examine_textIf defined, this text will appear when the mob is examined - to use he, she etc. use "SUBJECTPRONOUN" and replace it in the examines themselves
idUsed for screen alerts
linked_alertthe alert itself, if it exists
ownerThe mob affected by the status effect.
status_typeHow many of the effect can be on one mob, and what happens when you try to add another
tick_intervalHow many deciseconds between ticks, approximately. Leave at 10 for every second

Procs

check_durationUse this for manually checking if the effect should've ended, when FASTPROCESSING just isn't fast enough
nextmove_modifierclickdelay/nextmove modifiers!
refreshRefreshed the duration
tickCalled every tick

Var Details

alert_type

the alert thrown by the status effect, contains name and description

duration

How long the status effect lasts in DECISECONDS. Enter -1 for an effect that never ends unless removed through some means

examine_text

If defined, this text will appear when the mob is examined - to use he, she etc. use "SUBJECTPRONOUN" and replace it in the examines themselves

id

Used for screen alerts

linked_alert

the alert itself, if it exists

owner

The mob affected by the status effect.

status_type

How many of the effect can be on one mob, and what happens when you try to add another

tick_interval

How many deciseconds between ticks, approximately. Leave at 10 for every second

Proc Details

check_duration

Use this for manually checking if the effect should've ended, when FASTPROCESSING just isn't fast enough

nextmove_modifier

clickdelay/nextmove modifiers!

refresh

Refreshed the duration

tick

Called every tick