Skip to content

Buffs painkillers to actually act like painkillers

Rob Nelson requested to merge pull/13223/owmyballs into Bleeding-Edge

Created by: 9600bauds

Rather than a full rework of pain this is just a quick and dirty painkiller buff.

HOW PAIN WORKED BEFORE: You have a "shock" variable and a "pain" variable. Shock is the thing that makes you slow as fuck and eventually leaves you paralyzed on the floor (this is what people normally perceive as pain). Pain is completely asymptomatic. Pain only ever matters if it goes over your pain resistance threshold: when over your pain resistance your shock starts slowly building up, otherwise your shock slowly decreases. Painkillers only increase your pain resistance threshold (not by all that much). NOTHING EXCEPT TIME DECREASES YOUR SHOCK. So if you got a booboo and you come to medbay almost paralyzed from shock, you're already pretty much fucked: Even if you get enough painkillers to revert your pain, you still need to lie on the floor for like five fucking minutes, because that's the only thing that decreases your shock. Also, painkillers don't really go that far, so the doctors need to fix most of your damage first before the painkillers can even start reverting your pain (at which point, why give the guy painkillers? Just finish fixing his damage! Especially since painkillers are even less accessible than regular healing chemicals) All in all: Pain is a BITCH that you can't really deal with at all, and painkillers are so worthless you may as well not make them.

CHANGES TO PAIN: "Shock" and "Pain" still work the same. Missing limbs (the most painful thing in the game) have been dialed back a little. Once your pain goes below your pain threshold, Tramadol also starts clearing your shock twice as fast, so there is actually a point to giving a guy painkillers after you fix his booboo. Oxycodone now makes you completely numb! You feel no pain at all, which means nothing in your body will hurt... which means you cannot see your health at all. Can you believe this was actually there, half-implemented? Neat! Numbness also lets you have surgery while awake. Gave painkillers a lower metabolism because damn that shit goes through you like water through a colander when you're trying to ignore your broken arm (and especially Oxycodone since it requires plasma to make). Also, Oxycodone now results in 3 units instead of 1. Missing limbs that weren't properly amputated give you a TON of pain, but this wasn't really clarified anywhere. When you have such a painful stump now you will get an actual pain message telling you what hurts. Effects of pain not changed at all

OxycoCaptain walks over glass shards to see if it hurts 2017-01-02_03-45-06

Fixes #12871 (closed) Fixes #10984 (closed) 🆑

  • tweak: Tramadol will now clear shock from pain faster. Oxycodone now makes you completely immune to pain at the cost of not being able to see your own health. Lowered metabolism rate of both Tramadol and Oxycodone.
  • tweak: Improperly amputated limbs now hurt a little less and now give you an actual message telling you that they hurt.
  • bugfix: Fixed a bug where cutting off your arm/leg would cause your hand/foot to be perpetually set to "improperly amputated", thus doubling the pain it should cause and giving you sticky phantom pain even if you got your arm nub fixed.

Merge request reports