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 FALSE, EMISSIVE_BLOCK_GENERIC, or EMISSIVE_BLOCK_UNIQUE
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()
destroy_clone---Var-Copy---
keybind_face_directionA wrapper for setDir that should only be able to fail by living mobs.
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 FALSE, EMISSIVE_BLOCK_GENERIC, or EMISSIVE_BLOCK_UNIQUE

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()

destroy_clone

---Var-Copy---

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

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.