Adds a config option to determine the minimum alert level for secborgs (defaulting to red alert)

This commit is contained in:
deathride58
2019-10-11 14:33:32 -04:00
parent ae843435f0
commit 60749f8b07
5 changed files with 16 additions and 2 deletions
+4
View File
@@ -50,3 +50,7 @@
#define ASSEMBLY_THIRD_STEP 2
#define ASSEMBLY_FOURTH_STEP 3
#define ASSEMBLY_FIFTH_STEP 4
//Checks to determine borg availability depending on the server's config. These are defines in the interest of reducing copypasta
#define BORG_SEC_AVAILABLE (!CONFIG_GET(flag/disable_secborg) && GLOB.security_level >= CONFIG_GET(number/minimum_secborg_alert))