fish-station/Content.Shared/_Starlight/Medical/Items/Components/PatchUserComponent.cs
Vigers Ray b52f640b5a
Порт стрельбы со старлайна (#2640)
Co-authored-by: KaiserMaus <kaiser.ratte@gmail.com>
2025-08-08 22:25:02 +03:00

20 lines
No EOL
593 B
C#

using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
using Content.Shared.Chemistry.Reagent;
namespace Content.Shared.Starlight.Medical.Items.Components;
[RegisterComponent]
public sealed partial class PatchUserComponent : Component
{
[DataField]
public List<ReagentQuantity> ReagentsToInsert = new();
[DataField("nextUpdate", customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextUpdateTime;
[DataField]
public TimeSpan Delay = TimeSpan.FromSeconds(1);
[DataField]
public float ReagentInjectAmount = 0.5f;
}