Tippy, the helpful hint clown! (#26767)

* Tippy is BACK

* Clean up clippy from aprils fools

* Changed names from clippy to tippy, added localization, removed local_clippy command, made it easier to target a specific player

* Rename clippy.yml to tippy.yml

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
SlamBamActionman
2024-04-29 06:38:16 +02:00
committed by GitHub
parent eb9ee4541f
commit 373c368b94
14 changed files with 534 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
using Content.Shared.Tips;
using Robust.Client.UserInterface;
namespace Content.Client.Tips;
public sealed class TipsSystem : EntitySystem
{
[Dependency] private readonly IUserInterfaceManager _uiMan = default!;
public override void Initialize()
{
base.Initialize();
SubscribeNetworkEvent<TippyEvent>(OnClippyEv);
}
private void OnClippyEv(TippyEvent ev)
{
_uiMan.GetUIController<TippyUIController>().AddMessage(ev);
}
}