6
2025-11-03 10:15:18 +03:00

21 lines
569 B
C#

namespace Content.Shared.Cargo.Components;
/// <summary>
/// This is used for setting a static, unchanging price for an object.
/// </summary>
[RegisterComponent]
public sealed partial class StaticPriceComponent : Component
{
/// <summary>
/// The price of the object this component is on.
/// </summary>
[DataField("price", required: true)]
public double Price;
/// <summary>
/// Frontier - The price of the object this component is on when buying from a vending machine.
/// </summary>
[DataField]
public double VendPrice;
}