2022-09-16 19:49:05 -04:00
|
|
|
namespace Content.Server.Lathe.Components;
|
2022-08-04 12:38:56 +12:00
|
|
|
|
2022-09-16 19:49:05 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// For EntityQuery to keep track of which lathes are producing
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class LatheProducingComponent : Component
|
2022-04-17 03:34:14 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-10-30 03:12:11 -04:00
|
|
|
/// The time at which production began
|
2022-09-16 19:49:05 -04:00
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-10-30 03:12:11 -04:00
|
|
|
public TimeSpan StartTime;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// How long it takes to produce the recipe.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public TimeSpan ProductionLength;
|
2022-04-17 03:34:14 -04:00
|
|
|
}
|
2022-09-16 19:49:05 -04:00
|
|
|
|