diff --git a/Content.Client/Administration/Systems/AdminVerbSystem.cs b/Content.Client/Administration/Systems/AdminVerbSystem.cs index dced59bbf2..4ced299a4d 100644 --- a/Content.Client/Administration/Systems/AdminVerbSystem.cs +++ b/Content.Client/Administration/Systems/AdminVerbSystem.cs @@ -32,11 +32,26 @@ namespace Content.Client.Administration.Systems var verb = new VvVerb() { Text = Loc.GetString("view-variables"), - Icon = new SpriteSpecifier.Texture(new ("/Textures/Interface/VerbIcons/vv.svg.192dpi.png")), + Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/vv.svg.192dpi.png")), Act = () => _clientConsoleHost.ExecuteCommand($"vv {GetNetEntity(args.Target)}"), ClientExclusive = true // opening VV window is client-side. Don't ask server to run this verb. }; args.Verbs.Add(verb); + + // Inspect mind + if (TryComp(args.Target, out var mindContainer) + && mindContainer.HasMind) + { + Verb mindVerb = new() + { + Text = Loc.GetString("inspect-mind-verb-get-data-text"), + Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/sentient.svg.192dpi.png")), + Category = VerbCategory.Debug, + Act = () => _clientConsoleHost.ExecuteCommand($"vv {GetNetEntity(mindContainer.Mind)}"), + ClientExclusive = true + }; + args.Verbs.Add(mindVerb); + } } if (!_admin.IsAdmin(args.User)) diff --git a/Resources/Locale/en-US/mind/verbs/inspect-mind.ftl b/Resources/Locale/en-US/mind/verbs/inspect-mind.ftl new file mode 100644 index 0000000000..954676219c --- /dev/null +++ b/Resources/Locale/en-US/mind/verbs/inspect-mind.ftl @@ -0,0 +1 @@ +inspect-mind-verb-get-data-text = Inspect Mind