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]
|
|
|
|
|
public sealed class LatheProducingComponent : Component
|
2022-04-17 03:34:14 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-09-16 19:49:05 -04:00
|
|
|
/// How much production time has passed, in seconds.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float AccumulatedTime;
|
2022-04-17 03:34:14 -04:00
|
|
|
}
|
2022-09-16 19:49:05 -04:00
|
|
|
|