Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

mob

Vars

_a_intentDecl for current 'intent' of mob; hurt, harm, etc. Initialized by get_intent().
_automove_targetSimple general-use reference for mob automoves. May be unused or replaced on subtypes.
is_typingWhether this mob is currently typing, if piloted by a player.
lighting_masterUsed for darksight, required on all mobs to ensure lighting renders properly.
typing_indicatorIf this mob is or was piloted by a player with typing indicators enabled, an instance of one.

Procs

AdjustMovementDirectionThis proc adjusts movement direction for mobs with STAT_CONFUSE.
ShowMemoriesVerbs
add_to_living_mob_listLife Handling
get_accessible_penTries to find a readily accessible pen in the user's held items, and in some of its inventory slots. Shouldn't search recursively.
get_automove_delayCalled by get_movement_delay() to override the current move intent, in cases where an automove has a delay override.
get_trait_dataShows show_to a browser window describing the character setup traits taken by src. show_to must be non-null.
handle_autopunctuationAdds punctuation to an emote or speech message automatically.
has_danger_grabChecks if the target has a grab from the user
item_should_have_screen_presenceIf this proc returns false, reconsider_client_screen_presence will set the item's screen_loc to null.
remove_bloodRemoves amt units of blood from src, if it has blood. If absolute is FALSE, rescale amt according to mob size. Returns the amount of blood removed.
set_see_in_darkSee In Dark Set Handling
set_see_invisibleSee Invisible Set Handling
set_sightSight Set Handling
update_healthReturns TRUE if updates should happen, FALSE if not.
update_mouse_pointerUpdate the mouse pointer of the attached client in this mob.

Var Details

_a_intent

Decl for current 'intent' of mob; hurt, harm, etc. Initialized by get_intent().

_automove_target

Simple general-use reference for mob automoves. May be unused or replaced on subtypes.

is_typing

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

lighting_master

Used for darksight, required on all mobs to ensure lighting renders properly.

typing_indicator

If this mob is or was piloted by a player with typing indicators enabled, an instance of one.

Proc Details

AdjustMovementDirection

This proc adjusts movement direction for mobs with STAT_CONFUSE.

Returns a direction, randomly adjusted if the mob had STAT_CONFUSE.

Arguments:

ShowMemories

Verbs

add_to_living_mob_list

Life Handling

get_accessible_pen

Tries to find a readily accessible pen in the user's held items, and in some of its inventory slots. Shouldn't search recursively.

get_automove_delay

Called by get_movement_delay() to override the current move intent, in cases where an automove has a delay override.

get_trait_data

Shows show_to a browser window describing the character setup traits taken by src. show_to must be non-null.

handle_autopunctuation

Adds punctuation to an emote or speech message automatically.

has_danger_grab

Checks if the target has a grab from the user

item_should_have_screen_presence

If this proc returns false, reconsider_client_screen_presence will set the item's screen_loc to null.

remove_blood

Removes amt units of blood from src, if it has blood. If absolute is FALSE, rescale amt according to mob size. Returns the amount of blood removed.

set_see_in_dark

See In Dark Set Handling

set_see_invisible

See Invisible Set Handling

set_sight

Sight Set Handling

update_health

Returns TRUE if updates should happen, FALSE if not.

update_mouse_pointer

Update the mouse pointer of the attached client in this mob.