Difference between revisions of "Pain"
Line 49: | Line 49: | ||
=== Factors === | === Factors === | ||
− | {{Stub|section=1|reason=Many other hediffs cause pain or change pain factors. Also how is PainFactor applied? Is it exactly the same as a post factor for other capacities? Math section on final calculation is needed.}} | + | {{Stub|section=1|reason=Many other hediffs cause pain or change pain factors. Also injury mechanics. Also how is PainFactor applied? Is it exactly the same as a post factor for other capacities? Math section on final calculation is needed.}} |
==== Base factors ==== | ==== Base factors ==== | ||
Factors cause the game code to MULTIPLY pain X a number. Small numbers reduce pain a lot. Large numbers reduce pain a little. | Factors cause the game code to MULTIPLY pain X a number. Small numbers reduce pain a lot. Large numbers reduce pain a little. | ||
* [[Painstopper]]: '''×0%''' | * [[Painstopper]]: '''×0%''' | ||
− | * [[Go-juice]]: '''×10%''' | + | * [[Persona_weapon#Painless|Painless]] persona trait {{RoyaltyIcon}}: '''×0%''' |
+ | * [[Go-juice]]: | ||
+ | ** High: '''×10%''' | ||
+ | ** Withdrawl: '''×300%''' | ||
* [[Psycasts#Painblock|Painblock]] psycast: {{RoyaltyIcon}} '''×10%''' | * [[Psycasts#Painblock|Painblock]] psycast: {{RoyaltyIcon}} '''×10%''' | ||
− | * [[Yayo]]: '''×50%''' | + | * [[Yayo]]: |
− | * [[Luciferium]]: '''×80%''' | + | ** High: '''×50%''' |
− | * [[Psychite tea]]: '''×90%''' | + | * [[Luciferium]]: |
+ | ** High: '''×80%''' | ||
+ | * [[Psychite tea]]: | ||
+ | ** High: '''×90%''' | ||
* [[Beer]]: (See also [[#Offsets|Offsets]]) | * [[Beer]]: (See also [[#Offsets|Offsets]]) | ||
** Warm: '''×90%''' | ** Warm: '''×90%''' | ||
Line 69: | Line 75: | ||
Offsets cause the game code to ADD OR SUBTRACT a number from the pawn's pain. Small numbers are less effective at reducing pain than large numbers. However, if the pawn only has a small amount of pain, an equally small offset will be totally effective at removing all pain. Positive numbers add pain. Negative numbers reduce pain. | Offsets cause the game code to ADD OR SUBTRACT a number from the pawn's pain. Small numbers are less effective at reducing pain than large numbers. However, if the pawn only has a small amount of pain, an equally small offset will be totally effective at removing all pain. Positive numbers add pain. Negative numbers reduce pain. | ||
+ | * [[Mindscrew]]: {{++|20%}} | ||
+ | * [[Sensory mechanites]]: | ||
+ | ** Mild pain: {{++|20%}} | ||
+ | ** Intense pain: {{++|60%}} | ||
+ | * [[Fibrous mechanites]]: | ||
+ | ** Mild pain: {{++|20%}} | ||
+ | ** Intense pain: {{++|60%}} | ||
+ | * [[Muscle parasites]]: {{++|20%}} | ||
+ | * [[Gut worms]]: {{++|20%}}{{Check Tag|Verify|Disagrees with Gut worms page, but drawn from game files. Needs verification and the incorrect page fixed}} | ||
+ | * [[Malaria]]: | ||
+ | ** Major: {{++|30%}} | ||
+ | ** Extreme: {{++|30%}} | ||
+ | * [[Luciferium]]: | ||
+ | ** Withdrawal: {{++|40%}} | ||
* [[Beer]]: (See also [[#Factors|Factors]]) | * [[Beer]]: (See also [[#Factors|Factors]]) | ||
** Blackout: {{++|5%}} | ** Blackout: {{++|5%}} | ||
* [[Smokeleaf joint|Stoned on smokeleaf]]: {{---|20%}} | * [[Smokeleaf joint|Stoned on smokeleaf]]: {{---|20%}} | ||
+ | * [[Torture crown]]: {{++|5%}} | ||
== Version history == | == Version history == |
Revision as of 12:52, 5 October 2022
This article is a stub. You can help RimWorld Wiki by expanding it. Reason: Needs detailed numbers on stat penalties. |
Pain is a pawn capacity: How much pain a person feels.
Most biological creatures including colonists, raiders, and animals feel pain caused by injuries. A pawn's pain level ranges from 0% to 100% and is displayed on their Health tab's Overview. Pain levels are None, Little, Moderate, Severe, and Extreme.[Detail Needed] Even a little pain causes unhappy thoughts. Once pain passes 10%, it'll start to have an effect on consciousness. If a pawn's pain level meets or exceeds their Pain Shock Threshold they'll go into shock, unable to move. Pawns with the Wimp trait will be incapacitated with only minor pain of 20%.
Most pain is temporary, but scars and certain diseases can cause long-term pain. A painstopper implant or the Painblock psycast will get rid of all a colonist's pain and negate any pain-related mood penalties. Note that colonists with the Masochist trait get a mood bonus from pain instead of a penalty, so it's usually better to leave them alone.
Injuries to the artificial parts do not cause any pain, so colonists with a lot of bionics will generally incur less pain during combat.
Formula
Pain for a given pawn is the sum of the pain from each individual injury, with two extra steps at the end:
pain = pain / healthFactor
for pawns with a healthFactor other than 1.0 (like grizzly bears and other large animals). Humans have a healthFactor of 1.0, so this doesn't impact humanspain = pain * painFactor
from health conditions which alter pain. This includes pain-reducing drugs like flake and yayo as well as anesthetic used during operations
Pain from an individual injury is the product of the severity of the injury (the number of HP missing for things like cuts and burns) and the pain per severity for the injury type. For example:
- 30 burn damage causes 30 damage × 0.01875 pain per severity = 56.25% pain
- 30 cut damage causes 30 damage × 0.00625 pain per severity = 18.75% pain
For the complete table of pain vs damage, see Health Difficulties
Thresholds
Pain creates moodlets of different values at 4 stages depending on pain severity.
Level | Required Pain % | Mood Penalty |
---|---|---|
Minor | 1% | -5 |
Serious | 15% | -10 |
Intense | 40% | -15 |
Mind-shattering | 80% | -20 |
Pain also inflicts a consciousness penalty that once over 10% that scales with the pain percentage. It conforms to the following equation:
IF Pain[%] <= 10% THEN -0% ELSE -{(Pain-0.1)/2.25}[%]
Graph |
---|
Factors
This section is a stub. You can help RimWorld Wiki by expanding it. Reason: Many other hediffs cause pain or change pain factors. Also injury mechanics. Also how is PainFactor applied? Is it exactly the same as a post factor for other capacities? Math section on final calculation is needed.. |
Base factors
Factors cause the game code to MULTIPLY pain X a number. Small numbers reduce pain a lot. Large numbers reduce pain a little.
- Painstopper: ×0%
- Painless persona trait : ×0%
- Go-juice:
- High: ×10%
- Withdrawl: ×300%
- Painblock psycast: ×10%
- Yayo:
- High: ×50%
- Luciferium:
- High: ×80%
- Psychite tea:
- High: ×90%
- Beer: (See also Offsets)
- Warm: ×90%
- Tipsy: ×80%
- Drunk: ×50%
- Hammerred: ×30%
- Blackout: ×10%
Offsets
Offsets cause the game code to ADD OR SUBTRACT a number from the pawn's pain. Small numbers are less effective at reducing pain than large numbers. However, if the pawn only has a small amount of pain, an equally small offset will be totally effective at removing all pain. Positive numbers add pain. Negative numbers reduce pain.
- Mindscrew: +20%
- Sensory mechanites:
- Mild pain: +20%
- Intense pain: +60%
- Fibrous mechanites:
- Mild pain: +20%
- Intense pain: +60%
- Muscle parasites: +20%
- Gut worms: +20%[Verify]
- Malaria:
- Major: +30%
- Extreme: +30%
- Luciferium:
- Withdrawal: +40%
- Beer: (See also Factors)
- Blackout: +5%
- Stoned on smokeleaf: −20%
- Torture crown: +5%
Version history
- 0.6.532 - Added. Pain level is tracked. A character in too much pain will become incapacitated.
- 0.10.785 - Pain now creates unhappiness.