Randomized Station Time + Night Shifts

This commit is contained in:
kevinz000
2018-02-20 21:59:44 -08:00
parent 0097714eab
commit 8ebc63d2f2
33 changed files with 206 additions and 57 deletions
@@ -1,8 +1,8 @@
GLOBAL_VAR_INIT(security_level, 0)
//0 = code green
//1 = code blue
//2 = code red
//3 = code delta
GLOBAL_VAR_INIT(security_level, SEC_LEVEL_GREEN)
//SEC_LEVEL_GREEN = code green
//SEC_LEVEL_BLUE = code blue
//SEC_LEVEL_RED = code red
//SEC_LEVEL_DELTA = code delta
//config.alert_desc_blue_downto
@@ -80,6 +80,7 @@ GLOBAL_VAR_INIT(security_level, 0)
D.visible_message("<span class='notice'>[D] whirrs as it automatically lifts access requirements!</span>")
playsound(D, 'sound/machines/boltsup.ogg', 50, TRUE)
SSblackbox.record_feedback("tally", "security_level_changes", 1, get_security_level())
SSnightshift.check_nightshift()
else
return