2023-04-10 15:37:03 +10:00
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Spreader;
|
|
|
|
|
|
2024-02-26 04:36:19 +01:00
|
|
|
[RegisterComponent, Access(typeof(KudzuSystem)), AutoGenerateComponentPause]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class GrowingKudzuComponent : Component
|
2023-04-10 15:37:03 +10:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The next time kudzu will try to tick its growth level.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("nextTick", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
2024-02-26 04:36:19 +01:00
|
|
|
[AutoPausedField]
|
2023-04-10 15:37:03 +10:00
|
|
|
public TimeSpan NextTick = TimeSpan.Zero;
|
|
|
|
|
}
|