CrossedOther

by Kaiochao
CrossedOther, UncrossedOther, BumpedBy [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Kaiochao.CrossedOther##version=0

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Kaiochao.CrossedOther##version=0

3 downloads
Latest Version
Date added: Apr 25 2019
Last updated: May 19 2019
0 fans
Procs for the atom on the other side of Crossed, Uncrossed, and Bump.
This library overrides the following procs to work:
  • atom.Crossed(M) calls M.CrossedOther(atom)
  • atom.Uncrossed(M) calls M.UncrossedOther(atom)
  • movable.Bump(A) calls A.BumpedBy(movable)
If you override any of these procs, be sure to call ..() for the other side's effect to be called.

Performance
This library adds overrides to the base atomic types. Whenever any atom is crossed, uncrossed, or bumped, these procs are called, adding overhead to most movements.

Proc Description
atom/movable/CrossedOther(atom/other) src crossed other
atom/Crossed(atom/movable/mover) src was crossed by mover
atom/movable/UncrossedOther(atom/other) src uncrossed other
atom/Uncrossed(atom/movable/mover) src was uncrossed by mover
atom/movable/Bump(atom/other) src bumped other
atom/BumpedBy(atom/movable/mover) src was bumped by mover