using Robust.Shared.GameStates;
using Robust.Shared.Map;
namespace Content.Shared.Civ14.SleepZone;
///
/// Enables an entity to go to sleep in the safezone.
///
[RegisterComponent, NetworkedComponent]
public sealed partial class SleepZoneComponent : Component
{
///
/// The original coordinates the entity was teleported from.
///
[DataField("origin"), NeverPushInheritance] // Prevent prototype system from copying this during creation
public EntityCoordinates? Origin; // Needs to be nullable
///
/// Is the entity currently in the sleep zone?
///
[DataField("isSleeping")]
public bool IsSleeping = false;
}