carbon
Vars | |
handcuffed | Whether or not the mob is handcuffed, restraints/handcuffs/ required for var/cuffed_state |
---|---|
internal_organ_datums | An associated list of strings that associate it with the organ datum, e.g. [ORGAN_DATUM_HEART] = /datum/organ/heart |
legcuffed | Same as handcuffs but for legs. Bear traps use this. |
Procs | |
can_feel_pain | Whether or not a mob can feel pain. |
dream | DREAMS |
electrocute_act | Adds to the parent by also adding functionality to propagate shocks through pulling and doing some fluff effects. |
examine_damage_flavor | Add specific damage flavor here. |
examine_extra_damage_flavor | Add any extra info which should be within the "damage" block, the big warning span. |
examine_extra_general_flavor | Add some last information in before HUDs get put through. |
examine_handle_individual_limb | Special handlers for processing limbs go here, based on limb names in examine_visible_clothing. |
examine_start_damage_block | Add whatever you want to start the damage block with here. |
examine_visible_clothing | Get the message parts, in order, for a proper examine. Message parts should be as follows: |
examine_what_am_i | Identify what this mob in particular is. |
has_virus | Whether a virus worthy displaying on the HUD is present. |
is_in_crit | Medical HUD! Basic mode needs suit sensors on. Whether the carbon mob is currently in crit. |
pat_out | Handles patting out a fire on someone. |
secondary_shock | Called slightly after electrocute act to reduce jittering and apply a secondary knockdown. |
toggle_give | Toggles the /datum/click_intercept/give on or off for the src mob. |
update_suit_sensors | HOOKS |
Var Details
handcuffed
Whether or not the mob is handcuffed, restraints/handcuffs/ required for var/cuffed_state
internal_organ_datums
An associated list of strings that associate it with the organ datum, e.g. [ORGAN_DATUM_HEART] = /datum/organ/heart
legcuffed
Same as handcuffs but for legs. Bear traps use this.
Proc Details
can_feel_pain
Whether or not a mob can feel pain.
Returns TRUE if the mob can feel pain, FALSE otherwise
dream
DREAMS
electrocute_act
Adds to the parent by also adding functionality to propagate shocks through pulling and doing some fluff effects.
examine_damage_flavor
Add specific damage flavor here.
examine_extra_damage_flavor
Add any extra info which should be within the "damage" block, the big warning span.
examine_extra_general_flavor
Add some last information in before HUDs get put through.
examine_handle_individual_limb
Special handlers for processing limbs go here, based on limb names in examine_visible_clothing.
examine_start_damage_block
Add whatever you want to start the damage block with here.
examine_visible_clothing
Get the message parts, in order, for a proper examine. Message parts should be as follows:
- Pronoun/intro for how they've got it on them
- The item itself
- Preposition for where it is
- the location it's in
Arguments represent whether to skip a certain slot when handling the message.
examine_what_am_i
Identify what this mob in particular is.
has_virus
Whether a virus worthy displaying on the HUD is present.
is_in_crit
Medical HUD! Basic mode needs suit sensors on. Whether the carbon mob is currently in crit.
pat_out
Handles patting out a fire on someone.
Removes 0.5 fire stacks per pat, with a 30% chance of the user burning their hand if they don't have adequate heat resistance. Arguments:
- src - The mob doing the patting
- target - The mob who is currently on fire
secondary_shock
Called slightly after electrocute act to reduce jittering and apply a secondary knockdown.
toggle_give
Toggles the /datum/click_intercept/give on or off for the src mob.
update_suit_sensors
HOOKS