mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
15 lines
482 B
Plaintext
15 lines
482 B
Plaintext
// Suicide is disabled, so we give them a new proc to trigger self deletion to leave the round cleanly without help
|
|
/mob/living/silicon/pai/proc/pai_cryo()
|
|
if(incapacitated)
|
|
return
|
|
switch(alert("Are you sure you wish to wipe yourself? This will ghost you",,"Yes.","No."))
|
|
if("Yes.")
|
|
fold_in(TRUE)
|
|
send_applicable_messages()
|
|
ghostize(FALSE)
|
|
playsound(src, 'sound/machines/buzz/buzz-two.ogg', 30, TRUE)
|
|
LAZYNULL(mind?.special_roles)
|
|
qdel(src)
|
|
else
|
|
return
|