-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Fluffy-Frontier/FluffySTG …
…into upstream-mirror-1209
- Loading branch information
Showing
126 changed files
with
1,730 additions
and
388 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,45 @@ | ||
//defines for antag opt in objective checking | ||
//objectives check for all players with a value equal or greater than the 'threat' level of an objective then pick from that list | ||
//command + sec roles are always opted in regardless of opt in status | ||
|
||
/// For temporary or otherwise 'inconvenient' objectives like kidnapping or theft | ||
#define OPT_IN_YES_TEMP 1 | ||
/// Cool with being killed or otherwise occupied but not removed from the round | ||
#define OPT_IN_YES_KILL 2 | ||
/// Fine with being round removed. | ||
#define OPT_IN_YES_ROUND_REMOVE 3 | ||
|
||
#define OPT_IN_YES_TEMP_STRING "Yes - Temporary/Inconvenience" | ||
#define OPT_IN_YES_KILL_STRING "Yes - Kill" | ||
#define OPT_IN_YES_ROUND_REMOVE_STRING "Yes - Round Remove" | ||
#define OPT_IN_NOT_TARGET_STRING "No" | ||
|
||
/// Assoc list of stringified opt_in_## define to the front-end string to show users as a representation of the setting. | ||
GLOBAL_LIST_INIT(antag_opt_in_strings, list( | ||
"0" = OPT_IN_NOT_TARGET_STRING, | ||
"1" = OPT_IN_YES_TEMP_STRING, | ||
"2" = OPT_IN_YES_KILL_STRING, | ||
"3" = OPT_IN_YES_ROUND_REMOVE_STRING, | ||
)) | ||
|
||
/// Assoc list of stringified opt_in_## define to the color associated with it. | ||
GLOBAL_LIST_INIT(antag_opt_in_colors, list( | ||
OPT_IN_NOT_TARGET_STRING = COLOR_GRAY, | ||
OPT_IN_YES_TEMP_STRING = COLOR_EMERALD, | ||
OPT_IN_YES_KILL_STRING = COLOR_ORANGE, | ||
OPT_IN_YES_ROUND_REMOVE_STRING = COLOR_RED | ||
)) | ||
|
||
/// Prefers not to be a target. Will still be a potential target if playing sec or command. | ||
#define OPT_IN_NOT_TARGET 0 | ||
|
||
/// The minimum opt-in level for people playing sec. | ||
#define SECURITY_OPT_IN_LEVEL OPT_IN_YES_KILL | ||
/// The minimum opt-in level for people playing command. | ||
#define COMMAND_OPT_IN_LEVEL OPT_IN_YES_KILL | ||
|
||
/// The default opt in level for preferences and mindless mobs. | ||
#define OPT_IN_DEFAULT_LEVEL OPT_IN_NOT_TARGET | ||
|
||
/// If the player has any non-ghost role antags enabled, they are forced to use a minimum of this. | ||
#define OPT_IN_ANTAG_ENABLED_LEVEL OPT_IN_YES_TEMP |
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
Oops, something went wrong.