/mob
Vars | |
active_thinking_indicator | the icon currently used for the thinking indicator's bubble |
---|---|
active_typing_indicator | the icon currently used for the typing indicator's bubble |
blinded | bool that tracks if blind |
client_color_matrices | Colour matrices to be applied to the client window. Assoc. list. |
emotes_used | Used for tracking last uses of emotes for cooldown purposes |
eye_blind | timer for blinding |
eye_blurry | Does the mob have blurry sight |
fire_delay_next_fire | An assoc list where the keys are fire delay group string defines and the keys are when the guns of the group can be fired again |
listed_turf | the current turf being examined in the stat panel |
luminosity_sources | List of active luminosity sources for handling of light stacking |
mob_language_menu | the mob's tgui player panel |
mob_panel | the mob's tgui player panel |
next_click | 1 decisecond click delay (above and beyond mob/next_move) |
persistent_ckey | a ckey that persists client logout / ghosting, replaced when a client inhabits the mob |
sound_environment_override | Override for sound_environments. If this is set the user will always hear a specific type of reverb (Instead of the area defined reverb) |
tgui_open_uis | global |
thinking_IC | User is thinking in character. Used to revert to thinking state after stop_typing |
Procs | |
Process_Spacemove | Process_Spacemove Called by /client/Move() For moving in space Return 1 for movement 0 for none |
add_client_color_matrix | Adds a color matrix and updates the client. Priority is the order the matrices are applied, lowest first. Will replace an existing matrix of the same name, if one exists. |
add_to_all_mob_huds | MOB PROCS //////////////////////////////: |
change_client_color_matrix_priority | Changes a matrix package's priority and updates client. |
check_improved_pointing | Is this mob important enough to point with big arrows? |
clear_client_color_matrices | Removes all matrices and updates client. |
create_thinking_indicator | Creates a thinking indicator over the mob. |
create_typing_indicator | Creates a typing indicator over the mob. |
examinate | Examine a mob |
freeze | Sets freeze if possible and wasn't already set, returning success |
get_client_color_matrix | Returns the matrix of that name, if it exists. |
get_status_tab_items | Adds this list to the output to the stat browser |
manual_emote | Allows the intrepid coder to send a basic emote Takes text as input, sends it out to those who need to know after some light parsing If you need something more complex, make it into a datum emote Arguments: |
play_screen_text | proc for playing a screen_text on a mob. enqueues it if a screen text is running and plays i otherwise Arguments: |
remove_all_indicators | Removes any indicators and marks the mob as not speaking IC. |
remove_client_color_matrix | Can take either a single name or a list of several. Attempts to remove target matrix packages and update client. |
remove_thinking_indicator | Removes the thinking indicator over the mob. |
remove_typing_indicator | Removes the typing indicator over the mob. |
shared_ui_interaction | public |
sync_lighting_plane_alpha | Set the lighting plane hud alpha to the mobs lighting_alpha var |
timed_typing | Sets typing indicator for a couple seconds, for use with client-side comm verbs |
timed_typing_clear | Clears timed typing indicators |
unfreeze | Attempts to unfreeze mob, returning success |
update_Login_details | Handles setting lastKnownIP and computer_id for use by the ban systems |
update_client_color_matrices | Combines all color matrices and applies them to the client. Also used on login to give a client its new body's color matrices. Responsible for sorting the matrices. Transition is animated but instant by default. |
update_eye_blur | Apply the blurry overlays to a mobs clients screen |
Var Details
active_thinking_indicator
the icon currently used for the thinking indicator's bubble
active_typing_indicator
the icon currently used for the typing indicator's bubble
blinded
bool that tracks if blind
client_color_matrices
Colour matrices to be applied to the client window. Assoc. list.
emotes_used
Used for tracking last uses of emotes for cooldown purposes
eye_blind
timer for blinding
eye_blurry
Does the mob have blurry sight
fire_delay_next_fire
An assoc list where the keys are fire delay group string defines and the keys are when the guns of the group can be fired again
listed_turf
the current turf being examined in the stat panel
luminosity_sources
List of active luminosity sources for handling of light stacking
mob_language_menu
the mob's tgui player panel
mob_panel
the mob's tgui player panel
next_click
1 decisecond click delay (above and beyond mob/next_move)
persistent_ckey
a ckey that persists client logout / ghosting, replaced when a client inhabits the mob
sound_environment_override
Override for sound_environments. If this is set the user will always hear a specific type of reverb (Instead of the area defined reverb)
tgui_open_uis
global
Tracks open UIs for a user.
thinking_IC
User is thinking in character. Used to revert to thinking state after stop_typing
Proc Details
Process_Spacemove
Process_Spacemove Called by /client/Move() For moving in space Return 1 for movement 0 for none
add_client_color_matrix
Adds a color matrix and updates the client. Priority is the order the matrices are applied, lowest first. Will replace an existing matrix of the same name, if one exists.
add_to_all_mob_huds
MOB PROCS //////////////////////////////:
change_client_color_matrix_priority
Changes a matrix package's priority and updates client.
check_improved_pointing
Is this mob important enough to point with big arrows?
clear_client_color_matrices
Removes all matrices and updates client.
create_thinking_indicator
Creates a thinking indicator over the mob.
create_typing_indicator
Creates a typing indicator over the mob.
examinate
Examine a mob
mob verbs are faster than object verbs. See this byond forum post for why this isn't atom/verb/examine()
freeze
Sets freeze if possible and wasn't already set, returning success
get_client_color_matrix
Returns the matrix of that name, if it exists.
get_status_tab_items
Adds this list to the output to the stat browser
manual_emote
Allows the intrepid coder to send a basic emote Takes text as input, sends it out to those who need to know after some light parsing If you need something more complex, make it into a datum emote Arguments:
- text - The text to send out
Returns TRUE if it was able to run the emote, FALSE otherwise.
play_screen_text
proc for playing a screen_text on a mob. enqueues it if a screen text is running and plays i otherwise Arguments:
- text: text we want to be displayed
- alert_type: typepath for screen text type we want to play here
remove_all_indicators
Removes any indicators and marks the mob as not speaking IC.
remove_client_color_matrix
Can take either a single name or a list of several. Attempts to remove target matrix packages and update client.
remove_thinking_indicator
Removes the thinking indicator over the mob.
remove_typing_indicator
Removes the typing indicator over the mob.
shared_ui_interaction
public
Standard interaction/sanity checks. Different mob types may have overrides.
return UI_state The state of the UI.
sync_lighting_plane_alpha
Set the lighting plane hud alpha to the mobs lighting_alpha var
timed_typing
Sets typing indicator for a couple seconds, for use with client-side comm verbs
timed_typing_clear
Clears timed typing indicators
unfreeze
Attempts to unfreeze mob, returning success
update_Login_details
Handles setting lastKnownIP and computer_id for use by the ban systems
update_client_color_matrices
Combines all color matrices and applies them to the client. Also used on login to give a client its new body's color matrices. Responsible for sorting the matrices. Transition is animated but instant by default.
update_eye_blur
Apply the blurry overlays to a mobs clients screen