mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-25 10:46:29 +01:00
## About The Pull Request adds generic system for atom health / integrity / damage everything that isn't flagged with not-bludgeonable can, well, now be bludgeoned. ## Why It's Good For The Game more interactive game world through the means of making people able to break Everything. ## Changelog 🆑 add: atom damage - (almost) everything is now breakable. refactor: new /atom level materials system refactor: a lot of the combat system / click code refactor: melee attack styles /🆑 --------- Co-authored-by: silicons <no@you.cat>
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
// todo: this system needs reworked
|
|
//Defaults
|
|
|
|
#define MOVE_RESIST_SHURIKEN 250
|
|
#define MOVE_RESIST_DEFAULT 1000
|
|
|
|
#define MOVE_FORCE_DEFAULT 1000
|
|
|
|
#define THROW_FORCE_DEFAULT 1000
|
|
|
|
#define THROW_RESIST_SHURIKEN 250
|
|
#define THROW_RESIST_DEFAULT 1000
|
|
|
|
#define PULL_FORCE_DEFAULT 1000
|
|
|
|
//etc
|
|
//? stuff that shouldn't have force, almost
|
|
#define MOVE_FORCE_MOUSE 100
|
|
//? stuff that should have less force
|
|
//? stuff that have basically normal force
|
|
//? stuff that should have higher force
|
|
//? stuff that should have overwhelming force
|
|
|
|
//Factors/modifiers
|
|
#define MOVE_FORCE_PULL_RATIO 0.8 //Same move force to pull objects
|
|
#define MOVE_FORCE_PUSH_RATIO 0.9 //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 0.25 // 0.25x minimum to move
|
|
|
|
#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))
|
|
|
|
#define MOVE_RESIST_ABSOLUTE INFINITY
|
|
#define MOVE_FORCE_ABSOLUTE INFINITY
|