Cargo Bounties (#17344)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
20
Content.Server/Cargo/Components/CargoBountyLabelComponent.cs
Normal file
20
Content.Server/Cargo/Components/CargoBountyLabelComponent.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Content.Server.Cargo.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for marking containers as
|
||||
/// containing goods for fulfilling bounties.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class CargoBountyLabelComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The ID for the bounty this label corresponds to.
|
||||
/// </summary>
|
||||
[DataField("id"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public int Id;
|
||||
|
||||
/// <summary>
|
||||
/// Used to prevent recursion in calculating the price.
|
||||
/// </summary>
|
||||
public bool Calculating;
|
||||
}
|
||||
Reference in New Issue
Block a user