From 94a1b67c673aa69ffea6745bb1c825904bb4a289 Mon Sep 17 00:00:00 2001 From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com> Date: Sat, 3 Aug 2024 20:34:55 -0700 Subject: [PATCH] Don't show toggle internals verb if no breath tools are found while off (#30622) * Don't show toggle internals verb if no breath tools are found * only if not working --- Content.Server/Body/Systems/InternalsSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/Body/Systems/InternalsSystem.cs b/Content.Server/Body/Systems/InternalsSystem.cs index 10ebd934aa..e352b0a58a 100644 --- a/Content.Server/Body/Systems/InternalsSystem.cs +++ b/Content.Server/Body/Systems/InternalsSystem.cs @@ -72,6 +72,9 @@ public sealed class InternalsSystem : EntitySystem if (!args.CanAccess || !args.CanInteract || args.Hands is null) return; + if (!AreInternalsWorking(ent) && ent.Comp.BreathTools.Count == 0) + return; + var user = args.User; InteractionVerb verb = new()