Files
space-station-14/Content.Server/Medical/DefibrillatorSystem.cs
slarticodefast 5cda60f2f9 Predict defibrillators and add an integration test for them (#41572)
* cleanup

* fix fixtures

* prediction

* fix test

* review

* fix svalinn visuals

* fix chargers

* fix portable recharger and its unlit visuals

* fix borgs

* oomba review

* fix examination prediction

* predict

* readd zapping interacting mobs
2026-01-15 17:43:32 +00:00

20 lines
640 B
C#

using Content.Server.EUI;
using Content.Server.Ghost;
using Content.Shared.Medical;
using Content.Shared.Mind;
using Robust.Shared.Player;
namespace Content.Server.Medical;
public sealed class DefibrillatorSystem : SharedDefibrillatorSystem
{
[Dependency] private readonly EuiManager _eui = default!;
[Dependency] private readonly ISharedPlayerManager _player = default!;
[Dependency] private readonly SharedMindSystem _mind = default!;
protected override void OpenReturnToBodyEui(Entity<MindComponent> mind, ICommonSession session)
{
_eui.OpenEui(new ReturnToBodyEui(mind, _mind, _player), session);
}
}