mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
defines organ bitflags as bitfields so admins can literally give people heart attacks whenever they want with the click of a button (#68869)
This commit is contained in:
@@ -79,6 +79,18 @@
|
||||
#define ORGAN_SYNTHETIC_EMP (1<<6) //Synthetic organ affected by an EMP. Deteriorates over time.
|
||||
#define ORGAN_UNREMOVABLE (1<<7) //Can't be removed using surgery
|
||||
|
||||
DEFINE_BITFIELD(organ_flags, list(
|
||||
"ORGAN_SYNTHETIC" = ORGAN_SYNTHETIC,
|
||||
"ORGAN_FROZEN" = ORGAN_FROZEN,
|
||||
"ORGAN_FAILING" = ORGAN_FAILING,
|
||||
"ORGAN_EXTERNAL" = ORGAN_EXTERNAL,
|
||||
"ORGAN_VITAL" = ORGAN_VITAL,
|
||||
"ORGAN_EDIBLE" = ORGAN_EDIBLE,
|
||||
"ORGAN_SYNTHETIC_EMP" = ORGAN_SYNTHETIC_EMP,
|
||||
"ORGAN_UNREMOVABLE" = ORGAN_UNREMOVABLE,
|
||||
))
|
||||
|
||||
|
||||
/// Integrity defines for clothing (not flags but close enough)
|
||||
#define CLOTHING_PRISTINE 0 // We have no damage on the clothing
|
||||
#define CLOTHING_DAMAGED 1 // There's some damage on the clothing but it still has at least one functioning bodypart and can be equipped
|
||||
|
||||
Reference in New Issue
Block a user