movable
Virtual Mob Creation
Vars | |
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. |
Procs | |
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. |
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. |
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. |
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.
destination
: The atom that this atom is dropped onto.- Return: The result of the forceMove() at the end.
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.