Space Station 13 - Modules - Types — Var Details - Proc Details

mob

Vars

registered_zThe z level this mob is currently registered in
tgui_open_uisglobal

Procs

CanAvoidGravityUsed to determine whether or not a given mob can override gravity when attempting to Z-move UP.
GenerateTagGenerate the tag for this mob
_pointedpossibly delayed verb that finishes the pointing process starting in [/mob/verb/pointed()]. either called immediately or in the tick after pointed() was called, as per the [DEFAULT_QUEUE_OR_CALL_VERB()] macro
can_ztravelAn initial check for Z-level travel. Called relatively early in mob/proc/zMove.
chunkOnMoveMob tracking and handling
downVerb for the mob to move down a z-level if possible.
examinateExamine a mob
execute_modeproc version to finish /mob/verb/mode() execution. used in case the proc needs to be queued for the tick after its first called
get_status_tab_itemsAdds this list to the output to the stat browser
modeVerb to activate the object in your held hand
pointedPoint at an atom
set_see_in_darkSee In Dark Set Handling
set_see_invisibleSee Invisible Set Handling
set_sightSight Set Handling
shared_ui_interactionpublic
upVerb for the mob to move up a z-level if possible.
zMoveUsed to check if a mob can move up or down a Z-level and to then actually do the move.

Var Details

registered_z

The z level this mob is currently registered in

tgui_open_uis

global

Tracks open UIs for a user.

Proc Details

CanAvoidGravity

Used to determine whether or not a given mob can override gravity when attempting to Z-move UP.

Returns FALSE in standard mob cases. Exists for carbon/human and other child overrides.

@return TRUE if the mob can Z-move up despite gravity. FALSE otherwise.

GenerateTag

Generate the tag for this mob

This is simply "mob_"+ a global incrementing counter that goes up for every mob

_pointed

possibly delayed verb that finishes the pointing process starting in [/mob/verb/pointed()]. either called immediately or in the tick after pointed() was called, as per the [DEFAULT_QUEUE_OR_CALL_VERB()] macro

can_ztravel

An initial check for Z-level travel. Called relatively early in mob/proc/zMove.

Useful for overwriting and special conditions for STOPPING z-level transit.

@return TRUE if the mob can move a Z-level of its own volition. FALSE otherwise.

chunkOnMove

Mob tracking and handling

down

Verb for the mob to move down a z-level if possible.

examinate

Examine a mob

mob verbs are faster than object verbs. See this byond forum post for why this isn't atom/verb/examine()

execute_mode

proc version to finish /mob/verb/mode() execution. used in case the proc needs to be queued for the tick after its first called

get_status_tab_items

Adds this list to the output to the stat browser

mode

Verb to activate the object in your held hand

Calls attack self on the item and updates the inventory hud for hands

pointed

Point at an atom

mob verbs are faster than object verbs. See this byond forum post for why this isn't atom/verb/pointed()

note: ghosts can point, this is intended

visible_message will handle invisibility properly

overridden here and in /mob/dead/observer for different point span classes and sanity checks

set_see_in_dark

See In Dark Set Handling

set_see_invisible

See Invisible Set Handling

set_sight

Sight Set Handling

shared_ui_interaction

public

Standard interaction/sanity checks. Different mob types may have overrides.

return UI_state The state of the UI.

up

Verb for the mob to move up a z-level if possible.

zMove

Used to check if a mob can move up or down a Z-level and to then actually do the move.

@param direction The direction in which we're moving. Expects defines UP or DOWN.

@return TRUE if the mob has been successfully moved a Z-level. FALSE otherwise.