mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user