Files
VOREStation/code/modules/events/aurora_caelus.dm
T
Kashargul 91ce60e01b next globs (#19292)
* next globs

* few more

* some more

* .

* should be added on map laod

* .

* that needs its own PR

* .
2026-03-18 21:27:27 +01:00

37 lines
1.8 KiB
Plaintext

/datum/event/aurora_caelus
has_skybox_image = TRUE
announceWhen = 1
startWhen = 60
endWhen = 126
/datum/event/aurora_caelus/announce()
GLOB.command_announcement.Announce("[station_name()]: A harmless cloud of ions is approaching your [using_map.facility_type], and will exhaust their energy battering the hull. \
Nanotrasen has approved a short break for all employees to relax and observe this very rare event. \
During this time, starlight will be bright but gentle, shifting between quiet green and blue colors. \
Any staff who would like to view these lights for themselves may proceed to the area nearest to them with viewing ports to open space. \
You will have approximately two minutes before the ions begin to reach the hull. \
We hope you enjoy the lights.", "Nanotrasen Meteorology Division", new_sound = 'sound/AI/aurora.ogg') //VOREStation Edit
/datum/event/aurora_caelus/start()
affecting_z -= using_map.sealed_levels // Space levels only please!
for(var/mob/M in GLOB.player_list)
if(M.z in affecting_z)
M.playsound_local(null, 'sound/ambience/space/aurora_caelus.ogg', 100, FALSE, pressure_affected = FALSE)
..()
/datum/event/aurora_caelus/get_skybox_image()
var/image/res = image('icons/skybox/caelus.dmi', "aurora")
res.appearance_flags = RESET_COLOR
res.blend_mode = BLEND_ADD
return res
/datum/event/aurora_caelus/end()
GLOB.command_announcement.Announce("The Aurora Caelus event is now ending. Starlight conditions have returned to normal, and the cloud has dissipated. \
Please return to your workplace and continue work as normal. \
Have a pleasant shift, [station_name()], and thank you for watching with us.",
"Nanotrasen Meteorology Division", new_sound = 'sound/AI/aurora_end.ogg') //VOREStation Edit
..()
/datum/event/aurora_caelus/overmap/announce()
return