mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-05-25 16:47:10 +01:00
5a08a3aad0
This way you can add/remove traits without fear of other sources overriding them. Now you can add TRAIT_STUNIMMUNE to somebody without what if hulk
Notable changes:
Fakedeath now updates instantly, instead of waiting for the next life tick.
Fakedeath now sets time of death when acquired.
Removed extremely snowflake code in reagents that checked if you had morphine to remove slow immunity and so on.
Hulk no longer overrides status_flag changes, in case there are any.
21 lines
458 B
Plaintext
21 lines
458 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
|
|
#define NOPOWER 2
|
|
#define MAINT 4 // under maintaince
|
|
#define EMPED 8 // temporary broken by EMP pulse
|
|
|
|
//ai power requirement defines
|
|
#define POWER_REQ_NONE 0
|
|
#define POWER_REQ_ALL 1
|
|
#define POWER_REQ_CLOCKCULT 2
|