mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 17:41:56 +00:00
21 lines
486 B
Plaintext
21 lines
486 B
Plaintext
/mob/living
|
|
var/datum/psi_complexus/psi
|
|
|
|
/mob/living/LateLogin()
|
|
..()
|
|
if(psi)
|
|
psi.update(TRUE)
|
|
if(!psi.suppressed)
|
|
psi.show_auras()
|
|
|
|
/mob/living/Destroy()
|
|
QDEL_NULL(psi)
|
|
. = ..()
|
|
|
|
/mob/living/proc/set_psi_rank(var/faculty, var/rank, var/take_larger, var/defer_update, var/temporary)
|
|
if(!psi)
|
|
psi = new(src)
|
|
var/current_rank = psi.get_rank(faculty)
|
|
if(current_rank != rank && (!take_larger || current_rank < rank))
|
|
psi.set_rank(faculty, rank, defer_update, temporary)
|