| 1234567891011121314151617181920 |
- 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;
- }
- }
|