Files
tbd-station-14/Content.Server/Cargo/Components/CargoBountyLabelComponent.cs
blueDev2 4d9a79d96b Allow cargo bounties to be sold off-station (#26469)
* Ported over code for delta-v to fix bounties

* Added requested changes

* Removed the station arg from "IsBountyComplete". It is unneeded and all calls just use a null value for it anyways
2024-03-28 15:06:00 +11:00

29 lines
758 B
C#

using Content.Server.Station.Systems;
namespace Content.Server.Cargo.Components;
/// <summary>
/// This is used for marking containers as
/// containing goods for fulfilling bounties.
/// </summary>
[RegisterComponent]
public sealed partial class CargoBountyLabelComponent : Component
{
/// <summary>
/// The ID for the bounty this label corresponds to.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public string Id = string.Empty;
/// <summary>
/// Used to prevent recursion in calculating the price.
/// </summary>
public bool Calculating;
/// <summary>
/// The Station System to check and remove bounties from
/// </summary>
[DataField]
public EntityUid? AssociatedStationId;
}