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

33 lines
790 B
Plaintext

/obj/item/psychic_power/psiblade
name = "psionic blade"
force = 15
sharp = 1
edge = TRUE
maintain_cost = 1
icon_state = "psiblade_short"
pickup_sound = 'sound/items/shield/energy/shield-start.ogg'
hitsound = 'sound/weapons/psisword.ogg'
/obj/item/psychic_power/psiblade/Initialize()
. = ..()
switch(owner.psi.get_rank())
if(PSI_RANK_SENSITIVE)
force = 25
armor_penetration = 10
if(PSI_RANK_HARMONIOUS)
force = 31
armor_penetration = 20
if(PSI_RANK_APEX)
force = 33
armor_penetration = 30
icon_state = "psiblade_long"
if(PSI_RANK_LIMITLESS)
force = 40
armor_penetration = 40
icon_state = "psiblade_long"
/obj/item/psychic_power/psiblade/dropped(mob/user)
. = ..()
playsound(loc, 'sound/effects/psi/power_fail.ogg', 30, 1)
QDEL_IN(src, 1)