Add ItemStatus for mopping (#13745)
* Add ItemStatus for mopping Big QOL feature * a
This commit is contained in:
20
Content.Client/Fluids/MoppingSystem.cs
Normal file
20
Content.Client/Fluids/MoppingSystem.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Content.Client.Fluids.UI;
|
||||
using Content.Client.Items;
|
||||
using Content.Shared.Fluids;
|
||||
using Robust.Client.UserInterface;
|
||||
|
||||
namespace Content.Client.Fluids;
|
||||
|
||||
public sealed class MoppingSystem : SharedMoppingSystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
Subs.ItemStatus<AbsorbentComponent>(GetAbsorbent);
|
||||
}
|
||||
|
||||
private Control GetAbsorbent(EntityUid arg)
|
||||
{
|
||||
return new AbsorbentItemStatus(arg, EntityManager);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user