mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-30 02:52:30 +00:00
* Remove code/__DEFINES/misc.dm * agagagagagaga Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
//singularity defines
|
|
/// Singularity is stage 1 (1x1)
|
|
#define STAGE_ONE 1
|
|
/// Singularity is stage 2 (3x3)
|
|
#define STAGE_TWO 3
|
|
/// Singularity is stage 3 (5x5)
|
|
#define STAGE_THREE 5
|
|
/// Singularity is stage 4 (7x7)
|
|
#define STAGE_FOUR 7
|
|
/// Singularity is stage 5 (9x9)
|
|
#define STAGE_FIVE 9
|
|
/// Singularity is stage 6 (11x11)
|
|
#define STAGE_SIX 11 //From supermatter shard
|
|
|
|
///range of values where you suffer from negative gravity
|
|
#define NEGATIVE_GRAVITY_RANGE -INFINITY to NEGATIVE_GRAVITY
|
|
///range of values where you have no gravity
|
|
#define WEIGHTLESS_RANGE NEGATIVE_GRAVITY + 0.01 to 0
|
|
///range of values where you have normal gravity
|
|
#define STANDRARD_GRAVITY_RANGE 0.01 to STANDARD_GRAVITY
|
|
///range of values where you have heavy gravity
|
|
#define HIGH_GRAVITY_RANGE STANDARD_GRAVITY + 0.01 to GRAVITY_DAMAGE_THRESHOLD - 0.01
|
|
///range of values where you suffer from crushing gravity
|
|
#define CRUSHING_GRAVITY_RANGE GRAVITY_DAMAGE_THRESHOLD to INFINITY
|
|
|
|
/**
|
|
* The point where gravity is negative enough to pull you upwards.
|
|
* That means walking checks for a ceiling instead of a floor, and you can fall "upwards"
|
|
*
|
|
* This should only be possible on multi-z maps because it works like shit on maps that aren't.
|
|
*/
|
|
#define NEGATIVE_GRAVITY -1
|
|
|
|
#define STANDARD_GRAVITY 1 //Anything above this is high gravity, anything below no grav until negative gravity
|
|
/// The gravity strength threshold for high gravity damage.
|
|
#define GRAVITY_DAMAGE_THRESHOLD 3
|
|
/// The scaling factor for high gravity damage.
|
|
#define GRAVITY_DAMAGE_SCALING 0.5
|
|
/// The maximum [BRUTE] damage a mob can take from high gravity per second.
|
|
#define GRAVITY_DAMAGE_MAXIMUM 1.5
|