mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-18 13:04:45 +00: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>
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
//Defaults
|
|
#define MOVE_FORCE_DEFAULT 1000
|
|
#define MOVE_RESIST_DEFAULT 1000
|
|
#define PULL_FORCE_DEFAULT 1000
|
|
|
|
//Factors/modifiers
|
|
#define MOVE_FORCE_PULL_RATIO 1 //Same move force to pull objects
|
|
#define MOVE_FORCE_PUSH_RATIO 1 //Same move force to normally push
|
|
#define MOVE_FORCE_FORCEPUSH_RATIO 2 //2x move force to forcefully push
|
|
#define MOVE_FORCE_CRUSH_RATIO 3 //3x move force to do things like crush objects
|
|
#define MOVE_FORCE_THROW_RATIO 1 //Same force throw as resist to throw objects
|
|
|
|
#define MOVE_FORCE_OVERPOWERING (MOVE_FORCE_DEFAULT * MOVE_FORCE_CRUSH_RATIO * 10)
|
|
#define MOVE_FORCE_EXTREMELY_STRONG (MOVE_FORCE_DEFAULT * MOVE_FORCE_CRUSH_RATIO * 3)
|
|
#define MOVE_FORCE_VERY_STRONG ((MOVE_FORCE_DEFAULT * MOVE_FORCE_CRUSH_RATIO) - 1)
|
|
#define MOVE_FORCE_STRONG (MOVE_FORCE_DEFAULT * 2)
|
|
#define MOVE_FORCE_NORMAL MOVE_FORCE_DEFAULT
|
|
#define MOVE_FORCE_WEAK (MOVE_FORCE_DEFAULT / 2)
|
|
#define MOVE_FORCE_VERY_WEAK ((MOVE_FORCE_DEFAULT / MOVE_FORCE_CRUSH_RATIO) + 1)
|
|
#define MOVE_FORCE_EXTREMELY_WEAK (MOVE_FORCE_DEFAULT / (MOVE_FORCE_CRUSH_RATIO * 3))
|