Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/directional_offsets

Vars

exThe pixel_x offset that an object should use when facing EAST.
eyThe pixel_y offset that an object should use when facing EAST.
idThe non-unique ID of this directional offset datum. Corresponds to the name of the offsets tuple.
nxThe pixel_x offset that an object should use when facing NORTH.
nyThe pixel_y offset that an object should use when facing NORTH.
priorityIf several directional offset datums are defined for a single ID, datums with a higher priority will be considered for use first.
sxThe pixel_x offset that an object should use when facing SOUTH.
syThe pixel_y offset that an object should use when facing SOUTH.
wxThe pixel_x offset that an object should use when facing WEST.
wyThe pixel_y offset that an object should use when facing WEST.

Procs

apply_offsetsApply this directional offsets datum's offsets to an atom.
is_compatibleWhether this directional offsets datum can be used with the atom and direction.

Var Details

ex

The pixel_x offset that an object should use when facing EAST.

ey

The pixel_y offset that an object should use when facing EAST.

id

The non-unique ID of this directional offset datum. Corresponds to the name of the offsets tuple.

nx

The pixel_x offset that an object should use when facing NORTH.

ny

The pixel_y offset that an object should use when facing NORTH.

priority

If several directional offset datums are defined for a single ID, datums with a higher priority will be considered for use first.

sx

The pixel_x offset that an object should use when facing SOUTH.

sy

The pixel_y offset that an object should use when facing SOUTH.

wx

The pixel_x offset that an object should use when facing WEST.

wy

The pixel_y offset that an object should use when facing WEST.

Proc Details

apply_offsets

Apply this directional offsets datum's offsets to an atom.

is_compatible

Whether this directional offsets datum can be used with the atom and direction.