byond - Modules - TypesVar Details - Proc Details

ability

Vars

ability_costThe cost of using this ability. Typically a plasma cost for xenos
cooldown_durationStandard cooldown for this ability
cooldown_timerthe actual cooldown timer
countdownCooldown map text holder
descIf you are going to add an explanation for an ability. don't use stats, give a very brief explanation of how to use it.
gamemode_flagsflags to restrict an ability to certain gamemode
keybind_flagsspecial behavior flags for how this ability is used
target_flagsany special flags for what this ability targets
use_state_flagsbypass use limitations checked by can_use_action()

Procs

action_cooldown_finishedchecks if the linked ability is on some cooldown. The action can still be activated by clicking the button
add_cooldownAdds a cooldown to this ability
clear_cooldownRemoves the cooldown
cooldown_remainingTime remaining on cooldown
get_cooldownReturns the cooldown timer
on_cooldown_finishoverride this for cooldown completion
on_xeno_upgradeAny changes when a xeno with this ability evolves
succeed_activateability cost override allows for actions/abilities to override the normal ability costs

Var Details

ability_cost

The cost of using this ability. Typically a plasma cost for xenos

cooldown_duration

Standard cooldown for this ability

cooldown_timer

the actual cooldown timer

countdown

Cooldown map text holder

desc

If you are going to add an explanation for an ability. don't use stats, give a very brief explanation of how to use it.

gamemode_flags

flags to restrict an ability to certain gamemode

keybind_flags

special behavior flags for how this ability is used

target_flags

any special flags for what this ability targets

use_state_flags

bypass use limitations checked by can_use_action()

Proc Details

action_cooldown_finished

checks if the linked ability is on some cooldown. The action can still be activated by clicking the button

add_cooldown

Adds a cooldown to this ability

clear_cooldown

Removes the cooldown

cooldown_remaining

Time remaining on cooldown

get_cooldown

Returns the cooldown timer

on_cooldown_finish

override this for cooldown completion

on_xeno_upgrade

Any changes when a xeno with this ability evolves

succeed_activate

ability cost override allows for actions/abilities to override the normal ability costs