mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Teleport scroll whitelist * Stupid * review review * Update dat_fukken_disk.yml * NinjaWhitelist * uuuupdate * Update station_beacon.yml * Update emergency_amber.yml * Update Resources/Prototypes/Entities/Markers/warp_point.yml Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com> * request * Revert tags * Apply suggestions from code review Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --------- Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
19 lines
447 B
C#
19 lines
447 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Warps;
|
|
|
|
/// <summary>
|
|
/// Allows ghosts etc to warp to this entity by name.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class WarpPointComponent : Component
|
|
{
|
|
[DataField]
|
|
public string? Location;
|
|
|
|
/// <summary>
|
|
/// If true, ghosts warping to this entity will begin following it.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool Follow;
|
|
}
|