carbon

Vars | |
analgesic | when this is set, the mob isn't affected by shock or pain. life should decrease this by 1 every tick |
---|---|
breath_failing | Tracks whether our most recent breath has failed, for messages and HUD feedback. |
dream_amounts | amount of dreams left to go |
drunkenness | Overall drunkenness - check handle_status_effects() in life.dm for effects |
gib_chance | % Chance of exploding on death, incremented by total damage taken if not initially zero. |
handcuffed | Whether or not the mob is handcuffed |
life_tick | The amount of life ticks that have processed on this mob. |
losebreath | Causes breathing to fail and generate oxyloss instead of recover it, even outside crit. |
mob_abilities | list of abilities this mob has access to |
overlays_standing | carbon overlay layers |
selected_ability | Currently selected ability |
species | Contains icon generation and language information, set during New(). |
Procs | |
add_ability | adds an ability to the mob |
deduct_ability_cost | deducts the cost of using an ability |
do_give | Look for a nearby human to give the held item, and ask him if he wants it |
get_damaged_organ | Return the most damaged internal_organ that isn't at 0, or null. |
give_signal_handler | Signal handler for give keybind |
grabbed_self_attack | Handles when the player clicks on themself with the grab item |
inject_blood | BLOOD TRANSFERS |
on_crit | called just after this mob goes unconscious due to taking too much dmg |
remove_ability | Removes an ability from a mob |
replace_by_ai | Kick the player from this mob, replace it by a more competent ai |
update_handcuffed | called when we get cuffed/uncuffed |
update_transform | IMPORTANT: Multiple animate() calls do not stack well, so try to do them all at once if you can. |
wear_mask_update | Updates the mask slot icon |
Var Details
analgesic

when this is set, the mob isn't affected by shock or pain. life should decrease this by 1 every tick
breath_failing

Tracks whether our most recent breath has failed, for messages and HUD feedback.
dream_amounts

amount of dreams left to go
drunkenness

Overall drunkenness - check handle_status_effects() in life.dm for effects
gib_chance

% Chance of exploding on death, incremented by total damage taken if not initially zero.
handcuffed

Whether or not the mob is handcuffed
life_tick

The amount of life ticks that have processed on this mob.
losebreath

Causes breathing to fail and generate oxyloss instead of recover it, even outside crit.
mob_abilities

list of abilities this mob has access to
overlays_standing

carbon overlay layers
selected_ability

Currently selected ability
species

Contains icon generation and language information, set during New().
Proc Details
add_ability
adds an ability to the mob
deduct_ability_cost
deducts the cost of using an ability
do_give
Look for a nearby human to give the held item, and ask him if he wants it
get_damaged_organ
Return the most damaged internal_organ that isn't at 0, or null.
give_signal_handler
Signal handler for give keybind
grabbed_self_attack
Handles when the player clicks on themself with the grab item
inject_blood
BLOOD TRANSFERS
on_crit
called just after this mob goes unconscious due to taking too much dmg
remove_ability
Removes an ability from a mob
replace_by_ai
Kick the player from this mob, replace it by a more competent ai
update_handcuffed
called when we get cuffed/uncuffed
update_transform
IMPORTANT: Multiple animate() calls do not stack well, so try to do them all at once if you can.
wear_mask_update
Updates the mask slot icon