Gravity "Inherent" property for planet maps (#16695)

This commit is contained in:
20kdc
2023-07-16 20:01:54 +01:00
committed by GitHub
parent 99e6f8f0bc
commit 69ff0ae2e6
3 changed files with 17 additions and 1 deletions

View File

@@ -27,5 +27,12 @@ namespace Content.Shared.Gravity
[DataField("enabled")]
public bool Enabled;
/// <summary>
/// Inherent gravity ensures GravitySystem won't change Enabled according to the gravity generators attached to this entity.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("inherent")]
public bool Inherent;
}
}