-
Notifications
You must be signed in to change notification settings - Fork 95
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
858 changed files
with
35,058 additions
and
24,105 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# We don't want prettier to run on anything outside of the TGUI folder, so we have to do this. | ||
/* | ||
|
||
# We want it to run into the TGUI folder, however. | ||
!/tgui |
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,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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
///from mind/transfer_to. Sent after the mind has been transferred to a different body: (mob/previous_body) | ||
#define COMSIG_MIND_TRANSFERRED "mind_transferred" |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
//turf_flags values | ||
/// Marks a turf as organic. Used for alien wall and membranes. | ||
#define TURF_ORGANIC (1<<0) | ||
/// If a turf is an usused reservation turf awaiting assignment | ||
#define UNUSED_RESERVATION_TURF (1<<1) | ||
/// If a turf is a reserved turf | ||
#define RESERVATION_TURF (1<<2) | ||
|
||
//ChangeTurf options to change its behavior | ||
#define CHANGETURF_DEFER_CHANGE (1<<0) | ||
/// This flag prevents changeturf from gathering air from nearby turfs to fill the new turf with an approximation of local air | ||
#define CHANGETURF_IGNORE_AIR (1<<1) | ||
#define CHANGETURF_FORCEOP (1<<2) | ||
/// A flag for PlaceOnTop to just instance the new turf instead of calling ChangeTurf. Used for uninitialized turfs NOTHING ELSE | ||
#define CHANGETURF_SKIP (1<<3) | ||
|
||
#define IS_OPAQUE_TURF(turf) (turf.directional_opacity == ALL_CARDINALS) | ||
|
||
/// Marks a turf as organic. Used for alien wall and membranes. | ||
#define TURF_ORGANIC (1<<0) | ||
|
||
|
||
#define REMOVE_CROWBAR (1<<0) | ||
#define BREAK_CROWBAR (1<<1) | ||
#define REMOVE_SCREWDRIVER (1<<2) |
Oops, something went wrong.