2024-03-28 00:06:00 -04:00
|
|
|
using Content.Server.Station.Systems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Cargo.Components;
|
2023-06-22 07:49:33 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is used for marking containers as
|
|
|
|
|
/// containing goods for fulfilling bounties.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class CargoBountyLabelComponent : Component
|
2023-06-22 07:49:33 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The ID for the bounty this label corresponds to.
|
|
|
|
|
/// </summary>
|
2024-01-03 19:34:47 -05:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public string Id = string.Empty;
|
2023-06-22 07:49:33 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to prevent recursion in calculating the price.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool Calculating;
|
2024-03-28 00:06:00 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The Station System to check and remove bounties from
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public EntityUid? AssociatedStationId;
|
2023-06-22 07:49:33 -04:00
|
|
|
}
|