/singleton/psionic_power/assay name = "Assay" desc = "Assay a creature's psionic level. Using Assay will also allow you to see psionic auras." icon_state = "wiz_blind" point_cost = 0 ability_flags = PSI_FLAG_FOUNDATIONAL spell_path = /obj/item/spell/assay /obj/item/spell/assay name = "assay" desc = "Read someone's psionic potential." icon_state = "generic" cast_methods = CAST_MELEE|CAST_INNATE aspect = ASPECT_PSIONIC cooldown = 10 psi_cost = 2 /obj/item/spell/assay/on_innate_cast(mob/user) if(!isliving(user)) return . = ..() if(!.) return var/mob/living/L = user to_chat(user, SPAN_NOTICE("You can now see psionic auras.")) L.psi.show_auras() /obj/item/spell/assay/Destroy() if(isliving(owner)) var/mob/living/L = owner to_chat(L, SPAN_NOTICE("You can no longer see psionic auras.")) L.psi.hide_auras() return ..() /obj/item/spell/assay/on_melee_cast(atom/hit_atom, mob/living/user, def_zone) . = ..() if(!.) return if(!ishuman(hit_atom)) return if(!isliving(user)) return var/mob/living/carbon/human/target = hit_atom if(target.stat == DEAD || (target.status_flags & FAKEDEATH)) to_chat(user, SPAN_WARNING("Psionic power does not flow through a dead person.")) return var/psi_blocked = target.is_psi_blocked() if(psi_blocked) to_chat(user, psi_blocked) return user.visible_message(SPAN_NOTICE("[user] lays both [user.get_pronoun("his")] palms on [target]'s temples..."), SPAN_NOTICE("You lay your palms on [target]'s temples and begin tracing their Nlom signature...")) if(do_mob(user, target, 4 SECONDS)) if(!target.psi) to_chat(user, SPAN_NOTICE("[target] is psionically perceptive, but nothing more: [target.get_pronoun("he")] cannot manipulate the fabric that weaves \ this universe.")) if(target.psi) switch(target.psi.get_rank()) if(PSI_RANK_SENSITIVE) to_chat(user, SPAN_NOTICE("[target] is psionically sensitive, just like your typical Skrell. They can manipulate psionics, but not to a very \ precise degree.")) if(PSI_RANK_HARMONIOUS) to_chat(user, SPAN_WARNING("[target] is psionically harmonious. This isn't a feat just about anyone can manage: only those born with a certain \ psionic attitude among Skrell can reach this level, and with strenuous training. They are capable of using psionics \ with very fine precision.")) if(PSI_RANK_APEX) to_chat(user, SPAN_DANGER("Your psionic power is dwarfed by [target]. Just like a supernova in the night sky, their signature is absolutely brilliant \ beyond comprehension. This is the apex of psionic power, you are sure.")) if(PSI_RANK_LIMITLESS) to_chat(user, SPAN_DANGER("A psionic power like this shouldn't be possible... what in the Stars is going on?"))