mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Night shift preparations (#8839)
This commit is contained in:
@@ -28,6 +28,7 @@ SUBSYSTEM_DEF(nightshift)
|
|||||||
var/announce_z
|
var/announce_z
|
||||||
if(using_map.station_levels.len)
|
if(using_map.station_levels.len)
|
||||||
announce_z = pick(using_map.station_levels)
|
announce_z = pick(using_map.station_levels)
|
||||||
|
/* CHOMPEdit - TTSless
|
||||||
//VOREStation Edit - TTS
|
//VOREStation Edit - TTS
|
||||||
var/pickedsound
|
var/pickedsound
|
||||||
if(!high_security_mode)
|
if(!high_security_mode)
|
||||||
@@ -35,7 +36,9 @@ SUBSYSTEM_DEF(nightshift)
|
|||||||
pickedsound = 'sound/AI/dim_lights.ogg'
|
pickedsound = 'sound/AI/dim_lights.ogg'
|
||||||
else
|
else
|
||||||
pickedsound = 'sound/AI/bright_lights.ogg'
|
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
|
//VOREStation Edit End
|
||||||
|
|
||||||
/datum/controller/subsystem/nightshift/proc/check_nightshift(check_canfire=FALSE) //This is called from elsewhere, like setting the alert levels
|
/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
|
// Boolean for if we should use SSnightshift night hours
|
||||||
/datum/map/proc/get_nightshift()
|
/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()
|
/datum/map/proc/setup_map()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user