27 lines
772 B
C#
27 lines
772 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Jaunt;
|
|
|
|
/// <summary>
|
|
/// Used to control various aspects of a Jaunt.
|
|
/// Can be used in place of giving a jaunt-action directly.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class JauntComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Which Jaunt Action the component should grant.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntProtoId JauntAction = "ActionPolymorphJaunt";
|
|
|
|
/// <summary>
|
|
/// The jaunt action itself.
|
|
/// </summary>
|
|
public EntityUid? Action;
|
|
|
|
// TODO: Enter & Exit Times and Whitelist when Actions are reworked and can support it
|
|
// TODO: Cooldown pausing when Actions can support it
|
|
}
|