Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryonics Additions + IV Bag Stuff #18415

Merged
merged 45 commits into from
Apr 13, 2024

Conversation

sadkermit
Copy link
Contributor

@sadkermit sadkermit commented Feb 14, 2024

Summary:

This PR fleshes out cryonics, both inside a cryotube and outside of a cryotube, and gives a pharmacist a lot more to do during those high energy rounds as they will be required to prepare and oversee any cryonic mixes. Lots of ways you can go about doing with the biggest reward being brain regeneration that bypasses oxygenation requirements, at the cost of significant downsides if done improperly.

This generally empowers pharmacists and physicians and offers non-surgical treatment alternatives, though often incurs a penalty or takes a little longer than surgical treatment, so it doesn't make surgeons redundant.

This list'll be exhaustive so medical players aren't left in the dark and can just refer to this while a wiki update is worked on, instead of digging through code.

Changes to Stasis/Cryotubes:

  • Stasis at temperates between 120K and 200K has been reduced to between 5 and 10, as opposed to 10 and 20. This means chemicals still have a good chance of metabolising if you set a cryotube to above ~140K. Cryotubes will still achieve good stasis if you cool below 120K - upgraded stockparts from the workshop/R&D will help with this.
  • (Bugfix) IPCs will not longer be knocked unconscious if they enter an active cryotube.

Misc. Reagent Additions/Tweaks:

  • Bicaridine now only requires 30u in the blood to begin attempting to repair arterial bleeds, as opposed to 50u.
  • Adds a Blood Thinning chemical effect. This prevents Coagzolug's blood clotting effect from working and works in the opposite way - increasing how much blood you lose per blood loss tick. Fluvectionem and Synaptizine apply Blood Thinning at a strength of 25, translating to 25% faster blood loss.

Cryonic Chemicals:

  • Cryoxadone and Clonexadone both overdose at 5u. This is not a problem when using a cryotube due to how cryotubes administer reagents. Overdosing either results in genetic damage and severe eye damage.
  • Cryoxadone and Clonexadone's organ healing capabilities have been significantly nerfed. The organ healing is still noticable and useful for pharmacist/surgeonless rounds; they cannot heal the brain though.
  • Cryosurfactant has been renamed to Cryosilicate, mimicking Pyrosilicate - the recipe now uses silicate instead of surfactant.
  • Cryosilicate and Pyrosilicate now have an effect when used in the body: cryosilicate will supercool a patient; pyrosilicate will chemically incinerate someone. Leporazine will inhibit these functions.
  • Bicaridine will repair arterial bleeds when used in cryogenic conditions.
  • Kelotane will repair disfigurement when used in cryogenic conditions.
  • Peridaxon 2x effective in cryogenic conditions. Peridaxon can denecrotise livers and kidneys in extracool cryogenic conditions - it cannot denecrotise other organs. Using peridaxon in cryogenic conditions will result in benign tumour growth (see below).
  • Red Nightshade can repair bone breaks in cryogenic conditions. It will still put a patient into a berserk state.
  • Cataleptinol - see below.

Cataleptinol Rework:
Cataleptinol has been reworked from the ground up and is where pharmacist's will be able to shine by making fancy cryotube beaker mixers or cryonic mixtures for use in IV stands.

  • The new recipe is 2 parts Alkysine, 0.5 parts Phoron, 1 part Clonexadone and a 5u Cryosilicate catalyst. This translates to: 120u Alkysine + 60u Clonexadone + 30u Phoron w/ 5u Cryosilicate = 60u (1 bottle) of Cataleptinol - expensive and lots of tricky precursors, leaves enough left over to make a 2nd bottle without having to remake all of the precursors.
  • In cryogenic conditions, Cataleptinol will restore 7.5% brain activity per metabolisation tick. This bypasses the 85% oxygenation requirement, at the cost of hallucinations, blood thinning and liver damage. The trade is roughly 40% brain activity (assuming nothing is causing brain damage) for total liver failure.
  • Outside of cryogenic conditions, Cataleptinol becomes a lot less reliable and a lot more dangerous to use, with only a 75% chance of restoring 2% brain activity per metabolisation tick. It will still bypass oxygenation requirements, making it useful during severe emergencies, at the cost of inducing painshock in addition to the above hallucinations, blood thinning and liver damage. The trade is roughly 25% brain activity (assuming nothing is causing brain damage) for total liver failure.
  • Cataleptinol overdoses at 3u and has a fast metabolisation of 0.6u/tick - this makes it hard to dose without using an IV drip. If you overdose Cataleptinol by using another method of administration, then the patient's liver will crash, brain regeneration undone and the patient will have severe seizures resulting in more pain. Using Cataleptinol outside of cryogenic conditions is high risk and only potentially high reward, but it could buy a couple more minutes.

