21 lines
569 B
C#
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;
|
|
}
|