Files
wwdpublic/Content.Server/StationEvents/Components/ClericalErrorRuleComponent.cs
Nemanja 98530a63dc clerical error station event (#23091)
(cherry picked from commit 3e08fe07cd4eae61b6518660ec466b8015db799e)
2024-01-22 18:47:30 +01:00

24 lines
757 B
C#

using Content.Server.StationEvents.Events;
namespace Content.Server.StationEvents.Components;
/// <summary>
/// This is a station event that randomly removes some records from the station record database.
/// </summary>
[RegisterComponent]
[Access(typeof(ClericalErrorRule))]
public sealed partial class ClericalErrorRuleComponent : Component
{
/// <summary>
/// The minimum percentage number of records to remove from the station.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float MinToRemove = 0.0025f;
/// <summary>
/// The maximum percentage number of records to remove from the station.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float MaxToRemove = 0.1f;
}