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:
@@ -25,6 +25,7 @@ namespace Content.Client.Entry
|
||||
"MeleeWeapon",
|
||||
"MeleeChemicalInjector",
|
||||
"Dice",
|
||||
"PaperLabel",
|
||||
"Construction",
|
||||
"PoweredLight",
|
||||
"Smes",
|
||||
|
||||
@@ -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.
|
||||
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user