mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
22 lines
750 B
C#
22 lines
750 B
C#
using Content.Client.Chemistry.Components;
|
|
using Content.Client.Chemistry.UI;
|
|
using Content.Client.Items;
|
|
using Content.Shared.Chemistry.EntitySystems;
|
|
|
|
namespace Content.Client.Chemistry.EntitySystems;
|
|
|
|
/// <summary>
|
|
/// Wires up item status logic for <see cref="SolutionItemStatusComponent"/>.
|
|
/// </summary>
|
|
/// <seealso cref="SolutionStatusControl"/>
|
|
public sealed partial class SolutionItemStatusSystem : EntitySystem
|
|
{
|
|
[Dependency] private SharedSolutionContainerSystem _solutionContainerSystem = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
Subs.ItemStatus<SolutionItemStatusComponent>(
|
|
entity => new SolutionStatusControl(entity, EntityManager, _solutionContainerSystem));
|
|
}
|
|
}
|