namespace Content.Shared._NF.Shipyard.Components;
///
/// A component that disables the sale of the ship it's on from a shipyard console.
///
[RegisterComponent]
public sealed partial class ShipyardSellConditionComponent : Component
{
///
/// Whether this item is preserved on shipyard sale.
///
[DataField]
public bool PreserveOnSale = false;
///
/// Whether this item prevents shipyard sale.
///
[DataField]
public bool BlockSale = false;
///
/// The message to print off when a shipyard sale is disabled.
///
[DataField]
public LocId? Reason;
///
/// The console types that should allow selling this object if BlockSale is true.
///
[DataField]
public List AllowedShipyardTypes = new();
}