Files
tbd-station-14/Content.Client/Fluids/AbsorbentSystem.cs
2023-04-10 15:37:03 +10:00

22 lines
498 B
C#

using Content.Client.Fluids.UI;
using Content.Client.Items;
using Content.Shared.Fluids;
using Robust.Client.UserInterface;
namespace Content.Client.Fluids;
/// <inheritdoc/>
public sealed class AbsorbentSystem : SharedAbsorbentSystem
{
public override void Initialize()
{
base.Initialize();
Subs.ItemStatus<AbsorbentComponent>(GetAbsorbent);
}
private Control GetAbsorbent(EntityUid arg)
{
return new AbsorbentItemStatus(arg, EntityManager);
}
}