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

@@ -25,6 +25,7 @@ namespace Content.Client.Entry
"MeleeWeapon",
"MeleeChemicalInjector",
"Dice",
"PaperLabel",
"Construction",
"PoweredLight",
"Smes",

View File

@@ -1,8 +1,8 @@
using Content.Shared.HandLabeler;
using Content.Shared.Labels;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
namespace Content.Client.HandLabeler.UI
namespace Content.Client.Labels.UI
{
/// <summary>
/// Initializes a <see cref="HandLabelerWindow"/> and updates it when new server messages are received.

View File

@@ -4,7 +4,7 @@ using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client.HandLabeler.UI
namespace Content.Client.Labels.UI
{
[GenerateTypedNameReferences]
public partial class HandLabelerWindow : SS14Window

View File

@@ -1,4 +1,4 @@
using Content.Shared.Morgue;
using Content.Shared.Labels;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
@@ -16,7 +16,7 @@ namespace Content.Client.Morgue.Visualizers
return;
}
if (component.TryGetData(BodyBagVisuals.Label, out bool labelVal))
if (component.TryGetData(PaperLabelVisuals.HasLabel, out bool labelVal))
{
sprite.LayerSetVisible(BodyBagVisualLayers.Label, labelVal);
}