2021-05-28 10:44:13 +01:00
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Robust.Shared.ViewVariables;
|
2021-05-28 10:44:13 +01:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Singularity.Components
|
2021-05-28 10:44:13 +01:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Overrides exactly how much energy this object gives to a singularity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class SinguloFoodComponent : Component
|
2021-05-28 10:44:13 +01:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("energy")]
|
|
|
|
|
public int Energy { get; set; } = 1;
|
|
|
|
|
}
|
|
|
|
|
}
|