From f85fc6b37068772af65aaa84c8b788181dc985f3 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Sun, 17 Jan 2021 14:41:52 +0000 Subject: [PATCH] Buckle/Unbuckle icons (#3014) --- .../Components/Strap/StrapComponent.cs | 1 + .../Textures/Interface/VerbIcons/buckle.svg | 135 ++++++++++++++++++ .../Interface/VerbIcons/buckle.svg.96dpi.png | Bin 0 -> 545 bytes .../Textures/Interface/VerbIcons/unbuckle.svg | 122 ++++++++++++++++ .../VerbIcons/unbuckle.svg.96dpi.png | Bin 0 -> 516 bytes 5 files changed, 258 insertions(+) create mode 100644 Resources/Textures/Interface/VerbIcons/buckle.svg create mode 100644 Resources/Textures/Interface/VerbIcons/buckle.svg.96dpi.png create mode 100644 Resources/Textures/Interface/VerbIcons/unbuckle.svg create mode 100644 Resources/Textures/Interface/VerbIcons/unbuckle.svg.96dpi.png diff --git a/Content.Server/GameObjects/Components/Strap/StrapComponent.cs b/Content.Server/GameObjects/Components/Strap/StrapComponent.cs index a9a08ec31a..2642207c28 100644 --- a/Content.Server/GameObjects/Components/Strap/StrapComponent.cs +++ b/Content.Server/GameObjects/Components/Strap/StrapComponent.cs @@ -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"); } diff --git a/Resources/Textures/Interface/VerbIcons/buckle.svg b/Resources/Textures/Interface/VerbIcons/buckle.svg new file mode 100644 index 0000000000..6039683829 --- /dev/null +++ b/Resources/Textures/Interface/VerbIcons/buckle.svg @@ -0,0 +1,135 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/Textures/Interface/VerbIcons/buckle.svg.96dpi.png b/Resources/Textures/Interface/VerbIcons/buckle.svg.96dpi.png new file mode 100644 index 0000000000000000000000000000000000000000..6eb8f793c243083f77b8d5c73acce876d84b7cd9 GIT binary patch literal 545 zcmeAS@N?(olHy`uVBq!ia0vp^av;pX1|+Qw)-3{3EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m+AU64!{5;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1SdK#H96 z3o45;(=$pKoSh960!ou|GLsct@^ce2^AucCQ!7DVFWL%k0O}4>m9OU)PoG$LeuQ{LHWNXIX)atrg3siB9M| ze!=ylh*ipUq4TcQp5~LbP48J9uz04dDkIP7XAI0%4_Inkj{RneYY2Z3cxmp;ojDaP z@%+o>SS!9CuYGdO{DGobUK!Kr*GAL#>^6C)*80i(@+1pm>yU%R0SBgNtbSp=EJyoq z`y=@Xp|o!zuO#MfoGIJ*z}Irc`J4CVwYdNI5?jl@OO7c+$Up6i==Vu^s&lpWeafnN zUA|-=)7;+o$5!O8{ + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/Textures/Interface/VerbIcons/unbuckle.svg.96dpi.png b/Resources/Textures/Interface/VerbIcons/unbuckle.svg.96dpi.png new file mode 100644 index 0000000000000000000000000000000000000000..cf3a60e6468312fd38b8bac8eede4d92579bb966 GIT binary patch literal 516 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmSQK*5Dp-y;YjHK@;M7UB8wRq z_>O=u<5X=vX`rBFiEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$Qb0u!AVtpk z1(ija=@}&q&dvr30i{VfnaK(+`MHUic?vG6DVfQMC7Jno3K=CO1y=g{$wjF^epzaA zer|4lUNOip{Q|I_6tEWks??% z`%%r$$3uZ=STK;~Ay5pT2M9xF@_O%tD=o*alCIitKB}?XF+o-EC4puKZ0EjT}pvLXRuv?k@btUa)wHL2-KCjQUyJMJH1l{dZ~!&%63$Rhv6^ zx9viQ1AO-<8E{QGtn3iOUEb_)$9`7H@%R?C#SQu^rwQy&SKZUw!eFo3uz@jO`(XX# zi+d`gIUk(Zb&`d-Mzv5w@WZ|R4f4yoZjx|edy$M@awwDDMGam sygK)NknJ@5&~qfBLgi!mUhmIrZT=d3ZG~q|fRVxA>FVdQ&MBb@0Cf<@AOHXW literal 0 HcmV?d00001