* Revert "Add weightlessness status effect. (#2384)"
This reverts commit 9b751fc079.
* Bring back the icon and status
* Make weightless status track gravity and parent
18 lines
393 B
C#
18 lines
393 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Content.Shared.GameObjects.EntitySystemMessages.Gravity
|
|
{
|
|
public class GravityChangedMessage : EntitySystemMessage
|
|
{
|
|
public GravityChangedMessage(IMapGrid grid)
|
|
{
|
|
Grid = grid;
|
|
}
|
|
|
|
public IMapGrid Grid { get; }
|
|
|
|
public bool HasGravity => Grid.HasGravity;
|
|
}
|
|
}
|