* Start implementing item pricing. * Flesh out prices a bit, add the appraisal tool. * Add prices to more things. * YARRRRRRR * gives pirates an appraisal tool in their pocket. * Makes the various traitor objectives valuable. Also nerfs the price of a living person, so it's easier to bargain for them. * Address reviews. * Address reviews.
15 lines
381 B
C#
15 lines
381 B
C#
namespace Content.Server.Cargo.Components;
|
|
|
|
/// <summary>
|
|
/// This is used for setting a static, unchanging price for an object.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class StaticPriceComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The price of the object this component is on.
|
|
/// </summary>
|
|
[DataField("price", required: true)]
|
|
public double Price;
|
|
}
|