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:
@@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
using Content.Shared.GameObjects.Verbs;
|
||||
using Robust.Server.Console;
|
||||
using Robust.Server.GameObjects;
|
||||
@@ -33,6 +33,7 @@ namespace Content.Server.GlobalVerbs
|
||||
data.Text = Loc.GetString("Delete");
|
||||
data.CategoryData = VerbCategories.Debug;
|
||||
data.Visibility = VerbVisibility.Visible;
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/delete.svg.96dpi.png";
|
||||
}
|
||||
|
||||
public override void Activate(IEntity user, IEntity target)
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace Content.Server.GlobalVerbs
|
||||
data.Visibility = VerbVisibility.Visible;
|
||||
data.Text = Loc.GetString("Make Sentient");
|
||||
data.CategoryData = VerbCategories.Debug;
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/sentient.svg.96dpi.png";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Content.Server.GameObjects.Components.Pointing;
|
||||
using Content.Server.GameObjects.Components.Pointing;
|
||||
using Content.Server.GameObjects.EntitySystems;
|
||||
using Content.Shared.GameObjects.Verbs;
|
||||
using Robust.Server.GameObjects;
|
||||
@@ -18,6 +18,7 @@ namespace Content.Server.GlobalVerbs
|
||||
public override void GetData(IEntity user, IEntity target, VerbData data)
|
||||
{
|
||||
data.Visibility = VerbVisibility.Invisible;
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/point.svg.96dpi.png";
|
||||
|
||||
if (!user.HasComponent<IActorComponent>())
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Content.Server.GameObjects.Components.Atmos;
|
||||
using Content.Server.GameObjects.Components.Atmos;
|
||||
using Content.Server.GameObjects.Components.Mobs;
|
||||
using Content.Server.GameObjects.Components.Nutrition;
|
||||
using Content.Shared.GameObjects.Components.Damage;
|
||||
@@ -26,6 +26,7 @@ namespace Content.Server.GlobalVerbs
|
||||
data.Text = Loc.GetString("Rejuvenate");
|
||||
data.CategoryData = VerbCategories.Debug;
|
||||
data.Visibility = VerbVisibility.Invisible;
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/rejuvenate.svg.96dpi.png";
|
||||
|
||||
var groupController = IoCManager.Resolve<IConGroupController>();
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace Content.Server.GlobalVerbs
|
||||
{
|
||||
data.CategoryData = VerbCategories.Debug;
|
||||
data.Visibility = VerbVisibility.Invisible;
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/anchor.svg.96dpi.png";
|
||||
|
||||
var groupController = IoCManager.Resolve<IConGroupController>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user