mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-12 18:03:13 +00:00
* Converts drunkness and dizziness to status effects. Refactors status effect examine text (and, subsequently, stabilized black extracts). (#66340) * Refactors dizziness into a status effect * Refactors the dizziness setter to use the new kind * Drunkness. - Should drunk continue to work off of a magic value or be swapped to duration? I've not yet decided: For understandability it's preferabale for "drunk" to use a timer (they are drunk for 3 more minutes), but both adding drunk and decreasing drunk currently use weird calculations which would be difficult to carry over. - Ballmer is a liver trait * Dizzy was a setter, not an adjuster * Does all the drunk effects over - refactors examine text fully - refactors stabilized blacks because of this * Removed * repaths, fixes some issues * Minor fixes * Some erroneous changes * Fixes some dizziness errors * Consistency thing * Warning * Undoes this change, I dont like its implementation * max_duration * Max amount * Should be a negative * max duration * drunk doesn't tick on death * Rework dizziness strength * Erroneous dizzy change * Fixes return type * this should do it? * well, one more Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
/** Atmos related */
|
|
#define ALERT_TOO_MUCH_OXYGEN "too_much_oxy"
|
|
#define ALERT_NOT_ENOUGH_OXYGEN "not_enough_oxy"
|
|
|
|
#define ALERT_TOO_MUCH_PLASMA "too_much_plas"
|
|
#define ALERT_NOT_ENOUGH_PLASMA "not_enough_plas"
|
|
|
|
#define ALERT_TOO_MUCH_CO2 "too_much_co2"
|
|
#define ALERT_NOT_ENOUGH_CO2 "not_enough_co2"
|
|
|
|
#define ALERT_TOO_MUCH_N2O "too_much_n2o"
|
|
#define ALERT_NOT_ENOUGH_N2O "not_enough_n2o"
|
|
|
|
#define ALERT_TOO_MUCH_NITRO "too_much_nitro"
|
|
#define ALERT_NOT_ENOUGH_NITRO "not_enough_nitro"
|
|
|
|
/** Mob related */
|
|
#define ALERT_SUCCUMB "succumb"
|
|
#define ALERT_BLIND "blind"
|
|
#define ALERT_BUCKLED "buckled"
|
|
#define ALERT_HANDCUFFED "handcuffed"
|
|
#define ALERT_LEGCUFFED "legcuffed"
|
|
#define ALERT_WOUNDED "wound"
|
|
#define ALERT_IRRADIATED "irradiated"
|
|
#define ALERT_EMBEDDED_OBJECT "embeddedobject"
|
|
#define ALERT_SHOES_KNOT "shoealert"
|
|
|
|
//antag related
|
|
#define ALERT_HYPNOSIS "hypnosis"
|
|
#define ALERT_MIND_CONTROL "mind_control"
|
|
|
|
//ethereal alerts
|
|
#define ALERT_ETHEREAL_CHARGE "ethereal_charge"
|
|
#define ALERT_ETHEREAL_OVERCHARGE "ethereal_overcharge"
|
|
|
|
/** Alien related */
|
|
#define ALERT_XENO_FIRE "alien_fire"
|
|
#define ALERT_XENO_PLASMA "alien_plas"
|
|
#define ALERT_XENO_NOQUEEN "alien_noqueen"
|
|
|
|
/** Silicon related */
|
|
#define ALERT_NEW_LAW "newlaw"
|
|
#define ALERT_CHARGE "charge"
|
|
#define ALERT_LOCKED "locked"
|
|
#define ALERT_HACKED "hacked"
|
|
#define ALERT_HACKING_APC "hackingapc"
|
|
|
|
/** MODsuit/Mech related */
|
|
#define ALERT_MODSUIT_CHARGE "mod_charge"
|
|
#define ALERT_MECH_DAMAGE "mech_damage"
|
|
|
|
/** Food related */
|
|
#define ALERT_NUTRITION "nutrition"
|
|
#define ALERT_DISGUST "disgust"
|
|
|
|
/** Environment related */
|
|
#define ALERT_PRESSURE "pressure"
|
|
#define ALERT_GRAVITY "gravity"
|
|
#define ALERT_FIRE "fire"
|
|
|
|
#define ALERT_TEMPERATURE "temp"
|
|
#define ALERT_TEMPERATURE_HOT "temphot"
|
|
#define ALERT_TEMPERATURE_COLD "tempcold"
|