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

@@ -472,6 +472,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
}
data.Text = Loc.GetString(component.Open ? "Close" : "Open");
data.IconTexture = component.Open ? "/Textures/Interface/VerbIcons/close.svg.96dpi.png" : "/Textures/Interface/VerbIcons/open.svg.96dpi.png";
}
void IExAct.OnExplosion(ExplosionEventArgs eventArgs)

View File

@@ -112,7 +112,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
return;
}
data.Text = Loc.GetString("Pick Up");
data.Text = Loc.GetString("Pick up");
}
protected override void Activate(IEntity user, ItemComponent component)

View File

@@ -1,4 +1,4 @@
using Content.Server.GameObjects.Components.Access;
using Content.Server.GameObjects.Components.Access;
using Content.Shared.GameObjects.Components.Storage;
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
using Content.Shared.GameObjects.Verbs;
@@ -77,6 +77,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
if (Locked)
{
data.Visibility = VerbVisibility.Invisible;
return;
}