Make departmental orders consoles print slips (#36944)
* Make departmental orders consoles print slips * feed back cycle
This commit is contained in:
committed by
GitHub
parent
f73f6d4467
commit
cfba56c2b4
41
Content.Shared/Cargo/Components/CargoSlipComponent.cs
Normal file
41
Content.Shared/Cargo/Components/CargoSlipComponent.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using Content.Shared.Cargo.Prototypes;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Cargo.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Holds data for an order slip required for insertion into a console
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class CargoSlipComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The requested product
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public ProtoId<CargoProductPrototype> Product;
|
||||
|
||||
/// <summary>
|
||||
/// The provided value for the requester form field
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string Requester;
|
||||
|
||||
/// <summary>
|
||||
/// The provided value for the reason form field
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string Reason;
|
||||
|
||||
/// <summary>
|
||||
/// How many of the product to order
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public int OrderQuantity;
|
||||
|
||||
/// <summary>
|
||||
/// How many of the product to order
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public ProtoId<CargoAccountPrototype> Account;
|
||||
}
|
||||
Reference in New Issue
Block a user