mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Adds notification to those with psionics when someone enters/exits Srom + animation for Srom exit (#13600)
This commit is contained in:
@@ -19,6 +19,10 @@ var/list/dream_entries = list()
|
||||
to_chat(bg, "<span class='warning'>Whilst in shared dreaming, you find it difficult to hide your secrets.</span>")
|
||||
if(willfully_sleeping)
|
||||
to_chat(bg, "To wake up, use the \"Awaken\" verb in the IC tab.")
|
||||
for(var/thing in SSpsi.processing)
|
||||
var/datum/psi_complexus/psi = thing
|
||||
to_chat(psi.owner, SPAN_CULT("You sense an increase in the activity of Srom..."))
|
||||
sound_to(psi.owner, sound('sound/effects/psi/power_used.ogg'))
|
||||
log_and_message_admins("has entered the shared dream", bg)
|
||||
// Does NOT
|
||||
else
|
||||
@@ -27,7 +31,10 @@ var/list/dream_entries = list()
|
||||
if(willfully_sleeping && sleeping && stat == UNCONSCIOUS)
|
||||
sleeping = 5
|
||||
return
|
||||
log_and_message_admins("has left the shared dream",bg)
|
||||
for(var/thing in SSpsi.processing)
|
||||
var/datum/psi_complexus/psi = thing
|
||||
to_chat(psi.owner, SPAN_CULT("You feel the activity of Srom decrease."))
|
||||
log_and_message_admins("has left the shared dream", bg)
|
||||
var/mob/living/brain_ghost/old_bg = bg
|
||||
bg = null
|
||||
vr_mob = null
|
||||
@@ -40,7 +47,7 @@ var/list/dream_entries = list()
|
||||
return_text = "You are ripped from the Srom as you return to the captivity of your own mind."
|
||||
|
||||
return_mob.ckey = old_bg.ckey
|
||||
old_bg.show_message("<span class='notice'>[bg] fades as their connection is severed.</span>")
|
||||
animate(old_bg, alpha=0, time = 200)
|
||||
old_bg.visible_message("<span class='notice'>[old_bg] begins to fade as they depart from the dream...</span>")
|
||||
animate(old_bg, alpha=0, time = 20)
|
||||
QDEL_IN(old_bg, 20)
|
||||
to_chat(return_mob, SPAN_WARNING("[return_text]"))
|
||||
Reference in New Issue
Block a user