using Content.Shared.Mobs.Systems;
using Content.Shared.Movement.Events;
using Content.Shared.Movement.Systems;
+using Content.Shared.Popups;
using Content.Shared.Storage.Components;
using Robust.Server.GameObjects;
using Robust.Server.Player;
[Dependency] private readonly SharedMindSystem _mind = default!;
[Dependency] private readonly GameTicker _gameTicker = default!;
[Dependency] private readonly DamageableSystem _damageable = default!;
+ [Dependency] private readonly SharedPopupSystem _popup = default!;
private EntityQuery<GhostComponent> _ghostQuery;
private EntityQuery<PhysicsComponent> _physicsQuery;
break;
}
+ if (booCounter == 0)
+ _popup.PopupEntity(Loc.GetString("ghost-component-boo-action-failed"), uid, uid);
+
args.Handled = true;
}
ghost-component-on-examine-death-time-info-minutes = {$minutes} minutes ago
ghost-component-on-examine-death-time-info-seconds = {$seconds} seconds ago
-ghost-component-on-examine-message = Died [color=yellow]{$timeOfDeath}[/color].
\ No newline at end of file
+ghost-component-on-examine-message = Died [color=yellow]{$timeOfDeath}[/color].
+
+ghost-component-boo-action-failed = Despite your best efforts, nothing spooky happens