Removes unnecessary message for defibbing a patient which has ghosted (#20690)

* Removes unnecessary message for defibbing a patient which has ghosted

This message is for the defib operator.

It could inform them that the patient doesn't have a consciousness since it's ghosted
but maybe no message is really the right move here because it may have succeeded
and that would be what would happen had the defib attempt succeeded - no message.

Also when the patient's ghost return to body there they will be alive as long as the
body is still alive, so telling the operator to defib again may be wrong.

* Removes corresponding ftl message which doesn't occur now
This commit is contained in:
Raphael Bertoche
2023-10-04 22:47:41 -03:00
committed by GitHub
parent 9df5ded9ad
commit c1cfe8d45e
2 changed files with 0 additions and 3 deletions

View File

@@ -230,8 +230,6 @@ public sealed class DefibrillatorSystem : EntitySystem
// notify them they're being revived. // notify them they're being revived.
if (mind.CurrentEntity != target) if (mind.CurrentEntity != target)
{ {
_chatManager.TrySendInGameICMessage(uid, Loc.GetString("defibrillator-ghosted"),
InGameICChatType.Speak, true);
_euiManager.OpenEui(new ReturnToBodyEui(mind, _mind), session); _euiManager.OpenEui(new ReturnToBodyEui(mind, _mind), session);
} }
} }

View File

@@ -1,4 +1,3 @@
defibrillator-not-on = The defibrillator isn't turned on. defibrillator-not-on = The defibrillator isn't turned on.
defibrillator-no-mind = No intelligence pattern can be detected in patient's brain. Further attempts futile. defibrillator-no-mind = No intelligence pattern can be detected in patient's brain. Further attempts futile.
defibrillator-ghosted = Resuscitation failed - Mental interface error. Further attempts may be successful.
defibrillator-rotten = Body decomposition detected: resuscitation failed. defibrillator-rotten = Body decomposition detected: resuscitation failed.