Space Station 13 - Modules - TypesVar Details - Proc Details

carbon

Vars

active_allergiesReagents towards which there is an active allergy.

Procs

can_devourReturn FALSE if victim can't be devoured, DEVOUR_FAST if they can be devoured quickly, DEVOUR_SLOW for slow devour
custom_pain_emoteHandles displaying emotes for custom_pain(). Separated into its own proc to account for subtype overrides.
devourAttempt to devour victim
handle_allergyMain proc through which all other allergy procs are called; it is called by carbon/Life(). If adrenaline is in system, all active allergies will be stopped. Having inaprov (CE_STABLE) will prevent them from retriggering when adrenaline washes out.
run_allergy_symptomsProc called by handle_allergy, handles chemical effects and symptoms.
start_allergyThis starts an allergy. Dosage/drug are handled at check_allergy proc, if you call this proc directly you must do your own checks.
stop_allergyEnds allergies and unsets flag. Conditions handled at handle_allergy proc; if you call this directly do your own checks. If no severity supplied will end all allergies.
take_bloodBLOOD TRANSFERS
use_weaponProcesses stabbing eyes with any sharp items. Only works for normal sized or smaller items; if attacking eyes with a large sword will default to parent use_weapon and do a regular attack.

Var Details

active_allergies

Reagents towards which there is an active allergy.

Proc Details

can_devour

Return FALSE if victim can't be devoured, DEVOUR_FAST if they can be devoured quickly, DEVOUR_SLOW for slow devour

custom_pain_emote

Handles displaying emotes for custom_pain(). Separated into its own proc to account for subtype overrides.

devour

Attempt to devour victim

Returns TRUE on success, FALSE on failure

handle_allergy

Main proc through which all other allergy procs are called; it is called by carbon/Life(). If adrenaline is in system, all active allergies will be stopped. Having inaprov (CE_STABLE) will prevent them from retriggering when adrenaline washes out.

run_allergy_symptoms

Proc called by handle_allergy, handles chemical effects and symptoms.

start_allergy

This starts an allergy. Dosage/drug are handled at check_allergy proc, if you call this proc directly you must do your own checks.

stop_allergy

Ends allergies and unsets flag. Conditions handled at handle_allergy proc; if you call this directly do your own checks. If no severity supplied will end all allergies.

take_blood

BLOOD TRANSFERS

use_weapon

Processes stabbing eyes with any sharp items. Only works for normal sized or smaller items; if attacking eyes with a large sword will default to parent use_weapon and do a regular attack.