mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 15:02:29 +00:00
* Refactors bitflag values into bitshifts * minor formatting edits * Unbitshifts a macro set that skipped 3 for whatever reason
20 lines
447 B
Plaintext
20 lines
447 B
Plaintext
/*
|
|
Used with the various stat variables (mob, machines)
|
|
*/
|
|
|
|
//mob/var/stat things
|
|
#define CONSCIOUS 0
|
|
#define SOFT_CRIT 1
|
|
#define UNCONSCIOUS 2
|
|
#define DEAD 3
|
|
|
|
// bitflags for machine stat variable
|
|
#define BROKEN (1<<0)
|
|
#define NOPOWER (1<<1)
|
|
#define MAINT (1<<2) // under maintaince
|
|
#define EMPED (1<<3) // temporary broken by EMP pulse
|
|
|
|
//ai power requirement defines
|
|
#define POWER_REQ_ALL 1
|
|
#define POWER_REQ_CLOCKCULT 2
|