code/__DEFINES/rotation.dm ![code/__DEFINES/rotation.dm0](git.png)
ROTATION_REQUIRE_WRENCH | If an object needs to be rotated with a wrench |
---|---|
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_NO_FLIPPING | If an object will omit flipping from rotation (used for pipes since they use custom handling) |
ROTATION_NEEDS_ROOM | If an object needs to have an empty spot available in target direction (used for windoors and railings) |
ROTATION_CLOCKWISE | Rotate an object clockwise |
ROTATION_COUNTERCLOCKWISE | Rotate an object counterclockwise |
ROTATION_FLIP | Rotate an object upside down |
Define Details
ROTATION_CLOCKWISE ![code/__DEFINES/rotation.dm 13](git.png)
Rotate an object clockwise
ROTATION_COUNTERCLOCKWISE ![code/__DEFINES/rotation.dm 15](git.png)
Rotate an object counterclockwise
ROTATION_FLIP ![code/__DEFINES/rotation.dm 17](git.png)
Rotate an object upside down
ROTATION_GHOSTS_ALLOWED ![code/__DEFINES/rotation.dm 4](git.png)
If ghosts can rotate an object (if the ghost config is enabled)
ROTATION_IGNORE_ANCHORED ![code/__DEFINES/rotation.dm 6](git.png)
If an object will ignore anchored for rotation (used for chairs)
ROTATION_NEEDS_ROOM ![code/__DEFINES/rotation.dm 10](git.png)
If an object needs to have an empty spot available in target direction (used for windoors and railings)
ROTATION_NO_FLIPPING ![code/__DEFINES/rotation.dm 8](git.png)
If an object will omit flipping from rotation (used for pipes since they use custom handling)
ROTATION_REQUIRE_WRENCH ![code/__DEFINES/rotation.dm 2](git.png)
If an object needs to be rotated with a wrench