[TWEAK] Cryopod now give you a HUD alert that you can click to ghost (#26808)

* Cryopod now throws an alert when entered.

* Makes these subtypes

* Requested changes

* Requested changes

* Update code/_onclick/hud/alert.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Chap <erwin@lombok.demon.nl>

---------

Signed-off-by: Chap <erwin@lombok.demon.nl>
Co-authored-by: Adrer <adrermail@gmail.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Chap
2024-11-02 11:37:24 +00:00
committed by GitHub
co-authored by DGamerL Adrer
parent 03cef88b7f
commit 580fb4ba9a
3 changed files with 20 additions and 3 deletions
@@ -78,7 +78,7 @@
if(istype(hugger_mask) && !hugger_mask.sterile && (locate(/obj/item/organ/internal/body_egg/alien_embryo) in buckled_mob.internal_organs))
if(user && !isalien(user))
return
buckled_mob.throw_alert("ghost_nest", /atom/movable/screen/alert/ghost)
buckled_mob.throw_alert("ghost_nest", /atom/movable/screen/alert/ghost/xeno)
to_chat(buckled_mob, "<span class='ghostalert'>You may now click on the ghost prompt on your screen to leave your body. You will be alerted when you're removed from the nest.</span>")
if(tgui_alert(buckled_mob, "You may now ghost and keep respawnability, you will be notified if you leave the nest, would you like to do so?", "Ghosting", list("Yes", "No")) != "Yes")
return