Logo
Explore Help
Sign In
juni/crystall-punk-14
1
0
Fork 0
You've already forked crystall-punk-14
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
c7c2e7265b0f61b98ba4fba55b3c860cc8d7c284
crystall-punk-14/Content.Server/Cargo/Components/StackPriceComponent.cs

15 lines
373 B
C#
Raw Normal View History

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.
2022-06-03 10:56:11 -05:00
namespace Content.Server.Cargo.Components;
/// <summary>
/// This is used for pricing stacks of items.
/// </summary>
[RegisterComponent]
Refactor serialization copying to use source generators (#19412)
2023-08-22 18:14:33 -07:00
public sealed partial class StackPriceComponent : Component
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.
2022-06-03 10:56:11 -05:00
{
/// <summary>
/// The price of the object this component is on, per unit.
/// </summary>
[DataField("price", required: true)]
public double Price;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 258ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API