* add new sound files, update audio paths and other minor changes - Add new sound files for shuttle announcements and sierra alert level - Update audio paths to use _Fish directory instead of default locations - Enable previously commented out audio playback for shuttle events - Update alert level announcement text to include biological threat warning - Modify ID card and PDA prototypes for special operations and oversight roles * add audio file attributions for fish resources Add license, copyright, and source information for audio files in the Fish resources directory. This ensures proper attribution and compliance with licensing requirements. * remove security pod spawners and mech prototypes The security pod spawners and mech prototypes were commented out to prevent them from being returned to games as requested by vinogradragden. This change affects both the migration configuration and the prototype definitions. * update attributions.yml with formatted sources * update audio file attributions with consolidated sources Simplify attribution format by merging sources into copyright field and removing redundant entries
60 lines
2.3 KiB
C#
60 lines
2.3 KiB
C#
using Content.Server.Shuttles.Systems;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
/// <summary>
|
|
/// This is used for controlling evacuation for a station.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class StationEmergencyShuttleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The emergency shuttle assigned to this station.
|
|
/// </summary>
|
|
[DataField, Access(typeof(ShuttleSystem), typeof(EmergencyShuttleSystem), Friend = AccessPermissions.ReadWrite)]
|
|
public EntityUid? EmergencyShuttle;
|
|
|
|
/// <summary>
|
|
/// Emergency shuttle map path for this station.
|
|
/// </summary>
|
|
[DataField("emergencyShuttlePath", customTypeSerializer: typeof(ResPathSerializer))]
|
|
public ResPath EmergencyShuttlePath { get; set; } = new("/Maps/_Sunrise/Shuttles/emergency.yml"); // Sunrise-Edit
|
|
|
|
/// <summary>
|
|
/// The announcement made when the shuttle has successfully docked with the station.
|
|
/// </summary>
|
|
public LocId DockedAnnouncement = "emergency-shuttle-docked";
|
|
|
|
/// <summary>
|
|
/// Sound played when the shuttle has successfully docked with the station.
|
|
/// </summary>
|
|
public SoundSpecifier DockedAudio = new SoundPathSpecifier("/Audio/_Fish/Announcements/shuttle_dock.ogg"); //Fish-edit
|
|
|
|
/// <summary>
|
|
/// The announcement made when the shuttle is unable to dock and instead parks in nearby space.
|
|
/// </summary>
|
|
public LocId NearbyAnnouncement = "emergency-shuttle-nearby";
|
|
|
|
/// <summary>
|
|
/// Sound played when the shuttle is unable to dock and instead parks in nearby space.
|
|
/// </summary>
|
|
public SoundSpecifier NearbyAudio = new SoundPathSpecifier("/Audio/Misc/notice1.ogg");
|
|
|
|
/// <summary>
|
|
/// The announcement made when the shuttle is unable to find a station.
|
|
/// </summary>
|
|
public LocId FailureAnnouncement = "emergency-shuttle-good-luck";
|
|
|
|
/// <summary>
|
|
/// Sound played when the shuttle is unable to find a station.
|
|
/// </summary>
|
|
public SoundSpecifier FailureAudio = new SoundPathSpecifier("/Audio/Misc/notice1.ogg");
|
|
|
|
/// <summary>
|
|
/// Text appended to the docking announcement if the launch time has been extended.
|
|
/// </summary>
|
|
public LocId LaunchExtendedMessage = "emergency-shuttle-extended";
|
|
}
|