From 669cf1ea097e12f8d4a0e16dcbe633a16f173fd9 Mon Sep 17 00:00:00 2001 From: Menshin Date: Sun, 5 Mar 2023 00:36:09 +0000 Subject: [PATCH] Add an icon to the flip verb (#14358) Also put the flip verb in the rotation category. No credit to give here, i've made the icon from scratch. ## About the PR **Media** - [x] I have added screenshots/videos to this PR showcasing its changes ingame ![image](https://user-images.githubusercontent.com/7117411/222599953-e9d8bc2d-eae4-43ee-9425-678c7ae30bd9.png) **Changelog** :cl: - add: The flip verb now has a icon and can be found under the rotation category. --- Content.Server/Rotatable/RotatableSystem.cs | 4 +- .../Textures/Interface/VerbIcons/flip.svg | 171 ++++++++++++++++++ .../Interface/VerbIcons/flip.svg.192dpi.png | Bin 0 -> 1863 bytes .../VerbIcons/flip.svg.192dpi.png.yml | 2 + 4 files changed, 176 insertions(+), 1 deletion(-) create mode 100644 Resources/Textures/Interface/VerbIcons/flip.svg create mode 100644 Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png create mode 100644 Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png.yml diff --git a/Content.Server/Rotatable/RotatableSystem.cs b/Content.Server/Rotatable/RotatableSystem.cs index 3e9efc9c35..f6785e4b4a 100644 --- a/Content.Server/Rotatable/RotatableSystem.cs +++ b/Content.Server/Rotatable/RotatableSystem.cs @@ -30,9 +30,11 @@ namespace Content.Server.Rotatable { Act = () => TryFlip(uid, component, args.User), Text = Loc.GetString("flippable-verb-get-data-text"), + Category = VerbCategory.Rotate, + Icon = new SpriteSpecifier.Texture(new ResourcePath("/Textures/Interface/VerbIcons/flip.svg.192dpi.png")), + Priority = -3, // show flip last DoContactInteraction = true }; - // TODO VERB ICONS Add Uno reverse card style icon? args.Verbs.Add(verb); } diff --git a/Resources/Textures/Interface/VerbIcons/flip.svg b/Resources/Textures/Interface/VerbIcons/flip.svg new file mode 100644 index 0000000000..de8818a267 --- /dev/null +++ b/Resources/Textures/Interface/VerbIcons/flip.svg @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png b/Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png new file mode 100644 index 0000000000000000000000000000000000000000..728f00fb94f9800bf622f1c0a0f18bff62355a63 GIT binary patch literal 1863 zcmV-N2e|l&P)taH4_+d22_ea^n`3H67|J;T~-uk$~9 zt-bbe8YJ;wM(1{{t2;0ZI0YC8902SKbOC+@)&Wa^_ko4L)^@QwuFX`poiGU_alLI_>HC~m}JyB1i zq}kEE-z0S|VsC@O2Ek@vcJ!ZyrP2L`z;fVspbh91l{pJIA2=kV{2JhD;1l2#;IhQM zGl37iEe`nRPnNVH<;}H9nl7oIqn=KZMo5~Q(Gs>xT9k7A{vvjVdiZ{leoZlIsic7= z^bVEuMFtT`v`YHCqX=l0v@XS{XJql9to}yX+ii0o;_&t+;7~~`QVh9I)&+)YVMuz- zfq)x*_3q&vG=WHk8)oFoq!kc3~IipCjrB- z5nDX#^tDIXn5;%%1{V10f_f1!7?=s{6`c$C#-sdKiQ^{VE#RaurtOM)5O4xE=HDlA zZ8h+RhmI}4+QfM`;BDae($-ZWGy%=PJJ^J05RuvGgM>R!zYcQfnfQfJ-SDT_cnUfYmw<#-_e% zp#|%mmS8qdBd52j^NVHZ>ra4a^Vk>_hJ zXvG#O%3>Ln)gadv5Mw#k5;kEY$9Jf5qa*=62{_IMejvs=6)-f35CJevSDqU*0CxcMsmxC<#-`Qh zRtsl!gFj<^={@8xM`xiPEdXj0&<&fXcmQiH08_Em2kf7t*JUga z|GFn+r)S9Ym-Kx?Zi}R=LW~9C{&TT|Y>c(oOl~OrLM3peN-|S*+NW`Qz zVe1dg*p}OPAHgK*)djW3h-2wu$Ow{9@Ejlvx+p0*uC*U3KE;ofOYgfNk6}S=`>z78zkES+Y z+2h#(byi~{md_@_+%YoFk5i;g5f8OQC4jwIkGESk6Aw}UJw zI&!l#z>!!!Uyr=O2^~#9hvWYs*wF@bH2(7h`~&};rOP%vSsnlY002ovPDHLkV1jxG BT1fx^ literal 0 HcmV?d00001 diff --git a/Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png.yml b/Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true