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>
This commit is contained in:
39
Content.Shared/Cargo/Prototypes/CargoAccountPrototype.cs
Normal file
39
Content.Shared/Cargo/Prototypes/CargoAccountPrototype.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using Content.Shared.Radio;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Cargo.Prototypes;
|
||||
|
||||
/// <summary>
|
||||
/// This is a prototype for a single account that stores money on StationBankAccountComponent
|
||||
/// </summary>
|
||||
[Prototype]
|
||||
public sealed partial class CargoAccountPrototype : IPrototype
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
[IdDataField]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Full IC name of the account.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public LocId Name;
|
||||
|
||||
/// <summary>
|
||||
/// A shortened code used to refer to the account in UIs
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public LocId Code;
|
||||
|
||||
/// <summary>
|
||||
/// Color corresponding to the account.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public Color Color;
|
||||
|
||||
/// <summary>
|
||||
/// Channel used for announcing transactions.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public ProtoId<RadioChannelPrototype> RadioChannel;
|
||||
}
|
||||
Reference in New Issue
Block a user