Chill bounties + fixes (#23411)
* Chill bounties + fixes * localize * fix arbitage
This commit is contained in:
@@ -11,37 +11,25 @@ public sealed partial class StationCargoBountyDatabaseComponent : Component
|
||||
/// <summary>
|
||||
/// Maximum amount of bounties a station can have.
|
||||
/// </summary>
|
||||
[DataField("maxBounties"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public int MaxBounties = 3;
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public int MaxBounties = 5;
|
||||
|
||||
/// <summary>
|
||||
/// A list of all the bounties currently active for a station.
|
||||
/// </summary>
|
||||
[DataField("bounties"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public List<CargoBountyData> Bounties = new();
|
||||
|
||||
/// <summary>
|
||||
/// Used to determine unique order IDs
|
||||
/// </summary>
|
||||
[DataField("totalBounties")]
|
||||
[DataField]
|
||||
public int TotalBounties;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum amount of time the bounty lasts before being removed.
|
||||
/// </summary>
|
||||
[DataField("minBountyTime"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MinBountyTime = 600f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum amount of time the bounty lasts before being removed.
|
||||
/// </summary>
|
||||
[DataField("maxBountyTime"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxBountyTime = 905f;
|
||||
|
||||
/// <summary>
|
||||
/// A list of bounty IDs that have been checked this tick.
|
||||
/// Used to prevent multiplying bounty prices.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public HashSet<int> CheckedBounties = new();
|
||||
public HashSet<string> CheckedBounties = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user