diff --git a/code/modules/events/aurora_caelus.dm b/code/modules/events/aurora_caelus.dm new file mode 100644 index 0000000000..49c2d1d720 --- /dev/null +++ b/code/modules/events/aurora_caelus.dm @@ -0,0 +1,36 @@ +/datum/event/aurora_caelus + has_skybox_image = TRUE + announceWhen = 1 + startWhen = 60 + endWhen = 126 + +/datum/event/aurora_caelus/announce() + command_announcement.Announce("[station_name()]: A harmless cloud of ions is approaching your station, 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') + +/datum/event/aurora_caelus/start() + affecting_z -= global.using_map.sealed_levels // Space levels only please! + for(var/mob/M in player_list) + if(M.z in affecting_z) + M.playsound_local(null, 'sound/ambience/space/aurora_caelus.ogg', 40, 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() + 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') + ..() + +/datum/event/aurora_caelus/overmap/announce() + return \ No newline at end of file diff --git a/code/modules/events/event_container_vr.dm b/code/modules/events/event_container_vr.dm index ce5d14d920..8ff8144bfd 100644 --- a/code/modules/events/event_container_vr.dm +++ b/code/modules/events/event_container_vr.dm @@ -48,6 +48,7 @@ new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Vermin Infestation",/datum/event/infestation, 100, list(ASSIGNMENT_JANITOR = 100), 1), // Rot only weakens walls, not destroy them new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Wallrot", /datum/event/wallrot, 0, list(ASSIGNMENT_ENGINEER = 30, ASSIGNMENT_GARDENER = 50), 1), + new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Aurora Caelus", /datum/event/aurora_caelus, 5, list(ASSIGNMENT_ANY = 2), 1), ) add_disabled_events(list( new /datum/event_meta(EVENT_LEVEL_MUNDANE, "Ian Storm", /datum/event/ianstorm, 1, list(), 1), diff --git a/icons/skybox/caelus.dmi b/icons/skybox/caelus.dmi new file mode 100644 index 0000000000..91fd251bdc Binary files /dev/null and b/icons/skybox/caelus.dmi differ diff --git a/sound/AI/aurora.ogg b/sound/AI/aurora.ogg new file mode 100644 index 0000000000..2d5298a508 Binary files /dev/null and b/sound/AI/aurora.ogg differ diff --git a/sound/AI/aurora_end.ogg b/sound/AI/aurora_end.ogg new file mode 100644 index 0000000000..b6f6a1b5c3 Binary files /dev/null and b/sound/AI/aurora_end.ogg differ diff --git a/sound/ambience/space/aurora_caelus.ogg b/sound/ambience/space/aurora_caelus.ogg new file mode 100644 index 0000000000..655e47fc3b Binary files /dev/null and b/sound/ambience/space/aurora_caelus.ogg differ diff --git a/vorestation.dme b/vorestation.dme index f998149275..8ad1f4db02 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -1977,6 +1977,7 @@ #include "code\modules\error_handler\~defines.dm" #include "code\modules\events\apc_damage.dm" #include "code\modules\events\atmos_leak.dm" +#include "code\modules\events\aurora_caelus.dm" #include "code\modules\events\blob.dm" #include "code\modules\events\brand_intelligence.dm" #include "code\modules\events\camera_damage.dm"