]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Network SolutionScanner (#37541)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Sat, 17 May 2025 15:00:32 +0000 (17:00 +0200)
committerGitHub <noreply@github.com>
Sat, 17 May 2025 15:00:32 +0000 (17:00 +0200)
* init

* doc

Content.Shared/Chemistry/Components/SolutionScannerComponent.cs

index a342cde2dd13036ab5cb824f5644430135d49c0f..ad5fa0695883987318377621f43e0cfa3ff2fde7 100644 (file)
@@ -1,7 +1,11 @@
+using Robust.Shared.GameStates;
+
 namespace Content.Shared.Chemistry.Components;
 
-[RegisterComponent]
-public sealed partial class SolutionScannerComponent : Component
-{
-}
+/// <summary>
+/// Allows an entity to examine reagents inside of containers, puddles and similiar via the examine verb.
+/// Works when added either directly to an entity or to piece of clothing worn by that entity.
+/// </summary>
+[RegisterComponent, NetworkedComponent]
+public sealed partial class SolutionScannerComponent : Component;