Files
tbd-station-14/Content.Shared/Research/Components/ResearchStealerComponent.cs
Nemanja 3b9c5d43ec Nerf ninja research stealing (#26421)
* nerf ninja steal objective

* fubar
2024-03-26 11:52:27 +11:00

30 lines
884 B
C#

using Content.Shared.Research.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.Research.Components;
/// <summary>
/// Component for stealing technologies from a R&D server, when gloves are enabled.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SharedResearchStealerSystem))]
public sealed partial class ResearchStealerComponent : Component
{
/// <summary>
/// Time taken to steal research from a server
/// </summary>
[DataField("delay"), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan Delay = TimeSpan.FromSeconds(20);
/// <summary>
/// The minimum number of technologies that will be stolen
/// </summary>
[DataField]
public int MinToSteal = 4;
/// <summary>
/// The maximum number of technologies that will be stolen
/// </summary>
[DataField]
public int MaxToSteal = 8;
}