Implements item pricing, and piracy. (#8548)
* 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.
This commit is contained in:
14
Content.Server/Cargo/Components/StackPriceComponent.cs
Normal file
14
Content.Server/Cargo/Components/StackPriceComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Content.Server.Cargo.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for pricing stacks of items.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class StackPriceComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The price of the object this component is on, per unit.
|
||||
/// </summary>
|
||||
[DataField("price", required: true)]
|
||||
public double Price;
|
||||
}
|
||||
Reference in New Issue
Block a user