Adds a bunch of UI icons for verbs. (#3007)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
Swept
2021-03-14 13:23:32 +00:00
committed by GitHub
parent 13afec5f76
commit 3dba752193
84 changed files with 1469 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
#nullable enable
#nullable enable
using System;
using Content.Server.GameObjects.Components.GUI;
using Content.Server.GameObjects.Components.Items.Storage;
@@ -187,11 +187,13 @@ namespace Content.Server.GameObjects.Components.Power
if (component.Cell == null)
{
data.Text = Loc.GetString("Eject cell (cell missing)");
data.Text = Loc.GetString("No cell");
data.Visibility = VerbVisibility.Disabled;
}
else
{
data.Text = Loc.GetString("Eject cell");
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
}
if (component.Cell == null || !component.CanRemoveCell)