diff --git a/Content.Server/Lock/LockSystem.cs b/Content.Server/Lock/LockSystem.cs index 8d24b016f2..3d417c7100 100644 --- a/Content.Server/Lock/LockSystem.cs +++ b/Content.Server/Lock/LockSystem.cs @@ -193,7 +193,7 @@ namespace Content.Server.Lock () => TryUnlock(uid, args.User, component) : () => TryLock(uid, args.User, component); verb.Text = Loc.GetString(component.Locked ? "toggle-lock-verb-unlock" : "toggle-lock-verb-lock"); - // TODO VERB ICONS need padlock open/close icons. + verb.IconTexture = component.Locked ? "/Textures/Interface/VerbIcons/unlock.svg.192dpi.png" : "/Textures/Interface/VerbIcons/lock.svg.192dpi.png"; args.Verbs.Add(verb); } diff --git a/Resources/Textures/Interface/VerbIcons/ATTRIBUTION.txt b/Resources/Textures/Interface/VerbIcons/ATTRIBUTION.txt index f72d9da7d8..0b8ae856bd 100644 --- a/Resources/Textures/Interface/VerbIcons/ATTRIBUTION.txt +++ b/Resources/Textures/Interface/VerbIcons/ATTRIBUTION.txt @@ -1,3 +1,9 @@ All icons are public domain. -Pulled mostly from this source https://github.com/apancik/public-domain-icons. \ No newline at end of file +Pulled mostly from this source https://github.com/apancik/public-domain-icons. + +lock.svg by Lorc under CC BY 3.0 +https://game-icons.net/1x1/lorc/padlock.html + +unlock.svg by Delapouite under CC BY 3.0 +https://game-icons.net/1x1/delapouite/padlock-open.html diff --git a/Resources/Textures/Interface/VerbIcons/lock.svg b/Resources/Textures/Interface/VerbIcons/lock.svg new file mode 100644 index 0000000000..ce43d14dc4 --- /dev/null +++ b/Resources/Textures/Interface/VerbIcons/lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Textures/Interface/VerbIcons/lock.svg.192dpi.png b/Resources/Textures/Interface/VerbIcons/lock.svg.192dpi.png new file mode 100644 index 0000000000..8a0f70b102 Binary files /dev/null and b/Resources/Textures/Interface/VerbIcons/lock.svg.192dpi.png differ diff --git a/Resources/Textures/Interface/VerbIcons/unlock.svg b/Resources/Textures/Interface/VerbIcons/unlock.svg new file mode 100644 index 0000000000..0d4c5503fd --- /dev/null +++ b/Resources/Textures/Interface/VerbIcons/unlock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Textures/Interface/VerbIcons/unlock.svg.192dpi.png b/Resources/Textures/Interface/VerbIcons/unlock.svg.192dpi.png new file mode 100644 index 0000000000..dc2f8b882b Binary files /dev/null and b/Resources/Textures/Interface/VerbIcons/unlock.svg.192dpi.png differ