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
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace Content.Server.Cargo.Components;
|
||||
using Content.Server.Station.Systems;
|
||||
|
||||
namespace Content.Server.Cargo.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for marking containers as
|
||||
@@ -17,4 +19,10 @@ public sealed partial class CargoBountyLabelComponent : Component
|
||||
/// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user