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

It's real, it's here: Pain, Pain Chems, and more #17

Merged
merged 37 commits into from
Jun 30, 2021
Merged

It's real, it's here: Pain, Pain Chems, and more #17

merged 37 commits into from
Jun 30, 2021

Conversation

MrMelbert
Copy link
Owner

@MrMelbert MrMelbert commented Jun 24, 2021

Big PR inbound.

Implements Pain, chemicals to reduce pain, and side effects of pain into the medical system.

Todo

  • Hook more stuff into pain (suggestions wanted)
  • More chem interactions with pain
  • General chem balancing
  • A recipe for Oxycodon
  • Some general number tweaking
  • More side effects for intimidate levels of pain (suggestions wanted)
  • Species modifiers for pain
  • Robotic limb pain modifiers
  • Moodlets for pain
  • Shock
  • Make sure miners aren't screwed
  • Update the MD

How does it work?

  • Every bodypart now has a tracked pain stat that increases when damage is dealt and wounds are recieved, and decreases over time naturally, through chemicals, sleep, anesthesia, or by fixing wounds.
  • This is all controlled by the pain controller datum, which processes every 2 seconds on humans. Humans decay pain naturally every five process ticks ( 10 seconds ). This natural decay rate increases over time if you receive no pain for a minute.
  • Being at various levels of pain causes side effects. In general, pain passively causes slower movement speed, slower action speed, negative moodlets, and longer surgery speeds. It also actively causes side effects such as vomiting, stamina damage, jitters, and more.
  • Being in extreme pain can cause Neurogenic Shock. Shock is (fuctionally) a disease that causes decreased body temperature and other issues until eventually you enter cardiac arrest. Staying warm, stopping any bleeding, and decreasing your overall pain can prevent Shock from causing cardiac arrest and eventually will cure your shock.
  • Various bodyparts also have side effects for being in pain. Bodypart pain in general will lose max stamina damage and eventually will cause paralysis, leg pain will cause limping, head pain can cause brain damage.

Pain is often overall modified by various things. Some species are more or less vulnerable to pain naturally. There are quirks that can increase or decrease the amount of pain received. Robotic and other augmented body start with high pain but reduce pain received in that limb... And so on.

How does this change combat?

  • Combat now has more feedback when sustaining damage. Humans will now grit and grimace more when they're hit with more brutal attacks.
  • For the most part combat itself will remain unaffected. The side effects of pain should mostly arise after the combat is finished and you're tending to your wounds and bruises.
  • Shaft miners have a skill chip to reduce the amount of pain they receive when not on the station, and can also purchase a medipen containing painkillers.

How does medical deal with it?

  • Medical staff can help reduce patient's pain through pain medication. Some pre-existing chems have been adjusted to work against pain, such as morphine, and some new chems have been added. These chems are also purchasable from the nanodrug.
Aspirin - 1u salicylic acid, 1u acetone, 1u oxygen, 1u sulfuric acid catalyst
Paracetamol - 1u phenol, 1u acetone, 1u hydrogen, 1u oxygen, 1u nitric acid
Ibuprofen - 1u Propionic acid, 1u phenol, 1u oxygen, 1u hydrogen (makes 5 units instead of 4)
   Propionic acid - 1u carbon, 1u oxygen, 1u hydrogen, made under 250 degrees. Cold reaction.
Aspirin/paracetamol/caffeine - 1u Aspirin, 1u Paracetamol, 1u Coffee
Oxycodon - Made from juicing Poppies. 
  • Other things can help against pain - being drunk or drowsy, some virus symptoms, brain traumas, stasis or anesthetic.
  • Surgery now causes moderate pain and requires anesthesia for more complex ones such as organ manipulation.
  • Stasis also prevents all pain (Currently - not sold on this idea)
  • The health analyzer reads out if a patient is in a certain amount of pain, but does NOT mention which bodypart is in pain - that's up to the patient to convey to the doctor.

New quirks:

Hypoalgesia - You're more resistant to pain naturally.
Hyperalgesia - You're less resistant to pain naturally.
Allodynia - You're less resistant to pain, and additionally, some actions which are normally painless will cause pain, such as hugging.
Prosthetic Limbs (Targeted) - Choose which limb you start with a prosthetic, and even start with multiple prosthetics. 

Admin Smite

Admins can smite people to give them a huge damage modifier, or even add a bunch of pain to them immediately.

@MrMelbert MrMelbert requested a review from doshMobile as a code owner June 24, 2021 03:28
@MrMelbert MrMelbert marked this pull request as draft June 24, 2021 03:28
Copy link
Contributor

@Jolly-66 Jolly-66 left a comment

Choose a reason for hiding this comment

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

Don't forget, be it through each commit or the final one, to add to the modular Readme file
On mobile and tired as fuck so I'm not sure if what's here already has been marked for previous reasons

@MrMelbert MrMelbert added Base Pilled Feature Its a bug Sprites Fixing up coder sprites is nice labels Jun 25, 2021
@github-actions github-actions bot added the Merge Conflict Resolve it or perish label Jun 25, 2021
@Jolly-66 Jolly-66 removed the Merge Conflict Resolve it or perish label Jun 26, 2021
@MrMelbert MrMelbert marked this pull request as ready for review June 29, 2021 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Its a bug Sprites Fixing up coder sprites is nice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants