Space Station 13 - Modules - TypesVar Details - Proc Details

living

Vars

can_be_buckledWhether or not the mob can be buckled to things.
is_typingWhether this mob is currently typing, if piloted by a player.
jumpingFor leaping and vaulting
traitsAn associative list of /singleton/trait and trait level - See individual traits for valid levels
typing_indicatorIf this mob is or was piloted by a player with typing indicators enabled, an instance of one.

Procs

add_to_dead_mob_listDeath Handling
aura_checkChecks the mob for auras and interactions of the given type.
can_centcom_replynew ban stuff new ban stuff WARNING!** The jobban stuff looks mangled and disgusting But it looks beautiful in-game -Nodrak **WARNING!
get_AI_stanceHelper 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.
has_AISimilar to get_ai_stance() but only returns 1 or 0.
hit_with_weaponCalled when the mob is hit with an item in combat. Returns the blocked result
holster_verbVerb to handle quick-holstering an item in the mob's active hand, or retrieving an item from this atom's holster extension.
is_AI_busySet an AI's busy status. Stops the mob from performing any actions while true.
set_AI_busyHelper proc to turn AI 'busy' mode on or off without having to check if there is an AI, to simplify writing code.
set_statStat Handling
taunt'Taunts' the AI into attacking the taunter.

Var Details

can_be_buckled

Whether or not the mob can be buckled to things.

is_typing

Whether this mob is currently typing, if piloted by a player.

jumping

For leaping and vaulting

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.

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:

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.

can_centcom_reply

new ban stuff new ban stuff WARNING!** The jobban stuff looks mangled and disgusting But it looks beautiful in-game -Nodrak **WARNING!

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.

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.