Daedalus Dock - Modules - TypesDefine Details

code/__DEFINES/directional.dm

TEXT_NORTHNorth direction as a string "[1]"
TEXT_SOUTHSouth direction as a string "[2]"
TEXT_EASTEast direction as a string "[4]"
TEXT_WESTWest direction as a string "[8]"
REVERSE_DIRInverse direction, taking into account UP|DOWN if necessary.
MAPPING_DIRECTIONAL_HELPERSCreate directional subtypes for a path to simplify mapping.
MAPPING_DIRECTIONAL_HELPERS_ROBUSTWhen you need to prescribe very specific offsets, use this over MAPPING_DIRECTIONAL_HELPERS
MAPPING_DIRECTIONAL_HELPERS_ROBUST_INVERSE_DIRLike the above, but the atom's DIR value will be the opposite of it's offset. i.e the /north type will have dir = SOUTH.

Define Details

MAPPING_DIRECTIONAL_HELPERS

Create directional subtypes for a path to simplify mapping.

MAPPING_DIRECTIONAL_HELPERS_ROBUST

When you need to prescribe very specific offsets, use this over MAPPING_DIRECTIONAL_HELPERS

MAPPING_DIRECTIONAL_HELPERS_ROBUST_INVERSE_DIR

Like the above, but the atom's DIR value will be the opposite of it's offset. i.e the /north type will have dir = SOUTH.

REVERSE_DIR

Inverse direction, taking into account UP|DOWN if necessary.

TEXT_EAST

East direction as a string "[4]"

TEXT_NORTH

North direction as a string "[1]"

TEXT_SOUTH

South direction as a string "[2]"

TEXT_WEST

West direction as a string "[8]"