From: Menshin Date: Sun, 5 Mar 2023 00:36:09 +0000 (+0000) Subject: Add an icon to the flip verb (#14358) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=669cf1ea097e12f8d4a0e16dcbe633a16f173fd9;p=space-station-14.git 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. --- 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 0000000000..728f00fb94 Binary files /dev/null and b/Resources/Textures/Interface/VerbIcons/flip.svg.192dpi.png differ 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