Files
VMSolidus a802b48e2a Psi Rework Part 2: Scenes From A Memory (#21736)
The next step in the Psi Reworks is here, this time adding all of the
remaining sources and applications of Psi-sensitivity and Psi-protection
that were on my To-Do list. Aside from a variety of tweaks and bugfixes
to powers, the most player-facing addition is the new Psi-sensitivity
related traits, which are High Psi-sensitivity, and Low Psi-sensitivity.
These traits modify the character's psi-sensitivity, which messes with
their interactions with psionics in a variety of ways.

All of these new sources and interactions with psionics are handled
entirely through components, which operate on the previously added
COMSIG_PSI signals.

Check the changelog file for more specific details on what all was
fixed. I've fixed quite a lot of bugs and issues with the various psi
powers.

I have actually tested this PR and verified that it works as advertised.
<img width="1902" height="1015" alt="image"
src="https://github.com/user-attachments/assets/e922593c-0595-4b63-bee4-36080d9cb8b4"
/>
2026-02-01 23:29:21 +00:00

30 lines
771 B
Plaintext

/singleton/psionic_power/focus
name = "Focus"
desc = "Activate this spell in your hand to generate five units of synaptizine in your bloodstream."
icon_state = "tech_phaseshift"
point_cost = 1
ability_flags = PSI_FLAG_EVENT
spell_path = /obj/item/spell/focus
/obj/item/spell/focus
name = "focus"
desc = "Psionic drugs? No way."
icon_state = "blink"
item_icons = null
cast_methods = CAST_USE
aspect = ASPECT_PSIONIC
cooldown = 50
psi_cost = 20
/obj/item/spell/focus/on_use_cast(mob/user)
if(!ishuman(user))
return
. = ..()
if(!.)
return
var/mob/living/carbon/human/H = user
if(do_after(user, 1 SECOND))
to_chat(H, SPAN_WARNING("A calm rush envelops your mind.."))
H.reagents.add_reagent(/singleton/reagent/synaptizine, 5)
H.update_canmove()