byond - Modules - TypesVar Details - Proc Details

/atom/movable

Vars

affected_movable_lightsLazylist to keep track on the sources of illumination.
affecting_dynamic_lumiHighest-intensity light affecting us, which determines our visibility.
black_market_valueHow much this mob|object is worth when lowered into the ASRS pit while the black market is unlocked.
blocks_emissiveEither EMISSIVE_BLOCK_NONE, EMISSIVE_BLOCK_GENERIC, or EMISSIVE_BLOCK_UNIQUE
buckle_lyingBed-like behaviour, forces mob.lying = buckle_lying if not set to NO_BUCKLE_LYING.
em_blockInternal holder for emissive blocker object, do not use directly use blocks_emissive
emissive_overlayHolds a reference to the emissive blocker overlay

Procs

CollideCalled when a movable atom has hit an atom via movement
CollidedCalled when an atom has been hit by a movable atom via movement
abstract_movemeant for movement with zero side effects. only use for objects that are supposed to move "invisibly" (like camera mobs or ghosts) if you want something to move onto a tile with a beartrap or recycler or tripmine or mouse without that object knowing about it at all, use this most of the time you want forceMove()
afterShuttleMoveCalled on atoms after everything has been moved
afterbuckleCalled after somebody buckled / unbuckled
beforeShuttleMoveCalled on every atom in shuttle turf contents before anything has been moved returns the new move_mode (based on the old) WARNING: Do not leave turf contents in beforeShuttleMove or dock() will runtime
cancel_override_minimap_trackingStops minimap override tracking
keybind_face_directionA wrapper for setDir that should only be able to fail by living mobs.
onShuttleMoveCalled on atoms to move the atom to the new location
override_minimap_trackingUsed to handle minimap tracking inside other movables
set_light_range_power_colorHelper to change several lighting overlay settings.
ui_interactThe ui_interact proc is used to open and update Nano UIs If ui_interact is not used then the UI will not update correctly ui_interact is currently defined for /atom/movable
update_dynamic_luminosityKeeps track of the sources of dynamic luminosity and updates our visibility with the highest.

Var Details

affected_movable_lights

Lazylist to keep track on the sources of illumination.

affecting_dynamic_lumi

Highest-intensity light affecting us, which determines our visibility.

black_market_value

How much this mob|object is worth when lowered into the ASRS pit while the black market is unlocked.

blocks_emissive

Either EMISSIVE_BLOCK_NONE, EMISSIVE_BLOCK_GENERIC, or EMISSIVE_BLOCK_UNIQUE

buckle_lying

Bed-like behaviour, forces mob.lying = buckle_lying if not set to NO_BUCKLE_LYING.

em_block

Internal holder for emissive blocker object, do not use directly use blocks_emissive

emissive_overlay

Holds a reference to the emissive blocker overlay

Proc Details

Collide

Called when a movable atom has hit an atom via movement

Collided

Called when an atom has been hit by a movable atom via movement

abstract_move

meant for movement with zero side effects. only use for objects that are supposed to move "invisibly" (like camera mobs or ghosts) if you want something to move onto a tile with a beartrap or recycler or tripmine or mouse without that object knowing about it at all, use this most of the time you want forceMove()

afterShuttleMove

Called on atoms after everything has been moved

afterbuckle

Called after somebody buckled / unbuckled

beforeShuttleMove

Called on every atom in shuttle turf contents before anything has been moved returns the new move_mode (based on the old) WARNING: Do not leave turf contents in beforeShuttleMove or dock() will runtime

cancel_override_minimap_tracking

Stops minimap override tracking

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

onShuttleMove

Called on atoms to move the atom to the new location

override_minimap_tracking

Used to handle minimap tracking inside other movables

set_light_range_power_color

Helper to change several lighting overlay settings.

ui_interact

The ui_interact proc is used to open and update Nano UIs If ui_interact is not used then the UI will not update correctly ui_interact is currently defined for /atom/movable

@param user /mob The mob who is interacting with this ui @param ui_key string A string key to use for this ui. Allows for multiple unique uis on one obj/mob (defaut value "main") @param ui /datum/nanoui This parameter is passed by the nanoui process() proc when updating an open ui @param force_open boolean Force the UI to (re)open, even if it's already open

@return nothing

update_dynamic_luminosity

Keeps track of the sources of dynamic luminosity and updates our visibility with the highest.