Yogstation icon indicating copy to clipboard operation
Yogstation copied to clipboard

Ports Psionics From Baystation (2 years later edition)

Open cowbot92 opened this issue 1 year ago • 21 comments

Full credit to original port https://github.com/yogstation13/Yogstation/pull/15100

Document the changes in your pull request

Ports a few PRs from bay, which adds a system for psionic powers and gives them to the psychiatrist. Also adds a new drug, three new events, a new material, and many more things.

Psionics gain autoredaction as well, allowing them to spend psi to automatically heal minor damages, but not wounds. Can be toggled on/off

Psionics have 2 types of resources, mental stamina and heat.

Your mental stamina is capped at 100%, and dictates how many times in a row you can use your abilities before needing to stop.

Heat is a concept where overuse of your powers will lead to a psychic backblast, and stun.

There are 5 levels of Psionic Ability: Latent, Operant, Master, Grand Master, Paramount.

Each race has a different % chance to start with Latent psionic powers, which can be awakened.

Once you have access to your psionics, shift + left click the brain icon under your stamina bar to read more into how to use them.

All psionic users can guard from attacks by toggling their psionic guard on, giving them a chance to block.

Additionally they can undo their own limiters, allowing them to use more powerful spells, at the cost of possibly overheating.

The Psych now has access to the Psionic Awakener, and the Psionic Implant Monitor, the Psionic Awakener can be used to awaken latent psionics, and the implant monitor is used to manage and track current psionics.

Security now starts with 3 psi dampener implants in their vendor

Added two new quirks: Psionically Tuned & Deafened. The first gives you 15% more chance to be a latent psionic, whereas the latter makes it so you have a 0% chance to be psionically latent

Adds a new type of crystal: Nullspace Crystal, found in the nullspace "backrooms" used on the psionic awakener to grind into nullspace dust to upgrade psionics.

Racial Latency %s & faculty access

Preternis: 100%, will awaken with Coercion Polys: 90%, will awaken with either Coercion or Psychokinesis Ethereals: 90%. will awaken with either Energistics or Redaction Moth: 75% will awaken with either Coercion, Redaction, or Psychokinesis Pod: 50% will awaken with Redaction Human: 50% will awaken with any of the 4 Lizard: 50% will awaken with any of the 4 Vox: 35% will awaken with Coercion or Redaction Plasmamen: 35% will awaken with Coercion, Psychokinesis or Energistics IPC: 0%, cannot awaken at this time, however they are immune to all psionics except Psychokinesis


PSIONIC POWER LIST

REDACTION (HEALING) -

Armor bonus: BIO/RAD

"Skinsight" - OPERANT - Psionically scan someone's health, similar to a medscanner, higher psi levels allow for more information.

"Mend" - OPERANT - Psionically heal someone, higher psi levels heal further/better

"Cleanse" - OPERANT - Psionically cleanse radiation/cloning damage.

"Revive" - OPERANT - Psionically revive someone, more effective at higher psi levels.

PSYCHOKINESIS (PHYSICAL) -

Armor bonus: MELEE/BULLET

"Psiblade/Psibaton" - OPERANT - Summon a Psiblade/Psibaton, both are more effective at higher levels.

"Tinker" - OPERANT - Summon a psionic-omni tool, which can transform into a multitude of useful tools. More tools are available at higher psi levels.

"Telekinesis" - GRANDMASTER - Allows you to psionically manipulate objects, and machines from a distance. More effective the higher your psi level.

ENERGISTICS (ENERGY) -

Armor bonus: BOMB/LASER/ENERGY

"Electrocute" - OPERANT - Psionically charge your next attack to electrocute your target, or power a machine/power cell.

"Spark" - OPERANT - Psionically summon a small flame with your next attack, capable of igniting things.

"Zorch" - MASTER - Psionically shoot out either laser, or disabler blasts on command, with high cost to psionic stamina. Gets more effective the higher psi level you are.

"Disrupt" - GRAND MASTER - Psionically charge your next attack to cause an EMP in the surrounding area.

