* Add PreventFTLComponent and changed FTL check
* Remove component body.
---------
Co-authored-by: Milon <milonpl.git@proton.me>
}
}
- if (HasComp<PreventPilotComponent>(shuttleUid))
+ if (HasComp<PreventPilotComponent>(shuttleUid) || HasComp<PreventFTLComponent>(shuttleUid))
{
reason = Loc.GetString("shuttle-console-prevent");
return false;
--- /dev/null
+using Robust.Shared.GameStates;
+
+namespace Content.Shared.Shuttles.Components;
+
+/// <summary>
+/// Add to grids that you do not want to FTL, but still might want to pilot.
+/// </summary>
+[RegisterComponent, NetworkedComponent]
+public sealed partial class PreventFTLComponent : Component;