Cargo: pizza & bureaucracy (#5123)

* add paper label component

* git mv

* rename namespace

* add cargo printouts

* more crates

* directly attach paper

* comment typo
This commit is contained in:
Leon Friedrich
2021-11-11 02:15:23 +13:00
committed by GitHub
parent b8d8f48b11
commit 88df3d8b10
33 changed files with 384 additions and 162 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using Robust.Shared.Serialization;
namespace Content.Shared.Cargo
@@ -15,6 +15,7 @@ namespace Content.Shared.Cargo
public int Amount;
public int PayingAccountId;
public bool Approved;
public string Approver = string.Empty;
public CargoOrderData(int orderNumber, string requester, string reason, string productId, int amount, int payingAccountId)
{
@@ -24,7 +25,6 @@ namespace Content.Shared.Cargo
ProductId = productId;
Amount = amount;
PayingAccountId = payingAccountId;
Approved = false;
}
}
}

View File

@@ -2,7 +2,7 @@ using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
namespace Content.Shared.HandLabeler
namespace Content.Shared.Labels
{
/// <summary>
/// Key representing which <see cref="BoundUserInterface"/> is currently open.
@@ -14,6 +14,12 @@ namespace Content.Shared.HandLabeler
Key,
}
[Serializable, NetSerializable]
public enum PaperLabelVisuals
{
HasLabel,
}
/// <summary>
/// Represents a <see cref="HandLabelerComponent"/> state that can be sent to the client
/// </summary>

View File

@@ -17,10 +17,4 @@ namespace Content.Shared.Morgue
{
Burning,
}
[Serializable, NetSerializable]
public enum BodyBagVisuals
{
Label,
}
}