Reduce shuttle cheese

Once you up to red, you have to wait 5 minutes before you can call the shuttle.
This commit is contained in:
Tayyyyyyy
2017-12-31 10:04:00 -07:00
parent 4f4daac0fd
commit 15ff32f0df
2 changed files with 9 additions and 0 deletions
@@ -27,6 +27,10 @@
//Will not be announced if you try to set to the same level as it already is
if(level >= SEC_LEVEL_GREEN && level <= SEC_LEVEL_DELTA && level != security_level)
if(level >= SEC_LEVEL_RED && security_level < SEC_LEVEL_RED)
// Mark down this time to prevent shuttle cheese
shuttle_master.emergency_sec_level_time = world.time
switch(level)
if(SEC_LEVEL_GREEN)
security_announcement_down.Announce("All threats to the station have passed. All weapons need to be holstered and privacy laws are once again fully enforced.","Attention! Security level lowered to green.")