mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
* Merge Injector & Hyposprays * Fixes * Requested Changes * Preview * Inclusion of Prototypes * Fix * small oversight * Further fixes * A few more fixes & Bluespacesyringe buff Co-Authored-By: āda <177162775+iaada@users.noreply.github.com> * Final Commit, hopefully * Merge conflict no more * YML fix * Add required changes Co-Authored-By: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> * cleanup warnings removal * Bug fix & Maintainer Requests Co-Authored-By: āda <177162775+iaada@users.noreply.github.com> * Adhere to requested changes Co-Authored-By: āda <177162775+iaada@users.noreply.github.com> --------- Co-authored-by: āda <177162775+iaada@users.noreply.github.com> Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
21 lines
696 B
C#
21 lines
696 B
C#
using Content.Client.Chemistry.UI;
|
|
using Content.Client.Items;
|
|
using Content.Shared.Chemistry.Components;
|
|
using Content.Shared.Chemistry.EntitySystems;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Client.Chemistry.EntitySystems;
|
|
|
|
public sealed class InjectorStatusControlSystem : EntitySystem
|
|
{
|
|
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainers = default!;
|
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
|
|
|
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
Subs.ItemStatus<InjectorComponent>(injector => new InjectorStatusControl(injector, _solutionContainers, _prototypeManager));
|
|
}
|
|
}
|