Tumours:

  • Adds Benign Tumours. Benign tumours simply drain nutrition and cause frequent pain; they do not spread or affect nearby organs.
  • Adds Malignant Tumours. Malignant tumours will begin by draining nutrition then effecting symptoms based on the tumour's location (chest tumours -> coughing, gasping, chest pain; brain tumours -> disorientation, memory loss; abdominal -> vomiting, abdominal pain; anywhere else -> lethargy). In the later stages, malignant tumours will begin to damage the organs they are close to, then will eventually enter the circulatory and lymphatic system and spawn more malignant tumours in other parts of the body.
  • Peridaxon will result in benign tumour growth when overdosed or used in cryogenic conditions.
  • Genetic damage will result in malignant tumour growth.
  • Ryetalyn is the anti-tumour drug and will put both benign and malignant tumours into recession. You can also surgically intervene and excise tumours as you would k'ois mycosis or fluke parasites.
  • You cannot have more than 3 of any tumour - things won't get too out of hand.

IV Bag Stuff:

  • Adds 2 labels for IV bags: Cryonics Mixture, denoted by a CR; Other Mixture, denoted by an M.
  • Renames blood packs to IV bags and changes their formatting. What was blood pack O+ will now appear as IV bag - O+ Blood; blood pack Saline Plus -> IV bag - Saline Plus.

Misc.:

  • Only 20 genetic degradation on a limb is required to deform it instead of 30. This should make it slightly more common, as 30 is a large number to reach when this number is calculated per limb.
  • Seizures can be given variable strengths.
  • (Bugfix) Coolant tanks no longer just set a room's temperature to 0K when destroyed. The amount it cools a room scales with the amount of coolant still in the tank but cannot go below 173K/-100°C.
  • Cryocells now have stockparts and can be upgraded/deconstructed.

@BotBOREALIS BotBOREALIS added the Sprites Adds new or changes existing sprites. label Feb 14, 2024
@sadkermit
Copy link
Contributor Author

!wip
one more round of testing

@BotBOREALIS BotBOREALIS added the WIP The PR is a work in progress and should not be reviewed yet. label Feb 14, 2024
about as tweaked as it will get without seeing it live & with proper tick lag.
@sadkermit
Copy link
Contributor Author

!review

@BotBOREALIS BotBOREALIS added Review Required and removed WIP The PR is a work in progress and should not be reviewed yet. labels Feb 15, 2024
@Arrow768 Arrow768 added the Balance PRs that attempt to tweak the balance of mechanics in some way. label Feb 15, 2024
@shimmeristaken
Copy link
Contributor

Cryoxadone and Clonexadone's organ healing capabilities have been significantly nerfed. The organ healing is still noticable and useful for pharmacist/surgeonless rounds; they cannot heal the brain though.

How are surgeonless / pharmacistless rounds supposed to restore BA below 69%? Cryo was the only method for this, if this is removed, any miner / cargo tech / whatever have you unlucky enough to fall below the ina BA threshold has two options in a lowpop round; constantly hit doors or cryo.
Is there something included to rectify this? I'd prefer not to have to rely on surgeons to heal the brain during lowpop, otherwise this change is largely pointless and won't see much use.

@sadkermit
Copy link
Contributor Author

fair point, will sort that in next commit

- Tweaks cataleptinol numbers again
- Cryo/Clonex heals brain damage between 50-100%, so only useful for recovered patients who just need to get over those upper thresholds.
- Peridaxon 2x effective and denecrotising effect in cryotubes. OD results in benign tumours
- Genetic damage tweaks + malignant tumours
- Red Nightshade bone fixing in cryotubes.
@Catrly
Copy link
Contributor

Catrly commented Feb 25, 2024

Isn't the Sanasomnum change really quite cruel to antags? The point of the med was less reliance for solo traitors and the like to deal with one shot and being out, but this looks like it'll just delay the problem. Other than that it looks really cool.

@sadkermit
Copy link
Contributor Author

sadkermit commented Feb 25, 2024

Isn't the Sanasomnum change really quite cruel to antags? The point of the med was less reliance for solo traitors and the like to deal with one shot and being out, but this looks like it'll just delay the problem. Other than that it looks really cool.

It's pretty cruel, yeah. The problem with sanasomnum is it's cheap as fuck and makes you practically immortal for as long as you have 1 BC (every antag gets 20 BC) and can find a room to use it in. There is no consequence to using it, despitely the description characterising sanasomnum as a 'You use it, you'll die to cancer in a few years'. You could balance Sanasomnum by making it more expensive, but that hurts solo antags.

What this does is gives them a 20 minute countdown. It solves the immediate problem which would probably be more lethal than tumours (AB causing massive blood loss, lasers and their bloodboiling, brain activity < 50%) and causes a delayed problem they'd have to solve as a consequence. There is technically nothing stopping an antag just popping another sanasomnum injector when the tumours have a chunk of the organ damage, delaying the problem by another 5-10 minutes until they find a permanent solution, granted repeated sanasomnum won't save you if you've already allowed the organs to necrose.

IC flavourwise, it puts that 'You use it, you'll die to cancer in a few years' at the forefront of an antagonist's mind when considering using it, but that's just extra and not going to be something every antag considers.