COERCION (MIND-

Armor bonus: NONE

"Commune" - OPERANT - Psionically communicate with people at a distance.

"Assay" - OPERANT - Allows you to obtain someone's full psionic potential by clicking on them

"Psi-ping" - OPERANT - Allows you to search for other Psionic users.

"Agony" - OPERANT - Augments your next attack to deal stamina damage, more effective at higher ranks.

"Spasm" - MASTER - Allows you to psionically disarm your target from a range.

"Focus" - MASTER - Allows you to heal the mind of another, curing ailments.

"Read Mind" - MASTER - Allows you to psionically peek into another's surface level thoughts.

"Blindstrike" - GRAND MASTER - Allows you to use a radial attack, blinding, deafening and disorienting people around you.

"Dis-Arm" - PARAMOUNT - Psionically rip off someone's arms.

Why is this good for the game?

its like genetics, but with your mind!

Testing

REDACTION

image

image

PSYCHOKINESIS

image

image

image

image

ENERGIZE

image

image

image

COERCION

image

Spriting

Too many to upload here, sorry

Wiki Documentation

So much wiki

Changelog

:cl: Cowbot92 & Moltijoe rscadd: Adds psionics soundadd: adds psionic sounds imageadd: adds some psionic sprites mapping: there might be mapping involved later /:cl:

cowbot92 avatar Jul 05 '24 19:07 cowbot92

Whats with all the ammo sprites and the new health huds?

Mqiib avatar Jul 05 '24 20:07 Mqiib

Whats with all the ammo sprites and the new health huds?

idk I was just snatching and grabbing, will go through again and remove anything added in excess

cowbot92 avatar Jul 05 '24 20:07 cowbot92

is there a way to rank up currently ?

LassiH avatar Jul 11 '24 02:07 LassiH

https://github.com/yogstation13/Yogstation/assets/95769078/df466ca0-2525-4e7c-9729-ef3f57b39ee8

the psionic healing and limit toggles can be toggled while dead

LassiH avatar Jul 11 '24 02:07 LassiH

nullglass is invisible

LassiH avatar Jul 11 '24 03:07 LassiH

Quirk seems like the first to give a potentially huge advantage.

CrazyDrakkon avatar Jul 12 '24 07:07 CrazyDrakkon

is there a way to rank up currently ?

no, this will be added in a later PR once this is ironed out

cowbot92 avatar Jul 12 '24 15:07 cowbot92

nullglass is invisible

what specifically is invisible?

Because the live server has all the icons

cowbot92 avatar Jul 12 '24 15:07 cowbot92

Quirk seems like the first to give a potentially huge advantage.

Yes and no, psionics can be an awesome boon, but at the base level none are super crazy- additionally security should be implanting any known psionics with dampeners but we'll see about that. Once ways to upgrade your psionic level are added I'll take a look at everything more with a fine-toothed comb balance wise, but I have been keeping an eye on the test merge so far and nothing has broken anything super badly.

cowbot92 avatar Jul 12 '24 15:07 cowbot92

nullglass is invisible

what specifically is invisible?

Because the live server has all the icons

its just dosent have a sprite cant see it without using right click menu

LassiH avatar Jul 12 '24 21:07 LassiH

nullglass is invisible

what specifically is invisible? Because the live server has all the icons

its just dosent have a sprite cant see it without using right click menu

can you get a screenshot of it?

cowbot92 avatar Jul 13 '24 05:07 cowbot92

nullglass is invisible

what specifically is invisible? Because the live server has all the icons

its just dosent have a sprite cant see it without using right click menu

can you get a screenshot of it?

no but should be easily replicable by breaking the psionic awakener or it was fixed by something

LassiH avatar Jul 14 '24 19:07 LassiH

nullglass is invisible

what specifically is invisible? Because the live server has all the icons

its just dosent have a sprite cant see it without using right click menu

can you get a screenshot of it?

no but should be easily replicable by breaking the psionic awakener or it was fixed by something

its been fixed

cowbot92 avatar Jul 14 '24 21:07 cowbot92

I actually don't know if I have the drive to work on this after recent announcements. Another person could definitely reopen this in the future (ironic since it's actually a reopen of another attempt), and it is all in actual great working condition, would just need tweaks listed above. I would rather focus on playing the game for the time being.

