CatStation/Content.Shared/Warps/WarpPointComponent.cs
Голубь d15d16651f
Teleport scroll and ninja bomb whitelist and blacklist (#40758)
* 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>
2026-06-30 22:47:15 +00:00

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