Files
Aurora.3/code/modules/surgery/_defines.dm
Fluffy c25c8b6a37 Last editorconfig fixup (#17782)
* one

* two

* three

* fsdsdf
2023-11-20 18:22:42 +00:00

27 lines
837 B
Plaintext

#define SURGERY_FAILURE -1
// organ open flags
#define ORGAN_CLOSED 0
#define ORGAN_OPEN_INCISION 1 // skin incision OR hatch unscrewed
#define ORGAN_OPEN_RETRACTED 2 // skin retracted
#define ORGAN_ENCASED_OPEN 2.5 // bones e.g. ribcage sawed open
#define ORGAN_ENCASED_RETRACTED 3 // bones retracted OR hatch opened
// facial surgery
#define FACE_NORMAL 0
#define FACE_CUT_OPEN 1
#define FACE_RETRACTED 2
#define FACE_ALTERED 3
//bone repair
#define BONE_PRE_OP 0
#define BONE_GLUED 1
#define BONE_SET 2
//cavity
#define CAVITY_CLOSED 0
#define CAVITY_OPEN 1
//macros
#define IS_ORGAN_FULLY_OPEN affected.open == ((affected.encased || affected.robotic) ? ORGAN_ENCASED_RETRACTED : ORGAN_OPEN_RETRACTED)