living 
Vars | |
| can_be_buckled | Whether or not the mob can be buckled to things. |
|---|---|
| ignore_hazard_flags | Some combination of HAZARD_FLAG_*. When set, the flagged hazard types will not damage the mob. |
| is_typing | Whether this mob is currently typing, if piloted by a player. |
| jumping | For leaping and vaulting |
| next_allergy_time | Integer. The world.time the next allergy message should be displayed to src. Does not affect any other allergy symptoms. |
| trait_flags | Flags set by traits triggering behavior; currently used for allergies. |
| traits | An associative list of /singleton/trait and trait level - See individual traits for valid levels |
| typing_indicator | If this mob is or was piloted by a player with typing indicators enabled, an instance of one. |
| weather_sensitive | Should this mob subscribe to the weather system for periodic weather effects? |
Procs | |
| add_to_dead_mob_list | Death Handling |
| aura_check | Checks the mob for auras and interactions of the given type. |
| get_AI_stance | Helper proc to check for the AI's stance. Returns null if there's no AI holder, or the mob has a player and autopilot is not on. Otherwise returns the stance. |
| get_audible_default_language | Returns the current default lanauge if it's audible (excludes SIGNLANG, NONVERBAL, HIVEMIND) |
| 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. |
| has_AI | Similar to get_ai_stance() but only returns 1 or 0. |
| hit_with_weapon | Called when the mob is hit with an item in combat. Returns the blocked result |
| holster_verb | Verb to handle quick-holstering an item in the mob's active hand, or retrieving an item from this atom's holster extension. |
| is_AI_busy | Set an AI's busy status. Stops the mob from performing any actions while true. |
| set_AI_busy | Helper proc to turn AI 'busy' mode on or off without having to check if there is an AI, to simplify writing code. |
| set_stat | Stat Handling |
| taunt | 'Taunts' the AI into attacking the taunter. |
Var Details
can_be_buckled 
Whether or not the mob can be buckled to things.
ignore_hazard_flags 
Some combination of HAZARD_FLAG_*. When set, the flagged hazard types will not damage the mob.
is_typing 
Whether this mob is currently typing, if piloted by a player.
jumping 
For leaping and vaulting
next_allergy_time 
Integer. The world.time the next allergy message should be displayed to src. Does not affect any other allergy symptoms.
trait_flags 
Flags set by traits triggering behavior; currently used for allergies.
traits 
An associative list of /singleton/trait and trait level - See individual traits for valid levels
typing_indicator 
If this mob is or was piloted by a player with typing indicators enabled, an instance of one.
weather_sensitive 
Should this mob subscribe to the weather system for periodic weather effects?
Proc Details
add_to_dead_mob_list
Death Handling
aura_check
Checks the mob for auras and interactions of the given type.
Calls one of the aura_check_* procs for each aura in the mobs auras list, based on type provided.
All parameters after type are passed on to the called proc.
Parameters:
type(String - One ofAURA_TYPE_*) - The type of check to be performed any any found auras.- Additional parameters depend on aura type:
AURA_TYPE_WEAPON (obj/item/weapon, mob/user, click_params):weapon- The item used to attack/interact with the mob.attacker- The mob performing the attack/interaction.click_params- List of click parameters.
AURA_TYPE_BULLET (obj/item/projectile/proj, def_zone):proj- Projectile impacting the mob.def_zone- Impacted body part target zone.
AURA_TYPE_THROWN (atom/movable/thrown_atom, datum/thrownthing/thrown_datum):thrown_atom- Atom impacting the mob.thrown_datum- thrownthing datum instance for the throw chain.
AURA_TYPE_LIFE(No additional parameters)
Returns boolean - TRUE if no auras were found or if no auras passed AURA_FALSE in their checks.
Generally, a FALSE return value means the aura blocks further interaction.
get_AI_stance
Helper proc to check for the AI's stance. Returns null if there's no AI holder, or the mob has a player and autopilot is not on. Otherwise returns the stance.
get_audible_default_language
Returns the current default lanauge if it's audible (excludes SIGNLANG, NONVERBAL, HIVEMIND)
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.
has_AI
Similar to get_ai_stance() but only returns 1 or 0.
hit_with_weapon
Called when the mob is hit with an item in combat. Returns the blocked result
holster_verb
Verb to handle quick-holstering an item in the mob's active hand, or retrieving an item from this atom's holster extension.
is_AI_busy
Set an AI's busy status. Stops the mob from performing any actions while true.
set_AI_busy
Helper proc to turn AI 'busy' mode on or off without having to check if there is an AI, to simplify writing code.
set_stat
Stat Handling
taunt
'Taunts' the AI into attacking the taunter.