- 'cancer in a few years' -> 'cancers which begin developing immediately'
- autoinjector's desc now shows a non-antag facing description to prevent non-antag usage.
Copy link
Contributor

@DreamySkrell DreamySkrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, code looks alright, but gem's fixes should be implemented too

- should avoid a potential divide by 0
@sadkermit
Copy link
Contributor Author

sadkermit commented Mar 28, 2024

issues noticed i've got to sort

  • Figure out why tumours wont appear in the organ removal list. Makes ryetalyn chemical treatment the only way to remove tumours rn.
  • Make it apparent which limb tumours are in on a scan. Hard to locate which limb a tumour is in which is silly.
  • Blood pack icons fix take 2
  • Cataleptinol is undertuned consequence-wise. Need to tweak numbers up again.
  • Bica/Kelo/Peri unreliably do their cryo effect when inside a cryotube, but work perfectly fine outside of a cryotube with chemically induced cryogenics. Weird.
  • Livetracking of beaker contents

@FluffyGhoster
Copy link
Contributor

A quick note, Ryetalyn is a reference to a mineral in Star Trek (https://en.wikipedia.org/wiki/Requiem_for_Methuselah)

@sadkermit
Copy link
Contributor Author

sadkermit commented Mar 28, 2024

A quick note, Ryetalyn is a reference to a mineral in Star Trek (https://en.wikipedia.org/wiki/Requiem_for_Methuselah)

yeah, i'm sadly aware. a third of medical's chemicals are trek references (Inaprovaline, Bicaridine, Kelotane, Dexalin, so on). it's been on my list to rename them in another pr for a while.

this PR didn't add Ryetalyn though, so out of this PRs scope to rename it when ill probably do them all together at Some Point ™️

- upped cataleptinol's danger outside of cryo conditions following live server observations
- tumours now get cool names depending on their location which also indicates where they are
- cryochems actually work inside cryotubes again lol. logic was being weird
@crimsonFig
Copy link

crimsonFig commented Apr 3, 2024

meowdy howdy! i hope you'll see and read this, as i am a massive fan of statis/cryo tubes, and have for a very very long time wished they could be more satisfying and engaging to use. one of the most common annoyances tended to be having to take patients out for checking up on their status and progress, as we now no longer have the four-humours pointmed that spits em out when fully healed like a turkey in the oven.
some QoL improvements i'd really hope to see in this particular PR would be...

  • being able to add a dollop of a chem with a syringe/hypo to the cryotube directly for quickly adding stuff like 5u of bicardine or kelotane, or other such slight tweaks to the cryomix on the fly for specific treatments without having to pull out the whole beaker when you already have a patient placed in
  • being able to actually see what are the current chems and units left within the cryomix of a pod, which can massively help a doctor to see what sort of therapeutic chems are being used at a glance, allowing doctors to both notice/appreciate a proactive pharmacist's special cryomix (especially if the pharma left and a doc latejoined), and also helps docs avoid tripping on eachothers toes in frantic moments if using the pods for specific treatments and avoid making unnecessary additions
  • being able to apply a full body scan paper to a pod to prime it much like we have for the surgeon tables, which like the above two bullets, allows ease in keeping a tab on what treatments are needed for the patient (so that forgetful/coordinating doctors can remember and see what the intended/needed treatments were when they got placed in the pod and what other treatments they may need after the pod, which can be massively helpful if they were placed in for ICU management)

these were just thoughts that had come to me that i'd really appreciate seeing as QoL improvements to the pods to reduce some of the more cumbersome aspects of the pods. anyways, i really hope you're changes get merged in, i'm excited for them!

@sadkermit
Copy link
Contributor Author

sadkermit commented Apr 3, 2024

very good qol ideas from @crimsonFig

i can maybe try to do your second bulletpoint with the live display of exact beaker contents. definitely a gap i've noticed when the cryo beakers have more than just cryo/clonex in them.

not sure i've the ability myself to handle the 2 other points. this PR has also left me totally conked out lmfao - i just want to be done with it at this rate.

RE: the first point, you can safely remove the beaker to add a chemical with basically no consequence, as long as the beaker is slotted in within 10 seconds or so - the burn damage accrued is pretty inconsequential and healed by cryo/clonex when the beaker is slotted back in

- will identify the stage of a parasite
- will identify the location of a parasite
- will say if a malignant tumour is spreading to other limbs
increased rate of blood loss, necessitates aftercare, can be deadly if treating multiple fractures with nightshade
Copy link

github-actions bot commented Apr 5, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link

github-actions bot commented Apr 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@NonQueueingMatt NonQueueingMatt added this pull request to the merge queue Apr 13, 2024
Merged via the queue into Aurorastation:master with commit 11f8eff Apr 13, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance PRs that attempt to tweak the balance of mechanics in some way. 🗺️ Mapping - Horizon The PR touches the Horizon map files. Review Required Sprites Adds new or changes existing sprites. Test Merge Candidate The PR is eligible for test merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.