Logo
Explore Help
Register Sign In
Cinka/OldThink
1
0
Fork 0
You've already forked OldThink
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
master
OldThink/Content.Server/Cargo/Components/StackPriceComponent.cs

15 lines
373 B
C#
Raw Permalink 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.3 Page: 3602ms Template: 28ms
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