Default warp point names (#21017)

This commit is contained in:
Leon Friedrich
2023-10-16 16:39:39 +11:00
committed by GitHub
parent 422544035d
commit 1f0c9314fd
6 changed files with 53 additions and 21 deletions

View File

@@ -6,12 +6,13 @@ namespace Content.Server.Warps
[RegisterComponent]
public sealed partial class WarpPointComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)] [DataField("location")] public string? Location { get; set; }
[ViewVariables(VVAccess.ReadWrite), DataField]
public string? Location;
/// <summary>
/// If true, ghosts warping to this entity will begin following it.
/// </summary>
[DataField("follow")]
public bool Follow = false;
[DataField]
public bool Follow;
}
}