23 lines
572 B
C#
23 lines
572 B
C#
namespace Content.Shared.Cargo.Components;
|
|
|
|
/// <summary>
|
|
/// This is used for pricing stacks of items.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class StackPriceComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The price of the object this component is on, per unit.
|
|
/// </summary>
|
|
[DataField("price", required: true)]
|
|
public double Price;
|
|
|
|
// Frontier: vend price
|
|
/// <summary>
|
|
/// The price a full stack of this object sells for from a vendor.
|
|
/// </summary>
|
|
[DataField]
|
|
public double VendPrice;
|
|
// End Frontier
|
|
}
|