mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-20 19:49:39 +01:00
Done using this command sed -Ei 's/(\s*\S+)\s*\t+/\1 /g' code/**/*.dm We have countless examples in the codebase with this style gone wrong, and defines and such being on hideously different levels of indentation. Fixing this to keep the alignment involves tainting the blames of code your PR doesn't need to be touching at all. And ultimately, it's hideous. There are some files that this sed makes uglier. I can fix these when they are pointed out, but I believe this is ultimately for the greater good of readability. I'm more concerned with if any strings relied on this. Hi codeowners! Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
|
|
#define DISEASE_LIMIT 1
|
|
#define VIRUS_SYMPTOM_LIMIT 6
|
|
|
|
//Visibility Flags
|
|
#define HIDDEN_SCANNER (1<<0)
|
|
#define HIDDEN_PANDEMIC (1<<1)
|
|
|
|
//Disease Flags
|
|
#define CURABLE (1<<0)
|
|
#define CAN_CARRY (1<<1)
|
|
#define CAN_RESIST (1<<2)
|
|
|
|
//Spread Flags
|
|
#define DISEASE_SPREAD_SPECIAL (1<<0)
|
|
#define DISEASE_SPREAD_NON_CONTAGIOUS (1<<1)
|
|
#define DISEASE_SPREAD_BLOOD (1<<2)
|
|
#define DISEASE_SPREAD_CONTACT_FLUIDS (1<<3)
|
|
#define DISEASE_SPREAD_CONTACT_SKIN (1<<4)
|
|
#define DISEASE_SPREAD_AIRBORNE (1<<5)
|
|
|
|
//Severity Defines
|
|
/// Diseases that buff, heal, or at least do nothing at all
|
|
#define DISEASE_SEVERITY_POSITIVE "Positive"
|
|
/// Diseases that may have annoying effects, but nothing disruptive (sneezing)
|
|
#define DISEASE_SEVERITY_NONTHREAT "Harmless"
|
|
/// Diseases that can annoy in concrete ways (dizziness)
|
|
#define DISEASE_SEVERITY_MINOR "Minor"
|
|
/// Diseases that can do minor harm, or severe annoyance (vomit)
|
|
#define DISEASE_SEVERITY_MEDIUM "Medium"
|
|
/// Diseases that can do significant harm, or severe disruption (brainrot)
|
|
#define DISEASE_SEVERITY_HARMFUL "Harmful"
|
|
/// Diseases that can kill or maim if left untreated (flesh eating, blindness)
|
|
#define DISEASE_SEVERITY_DANGEROUS "Dangerous"
|
|
/// Diseases that can quickly kill an unprepared victim (fungal tb, gbs)
|
|
#define DISEASE_SEVERITY_BIOHAZARD "BIOHAZARD"
|