mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Night shift preparations (#8839)
This commit is contained in:
@@ -28,6 +28,7 @@ SUBSYSTEM_DEF(nightshift)
|
||||
var/announce_z
|
||||
if(using_map.station_levels.len)
|
||||
announce_z = pick(using_map.station_levels)
|
||||
/* CHOMPEdit - TTSless
|
||||
//VOREStation Edit - TTS
|
||||
var/pickedsound
|
||||
if(!high_security_mode)
|
||||
@@ -35,7 +36,9 @@ SUBSYSTEM_DEF(nightshift)
|
||||
pickedsound = 'sound/AI/dim_lights.ogg'
|
||||
else
|
||||
pickedsound = 'sound/AI/bright_lights.ogg'
|
||||
priority_announcement.Announce(message, new_title = "Automated Lighting System Announcement", new_sound = pickedsound, zlevel = announce_z)
|
||||
*/
|
||||
priority_announcement.Announce(message, new_title = "Automated Lighting System Announcement", /* new_sound = pickedsound,*/ zlevel = announce_z)
|
||||
// CHOMPEdit End
|
||||
//VOREStation Edit End
|
||||
|
||||
/datum/controller/subsystem/nightshift/proc/check_nightshift(check_canfire=FALSE) //This is called from elsewhere, like setting the alert levels
|
||||
|
||||
@@ -191,7 +191,7 @@ var/list/all_maps = list()
|
||||
|
||||
// Boolean for if we should use SSnightshift night hours
|
||||
/datum/map/proc/get_nightshift()
|
||||
return get_night(1) //Defaults to z1, customize however you want on your own maps
|
||||
return get_night(5) //Defaults to z1, customize however you want on your own maps - CHOMPEdit - Sif is 5
|
||||
|
||||
/datum/map/proc/setup_map()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user