-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
1,651 additions
and
636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#define ALERT_BUCKLED "buckled" | ||
#define ALERT_HANDCUFFED "handcuffed" | ||
#define ALERT_LEGCUFFED "legcuffed" | ||
#define ALERT_FLOORED "floored" | ||
#define ALERT_INCAPACITATED "incapacitated" | ||
#define ALERT_KNOCKEDOUT "knockedout" | ||
#define ALERT_IMMOBILIZED "immobilized" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
///if it allows multiple instances of the effect | ||
#define STATUS_EFFECT_MULTIPLE 0 | ||
///if it allows only one, preventing new instances | ||
#define STATUS_EFFECT_UNIQUE 1 | ||
///if it allows only one, but new instances replace | ||
#define STATUS_EFFECT_REPLACE 2 | ||
/// if it only allows one, and new instances just instead refresh the timer | ||
#define STATUS_EFFECT_REFRESH 3 | ||
|
||
///Processing flags - used to define the speed at which the status will work | ||
///This is fast - 0.2s between ticks (I believe!) | ||
#define STATUS_EFFECT_FAST_PROCESS 0 | ||
///This is slower and better for more intensive status effects - 1s between ticks | ||
#define STATUS_EFFECT_NORMAL_PROCESS 1 | ||
|
||
//Incapacitated status effect flags | ||
/// If the incapacitated status effect will ignore a mob in restraints (handcuffs) | ||
#define IGNORE_RESTRAINTS (1<<0) | ||
/// If the incapacitated status effect will ignore a mob in stasis (stasis beds) | ||
#define IGNORE_STASIS (1<<1) | ||
/// If the incapacitated status effect will ignore a mob being agressively grabbed | ||
#define IGNORE_GRAB (1<<2) | ||
|
||
/// Time threshold after which we launch ending timer - this should be higher than the slowest processing rate | ||
#define STATUS_EFFECT_TIME_THRESHOLD (2 SECONDS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
PROCESSING_SUBSYSTEM_DEF(effects) | ||
name = "Effects" | ||
wait = 1 SECONDS | ||
flags = SS_NO_INIT | SS_KEEP_TIMING | ||
priority = SS_PRIORITY_EFFECTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
PROCESSING_SUBSYSTEM_DEF(fasteffects) | ||
name = "Fast Effects" | ||
wait = 0.2 SECONDS | ||
priority = SS_PRIORITY_FASTEFFECTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
PROCESSING_SUBSYSTEM_DEF(oldeffects) | ||
name = "Old Effects" | ||
wait = 1 SECONDS | ||
flags = SS_NO_INIT | SS_KEEP_TIMING | ||
priority = SS_PRIORITY_OLDEFFECTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.