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

movable

Virtual Mob Creation

Vars

bound_overlayThe mimic (if any) that's directly copying us.
z_flagsMovable-level Z-Mimic flags. This uses ZMM_* flags, not ZM_* flags.

Procs

animate_filterAnimate a given filter on this atom. All params after the first are passed to animate().
can_do_automated_moveGeneralized entrypoint for checking CanMove and such on /mob.
dropIntoAttempt to drop this atom onto the destination.
failed_automoveCalled by SSautomove when an atom fails to move in circumstances where it would like to. As with finished_automove, does not imply unregistering from SSautomove.
finished_automoveCalled when an atom is within the acceptable parameters for not moving further (ideal range). Does not necessarily imply the atom has unregistered (see stop_automove()).
get_acceptable_automove_distance_from_targetUsed by some mobs to vary the acceptable distance from target when automoving.
get_automove_targetShould return a reference to the current atom target.
keybind_face_directionA wrapper for setDir that should only be able to fail by living mobs.
start_automoveRegisters an atom with SSautomove, including a move handler and metadata. Moving will begin next tick.
stop_automoveCancels automoving and unregisters the atom from the subsystem, including the current processing run.
wrapping_paper_needed_to_wrapReturns the amount of sheets of wrapping paper that the given object would need to be wrapped.

Var Details

bound_overlay

The mimic (if any) that's directly copying us.

z_flags

Movable-level Z-Mimic flags. This uses ZMM_* flags, not ZM_* flags.

Proc Details

animate_filter

Animate a given filter on this atom. All params after the first are passed to animate().

can_do_automated_move

Generalized entrypoint for checking CanMove and such on /mob.

dropInto

Attempt to drop this atom onto the destination.

The destination can instead return another location, recursively chaining.

failed_automove

Called by SSautomove when an atom fails to move in circumstances where it would like to. As with finished_automove, does not imply unregistering from SSautomove.

finished_automove

Called when an atom is within the acceptable parameters for not moving further (ideal range). Does not necessarily imply the atom has unregistered (see stop_automove()).

get_acceptable_automove_distance_from_target

Used by some mobs to vary the acceptable distance from target when automoving.

get_automove_target

Should return a reference to the current atom target.

keybind_face_direction

A wrapper for setDir that should only be able to fail by living mobs.

Called from [/atom/movable/proc/keyLoop], this exists to be overwritten by living mobs with a check to see if we're actually alive enough to change directions

start_automove

Registers an atom with SSautomove, including a move handler and metadata. Moving will begin next tick.

stop_automove

Cancels automoving and unregisters the atom from the subsystem, including the current processing run.

wrapping_paper_needed_to_wrap

Returns the amount of sheets of wrapping paper that the given object would need to be wrapped.