uplink ringtone code + minor cleanup (#15277)
* uplink ringtone code + minor cleanup * show uplink code in character menu * no log * rgbee * no red --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
18
Content.Server/PDA/Ringer/RingerUplinkComponent.cs
Normal file
18
Content.Server/PDA/Ringer/RingerUplinkComponent.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Shared.PDA;
|
||||
|
||||
namespace Content.Server.PDA.Ringer;
|
||||
|
||||
/// <summary>
|
||||
/// Opens the store ui when the ringstone is set to the secret code.
|
||||
/// Traitors are told the code when greeted.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(RingerSystem))]
|
||||
public sealed class RingerUplinkComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Notes to set ringtone to in order to open the uplink.
|
||||
/// Automatically initialized to random notes.
|
||||
/// </summary>
|
||||
[DataField("code")]
|
||||
public Note[] Code = new Note[RingerSystem.RingtoneLength];
|
||||
}
|
||||
Reference in New Issue
Block a user