* Work on abstracting out chargeup functionality/ui from grav gen * Work on station anchor * Finish implementing station anchors * uhh yeah * ok. * fix tests * whoops * Get the last extraneous yaml fail * PJB review * beast mode... ACTIVATE! --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com> Co-authored-by: EmoGarbage404 <retron404@gmail.com>
21 lines
726 B
C#
21 lines
726 B
C#
using Content.Shared.Gravity;
|
|
using Content.Shared.Construction.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Gravity
|
|
{
|
|
[RegisterComponent]
|
|
[Access(typeof(GravityGeneratorSystem))]
|
|
public sealed partial class GravityGeneratorComponent : SharedGravityGeneratorComponent
|
|
{
|
|
[DataField("lightRadiusMin")] public float LightRadiusMin { get; set; }
|
|
[DataField("lightRadiusMax")] public float LightRadiusMax { get; set; }
|
|
|
|
/// <summary>
|
|
/// Is the gravity generator currently "producing" gravity?
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public bool GravityActive { get; set; } = false;
|
|
}
|
|
}
|