Enemies of the state/revolution cannot be defibbed (#63466)

This commit is contained in:
John Willard
2021-12-19 12:26:01 -08:00
committed by GitHub
parent 97cae856d2
commit 3985484618
6 changed files with 23 additions and 20 deletions
+2
View File
@@ -619,6 +619,8 @@
fail_reason = "No intelligence pattern can be detected in patient's brain. Further attempts futile."
if (DEFIB_FAIL_NO_BRAIN)
fail_reason = "Patient's brain is missing. Further attempts futile."
if (DEFIB_FAIL_BLACKLISTED)
fail_reason = "Patient has been blacklisted from revival. Further attempts futile."
if(fail_reason)
user.visible_message(span_warning("[req_defib ? "[defib]" : "[src]"] buzzes: Resuscitation failed - [fail_reason]"))