mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* Departmental Economy (#36445) * Cargo Accounts, Request Consoles, and lock boxes * Funding Allocation Computer * final changes * test fix * remove dumb code * ScarKy0 review * first cour * second cour * Update machines.yml * review --------- Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Co-authored-by: Milon <milonpl.git@proton.me> (cherry picked from commit12b75beeab) * Fix station income instantly accumulating roundstart (#36572) Fix station money accumulating roundstart (cherry picked from commited3e4c7d4e) * DeltaV departmental economy --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
25 lines
479 B
C#
25 lines
479 B
C#
namespace Content.Server.Cargo.Components;
|
|
|
|
/// <summary>
|
|
/// Any entities intersecting when a shuttle is recalled will be sold.
|
|
/// </summary>
|
|
|
|
[Flags]
|
|
public enum BuySellType : byte
|
|
{
|
|
Buy = 1 << 0,
|
|
Sell = 1 << 1,
|
|
All = Buy | Sell
|
|
}
|
|
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class CargoPalletComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether the pad is a buy pad, a sell pad, or all.
|
|
/// </summary>
|
|
[DataField]
|
|
public BuySellType PalletType;
|
|
}
|