From 9c23d4f088ecca1ef8fc500ca800be827196aaee Mon Sep 17 00:00:00 2001
From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com>
Date: Wed, 3 Apr 2024 22:57:38 +0100
Subject: [PATCH] remove's pAI suicide verb because they already have the
wipe-software verb which handles pAI 'suicide' properly (#6365)
## About The Pull Request
remove's pAI suicide verb because they already have the wipe-software
verb which handles pAI 'suicide' properly
## Why It's Good For The Game
fixes a bug by just removing the verb causing the issue
we don't need two verbs for this
## Changelog
:cl:
fix: remove's pAI suicide verb because they already have the
wipe-software verb which handles pAI 'suicide' properly
/:cl:
---
code/game/verbs/suicide.dm | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/code/game/verbs/suicide.dm b/code/game/verbs/suicide.dm
index de22149cab4..722dc6b2d5a 100644
--- a/code/game/verbs/suicide.dm
+++ b/code/game/verbs/suicide.dm
@@ -152,17 +152,3 @@
adjustOxyLoss(max(getMaxHealth() * 2 - getToxLoss() - getFireLoss() - getBruteLoss() - getOxyLoss(), 0))
update_health()
-/mob/living/silicon/pai/verb/suicide()
- set category = "pAI Commands"
- set desc = "Kill yourself and become a ghost (You will receive a confirmation prompt)"
- set name = "pAI Suicide"
- var/answer = input("REALLY kill yourself? This action can't be undone.", "Suicide", "No") in list ("Yes", "No")
- if(answer == "Yes")
- var/obj/item/paicard/card = loc
- card.removePersonality()
- var/turf/T = get_turf_or_move(card.loc)
- for (var/mob/M in viewers(T))
- M.show_message("[src] flashes a message across its screen, \"Wiping core files. Please acquire a new personality to continue using pAI device functions.\"", 3, "[src] bleeps electronically.", 2)
- death(0)
- else
- to_chat(src, "Aborting suicide attempt.")