* add tooltips to agentid job icons * forgot to stage this * make StatusIconPrototype abstract * minor visual improvements * cleanup * use currentculture to sort job names * review
29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
using Content.Shared.Antag;
|
|
using Robust.Shared.GameStates;
|
|
using Content.Shared.StatusIcon;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Shared.Revolutionary.Components;
|
|
|
|
/// <summary>
|
|
/// Used for marking regular revs as well as storing icon prototypes so you can see fellow revs.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedRevolutionarySystem))]
|
|
public sealed partial class RevolutionaryComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The status icon prototype displayed for revolutionaries
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public ProtoId<FactionIconPrototype> StatusIcon { get; set; } = "RevolutionaryFaction";
|
|
|
|
/// <summary>
|
|
/// Sound that plays when you are chosen as Rev. (Placeholder until I find something cool I guess)
|
|
/// </summary>
|
|
[DataField]
|
|
public SoundSpecifier RevStartSound = new SoundPathSpecifier("/Audio/Ambience/Antag/headrev_start.ogg");
|
|
|
|
public override bool SessionSpecific => true;
|
|
}
|