mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
New vox for the Horizon
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
for (var/zlevel in affecting_z)
|
||||
if(zlevel in current_map.station_levels)
|
||||
var/announcement = ""
|
||||
var/soundfile = 'sound/AI/spacecarp.ogg'
|
||||
var/soundfile = 'sound/AI/carp_migration.ogg'
|
||||
if(severity == EVENT_LEVEL_MAJOR && deploy_drones)
|
||||
announcement = "Massive migration of unknown biological entities has been detected near [location_name()], please stand-by. The NDV Icarus has dispatched combat drones to assist."
|
||||
soundfile = 'sound/AI/massivespacecarp.ogg'
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
to_chat(A, "<br>")
|
||||
|
||||
if(prob(30)) //most of the time, we don't want an announcement, so as to allow AIs to fake blackouts.
|
||||
command_announcement.Announce(alert, new_sound = sound('sound/AI/ionospheric.ogg', volume=25))
|
||||
command_announcement.Announce(alert, volume=25)
|
||||
return
|
||||
return 1
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
if(zlevel in current_map.station_levels)
|
||||
switch(severity)
|
||||
if(EVENT_LEVEL_MUNDANE)
|
||||
command_announcement.Announce("A minor electrical storm has been detected near the [location_name()]. Please watch out for possible electrical discharges.", "[location_name()] Sensor Array", new_sound = 'sound/AI/electronicoverload.ogg')
|
||||
command_announcement.Announce("A minor electrical storm has been detected near the [location_name()]. Please watch out for possible electrical discharges.", "[location_name()] Sensor Array", new_sound = 'sound/AI/electrical_storm.ogg')
|
||||
if(EVENT_LEVEL_MODERATE)
|
||||
command_announcement.Announce("The [location_name()] is about to pass through an electrical storm. Please secure sensitive electrical equipment until the storm passes.", "[location_name()] Sensor Array", new_sound = 'sound/AI/electronicoverload.ogg')
|
||||
command_announcement.Announce("The [location_name()] is about to pass through an electrical storm. Please secure sensitive electrical equipment until the storm passes.", "[location_name()] Sensor Array", new_sound = 'sound/AI/electrical_storm.ogg')
|
||||
if(EVENT_LEVEL_MAJOR)
|
||||
command_announcement.Announce("Alert. A strong electrical storm has been detected in proximity of the [location_name()]. It is recommended to immediately secure sensitive electrical equipment until the storm passes.", "[location_name()] Sensor Array", new_sound = 'sound/AI/electronicoverload.ogg')
|
||||
command_announcement.Announce("Alert. A strong electrical storm has been detected in proximity of the [location_name()]. It is recommended to immediately secure sensitive electrical equipment until the storm passes.", "[location_name()] Sensor Array", new_sound = 'sound/AI/electrical_storm.ogg')
|
||||
break
|
||||
|
||||
/datum/event/electrical_storm/start()
|
||||
|
||||
@@ -110,17 +110,17 @@
|
||||
/datum/event/meteor_wave/downed_ship/announce()
|
||||
for (var/zlevel in affecting_z)
|
||||
if(zlevel in current_map.station_levels)
|
||||
command_announcement.Announce(current_map.ship_meteor_end_message, "Ship Debris Alert", new_sound = 'sound/AI/unknownvesseldowned.ogg')
|
||||
command_announcement.Announce(current_map.ship_meteor_end_message, "Ship Debris Alert", new_sound = 'sound/AI/meteor_end_message.ogg')
|
||||
break
|
||||
|
||||
/datum/event/meteor_wave/downed_ship/start()
|
||||
command_announcement.Announce(current_map.ship_meteor_contact_message, "Ship Debris Alert")
|
||||
command_announcement.Announce(current_map.ship_meteor_contact_message, "Ship Debris Alert", new_sound = 'sound/AI/meteor_contact_message.ogg')
|
||||
|
||||
/datum/event/meteor_wave/downed_ship/end(var/faked)
|
||||
if(faked)
|
||||
return
|
||||
spawn(100)//We give 10 seconds before announcing, for the last wave of meteors to hit the station
|
||||
command_announcement.Announce(current_map.ship_meteor_end_message, "Ship Debris Alert")
|
||||
command_announcement.Announce(current_map.ship_meteor_end_message, "Ship Debris Alert", new_sound = 'sound/AI/meteor_end_message.ogg')
|
||||
|
||||
/datum/event/meteor_wave/overmap
|
||||
next_meteor_lower = 5
|
||||
@@ -136,17 +136,17 @@
|
||||
/datum/event/meteor_wave/dust/announce()
|
||||
for (var/zlevel in affecting_z)
|
||||
if(zlevel in current_map.station_levels)
|
||||
command_announcement.Announce(current_map.dust_detected_message, "Dust Belt Alert")
|
||||
command_announcement.Announce(current_map.dust_detected_message, "Dust Belt Alert", new_sound = 'sound/AI/dust_detected_message.ogg')
|
||||
break
|
||||
|
||||
/datum/event/meteor_wave/dust/start()
|
||||
command_announcement.Announce(current_map.dust_contact_message, "Dust Belt Alert")
|
||||
command_announcement.Announce(current_map.dust_contact_message, "Dust Belt Alert", new_sound = 'sound/AI/dust_contact_message.ogg')
|
||||
|
||||
/datum/event/meteor_wave/dust/end(var/faked)
|
||||
if(faked)
|
||||
return
|
||||
spawn(100)//We give 10 seconds before announcing, for the last wave of meteors to hit the station
|
||||
command_announcement.Announce(current_map.dust_end_message, "Dust Belt Alert")
|
||||
command_announcement.Announce(current_map.dust_end_message, "Dust Belt Alert", , new_sound = 'sound/AI/dust_end_message.ogg')
|
||||
|
||||
/datum/event/meteor_wave/dust/get_meteors()
|
||||
return meteors_dust
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
ic_name = "radiation"
|
||||
|
||||
/datum/event/radiation_storm/announce()
|
||||
command_announcement.Announce(current_map.radiation_detected_message, "Anomaly Alert", new_sound = 'sound/AI/radiation.ogg')
|
||||
command_announcement.Announce(current_map.radiation_detected_message, "Radiation Sensor Array Automated Alert", new_sound = 'sound/AI/radiation_detected_message.ogg')
|
||||
|
||||
/datum/event/radiation_storm/start()
|
||||
make_maint_all_access()
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
/datum/event/radiation_storm/tick()
|
||||
if(activeFor == enterBelt)
|
||||
command_announcement.Announce(current_map.radiation_contact_message, "Anomaly Alert")
|
||||
command_announcement.Announce(current_map.radiation_contact_message, "Radiation Sensor Array Automated Alert", new_sound = 'sound/AI/radiation_contact_message.ogg')
|
||||
radiate()
|
||||
|
||||
if(activeFor >= enterBelt && activeFor <= leaveBelt)
|
||||
@@ -30,7 +30,7 @@
|
||||
radiate()
|
||||
|
||||
else if(activeFor == leaveBelt)
|
||||
command_announcement.Announce(current_map.radiation_end_message, "Anomaly Alert")
|
||||
command_announcement.Announce(current_map.radiation_end_message, "Radiation Sensor Array Automated Alert", new_sound = 'sound/AI/radiation_end_message.ogg')
|
||||
lights()
|
||||
|
||||
/datum/event/radiation_storm/proc/radiate()
|
||||
|
||||
@@ -18,7 +18,15 @@
|
||||
D.disabled = rand(15, 60)
|
||||
|
||||
/datum/event/rogue_drone/announce()
|
||||
command_announcement.Announce(pick(current_map.rogue_drone_detected_messages), "Rogue drone alert", new_sound = 'sound/AI/combatdrones.ogg')
|
||||
var/message_index = rand(1, length(current_map.rogue_drone_detected_messages))
|
||||
var/message = current_map.rogue_drone_detected_messages[message_index]
|
||||
var/list/possible_sounds = list('sound/AI/rogue_drone_detected_message_1.ogg', 'sound/AI/rogue_drone_detected_message_2.ogg')
|
||||
var/our_sound
|
||||
if(length(current_map.rogue_drone_detected_messages > possible_sounds))
|
||||
our_sound = possible_sounds[message_index]
|
||||
else
|
||||
our_sound = possible_sounds[1]
|
||||
command_announcement.Announce(message, "Rogue Drone Alert", new_sound = our_sound)
|
||||
|
||||
/datum/event/rogue_drone/end(var/faked)
|
||||
var/num_recovered = 0
|
||||
@@ -30,6 +38,6 @@
|
||||
|
||||
if(!faked)
|
||||
if(num_recovered > length(drones_list) * 0.75)
|
||||
command_announcement.Announce(current_map.rogue_drone_end_message, "Rogue drone alert")
|
||||
command_announcement.Announce(current_map.rogue_drone_end_message, "Rogue Drone Alert", new_sound = 'sound/AI/rogue_drone_end_message.ogg')
|
||||
else
|
||||
command_announcement.Announce(current_map.rogue_drone_destroyed_message, "Rogue drone alert")
|
||||
command_announcement.Announce(current_map.rogue_drone_destroyed_message, "Rogue Drone Alert", new_sound = 'sound/AI/rogue_drone_destroyed_message.ogg')
|
||||
|
||||
Reference in New Issue
Block a user