/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/rotation.dm

ROTATION_REQUIRE_WRENCHIf an object needs to be rotated with a wrench
ROTATION_GHOSTS_ALLOWEDIf ghosts can rotate an object (if the ghost config is enabled)
ROTATION_IGNORE_ANCHOREDIf an object will ignore anchored for rotation (used for chairs)
ROTATION_NO_FLIPPINGIf an object will omit flipping from rotation (used for pipes since they use custom handling)
ROTATION_NEEDS_ROOMIf an object needs to have an empty spot available in target direction (used for windoors and railings)
ROTATION_CLOCKWISERotate an object clockwise
ROTATION_COUNTERCLOCKWISERotate an object counterclockwise
ROTATION_FLIPRotate an object upside down

Define Details

ROTATION_CLOCKWISE

Rotate an object clockwise

ROTATION_COUNTERCLOCKWISE

Rotate an object counterclockwise

ROTATION_FLIP

Rotate an object upside down

ROTATION_GHOSTS_ALLOWED

If ghosts can rotate an object (if the ghost config is enabled)

ROTATION_IGNORE_ANCHORED

If an object will ignore anchored for rotation (used for chairs)

ROTATION_NEEDS_ROOM

If an object needs to have an empty spot available in target direction (used for windoors and railings)

ROTATION_NO_FLIPPING

If an object will omit flipping from rotation (used for pipes since they use custom handling)

ROTATION_REQUIRE_WRENCH

If an object needs to be rotated with a wrench