Goonstation 13 - Modules - TypesDefine Details

_std/defines/abilities.dm

CAST_ATTEMPT_SUCCESSCast was successful, deduct points, modify cooldowns, etc
CAST_ATTEMPT_FAIL_CAST_FAILURE
CAST_ATTEMPT_FAIL_DO_COOLDOWNCast failed, but we want to put it on cooldown. This is the only return which will cause a cooldown.
CAST_ATTEMPT_FAIL_NO_COOLDOWNCast failed for some reason, we don't want to start the cooldown
ABILITY_AREA_CHECK_ALL_RESTRICTED_ZCannot cast on restricted Z levels (mostly Z2 and Z4)
ABILITY_AREA_CHECK_VR_ONLYCannot cast in VR

Define Details

ABILITY_AREA_CHECK_ALL_RESTRICTED_Z

Cannot cast on restricted Z levels (mostly Z2 and Z4)

ABILITY_AREA_CHECK_VR_ONLY

Cannot cast in VR

CAST_ATTEMPT_FAIL_CAST_FAILURE

CAST_ATTEMPT_FAIL_DO_COOLDOWN

Cast failed, but we want to put it on cooldown. This is the only return which will cause a cooldown.

CAST_ATTEMPT_FAIL_NO_COOLDOWN

Cast failed for some reason, we don't want to start the cooldown

CAST_ATTEMPT_SUCCESS

Cast was successful, deduct points, modify cooldowns, etc