Additionally while I do think it's very great and cool, it will run into the issues of both maintenance and code upkeep, of which I am not able to do for anything major of a system.

cowbot92 avatar Aug 16 '24 18:08 cowbot92

we're locking it in

cowbot92 avatar Aug 16 '24 18:08 cowbot92

Few things

A lot of these descriptions are worded very poorly, most importantly missing key information.

"Activate the power with z..." is incorrect, because we can rebind the Use key to other things.

I messed with Coercion and even with just the basic ones I had to code dive to find out the effects.

Commune needs a to_chat for the user once you send the message. The description also doesn't say that the user will be unknown to the person you're sending the message to, or that chaplains have a 25% chance to KNOW this.

Assay has no range check, I was able to assay people through a camera, but it still says "User holds the head of target in both hands..."

Psiping is complete ass to use, is it different from bay's? I see some comments on it

Agony is fine but there's really no way to see which one you have active besides remembering

This is just for coercion and I have to see what the other faculties are like, but this should help push it in a direction.

I have gone ahead and updated the "activate power with Z" to "Activate the power with the 'use' key (initially bound to Z)"

Added the to_chat for commune, will remove the chaplain thing.

Updated Assay to no longer talk about holding heads

psiping has been disabled for the time being, will look into reworking it, or providing an ability that does something similar but less janky.

Will work on maybe a status effect in the top right for whatever power you use to notify you of what is currently stored.

cowbot92 avatar Aug 16 '24 19:08 cowbot92

going to cook up some TGUI for the powers menu, will probably take a bit, won't fix the conflicts until that's ready.

cowbot92 avatar Sep 01 '24 04:09 cowbot92

Going to close it temporarily while I work on TGUI with chubby, need to plan/write it out and dont want conflicts to keep listing up.

cowbot92 avatar Sep 09 '24 15:09 cowbot92

TGUI is being worked on, should be done in 1wk or so, added nullspace crystals and spawning to the backrooms. Going to add more rooms, needs TM for the crystals

cowbot92 avatar Sep 15 '24 18:09 cowbot92

Maybe consider moving the backrooms portal somewhere public, or giving psych access to it. Otherwise psionics cant advance at all without cargonians interested in risking their lives, hacking or hop.

UltraBigRat avatar Sep 19 '24 18:09 UltraBigRat

Autoredaction causes toxin damage instead of healing it when it “purges toxins” from you. Im putting this here since i am unsure if making an issue report is a thing you do for testmerges. (If it is someone tell me and ill do it).

Okram0 avatar Sep 29 '24 14:09 Okram0

2024-12-31 (1735691099) ~ dreamseeker

icon goes here

Absolucy avatar Jan 01 '25 00:01 Absolucy

alright so some suggestions/feedback:

  • would be nice if there were traitor items (perhaps psychiatrist-specific?) related to psionics, such as the booster stuff i saw in the code that seems unused?
    • an interesting idea would be perhaps a (prolly expensive) psychiatrist traitor item that lets them drain other's psionic power/latencies to boost their own?
  • should be a way to favorite/quick-action specific abilities, scrolling through the tgui while in the middle of something is quite annoying
  • the glow is easily masked/hidden by some flooring. i want to show off when i'm more powerful by having one hell of an aura smh
  • perhaps upgrading the awakener should make it grind skulls or use dust more efficiently?
  • why is dis-arm coercion? wouldn't it make more sense under psychokinesis
  • add an ability to blow up pancakes with mind. or maybe any food. doesn't even have to be a real explosion, would still be quite fun as a silly visual effect + message
  • mapping in a pill bottle of mannitol into the psych's office prolly wouldn't hurt

this whole system is quite fun so far, nonetheless!

Absolucy avatar Jan 02 '25 02:01 Absolucy

2025-01-01 (1735789388) ~ %pn

i made a comparison of how the glow looks across different turfs - same round / rating for all of these.

Absolucy avatar Jan 02 '25 03:01 Absolucy

maybe we'll meet again in another life

cowbot92 avatar Feb 24 '25 06:02 cowbot92

R.I.P Psionics

ju45he avatar Feb 24 '25 14:02 ju45he

rip

LassiH avatar Feb 24 '25 18:02 LassiH