Buckle/Unbuckle icons (#3014)

This commit is contained in:
20kdc
2021-01-17 14:41:52 +00:00
committed by GitHub
parent 5a248bdd86
commit f85fc6b370
5 changed files with 258 additions and 0 deletions

View File

@@ -213,6 +213,7 @@ namespace Content.Server.GameObjects.Components.Strap
}
data.Visibility = VerbVisibility.Visible;
data.IconTexture = buckle.BuckledTo == null ? "/Textures/Interface/VerbIcons/buckle.svg.96dpi.png" : "/Textures/Interface/VerbIcons/unbuckle.svg.96dpi.png";
data.Text = Loc.GetString(buckle.BuckledTo == null ? "Buckle" : "Unbuckle");
}