Difference between revisions of "Injury"
m (→Injury) |
|||
Line 43: | Line 43: | ||
<references/> | <references/> | ||
{{:Pain}} | {{:Pain}} | ||
− | + | ==Non-Local Injuries== | |
− | ==Injury | + | Some injuries are not applied to specific body parts, but listed as affecting the entire body of a pawn. |
− | + | ||
− | + | ===Starvation=== | |
+ | Occurs when a pawn is out of [[#Eating|food]], starting from 0%. Upon reaching 100%, the pawn will die. | ||
+ | |||
+ | ===Blood Loss=== | ||
+ | Occurs when a pawn has untreated [[#Injury|wounds]] that cause bleeding, starting from 0%. Upon reaching 100%, the pawn will die due to losing too much blood. | ||
+ | |||
+ | ===Suffocation=== | ||
+ | Not sure when this occurs, but is listed in the files as a damage type. May occur in environments without oxygen, like underwater. | ||
+ | |||
+ | ===Shock=== | ||
+ | Caused by extreme [[#Feelin' the Pain|pain]], it incapacitates the affected target. There are no other causes of shock besides pain currently. |
Revision as of 08:39, 16 August 2014
Injury
Each kind of injury has its own value of pain, its own description for its scar, and its own flavor text for being mended by medicine.
Name | Pain | Old Pain[1] | Old Label | Combines?[2] | Bleeding | Become Old Chance | Naturally Heals | Destroyed[3] | Destroyed Out[4] | Treated Well | Treated | Inner Treated Well | Inner Treated | Solid Treated Well | Solid Treated |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Misc[5] | 1.0 | 0.0 | Scar | No | 1.0 | 1% | Yes | Destroyed | Destroyed | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Burn | 1.5 | 0.5 | Burn scar | Yes | 0.0 | 1% | Yes | Burned off | Burned out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Crush | 1.0 | 0.5 | Scar | Yes | 0.4 | 1% | Yes | Crushed | Crushed | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Crack | 0.8 | 0.5 | Scar | Yes | 0.0 | 0% | ?[6] | Shattered | Shattered | Healed | Poorly healed | Healed | Poorly Healed | Set | Poorly set |
Cut | 1.0 | 0.5 | Cut scar | Yes | 1.0 | 1% | Yes | Cut off | Cut out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Scratch | 1.0 | 0.5 | Scratch scar | No | 0.1 | 1% | Yes | Torn off | Torn out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Bite | 1.0 | 0.5 | Bite scar | No | 0.1 | 1% | Yes | Bitten off | Bitten out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Stab | 1.0 | 0.5 | Stab scar | No | 0.8 | 1% | Yes | Cut off | Cut out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Gunshot | 1.0 | 0.5 | Old gunshot | No | 0.92 | 1% | Yes | Shot off | Shot out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Shredded | 1.0 | 0.5 | Scar | Yes | 1.0 | 1% | Yes | Torn off | Torn out | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
Bruise | 1.0 | 0.5 | Old bruise | No | 0.0 | 0% | Yes | Destroyed | Destroyed | Bandaged | Poorly bandaged | Sutured | Poorly sutured | Set | Poorly set |
- ↑ Pain per point of damage. See pain for how it works.
- ↑ Whether or not this injury stacks to become something like 'Burn x2'
- ↑ Prefix of the injury for external injuries (eg. Shot off left arm).
- ↑ Prefixed of the injury for internal injuries (eg. Shattered pelvis).
- ↑ Default/debug damage type. Doesn't occur in the normal game.
- ↑ Not defined in the files whether or not it combines.
- Main Article: Pain
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 30%.
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 or an ideoligion with the Pain: Idealized precept 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.0125 pain per severity = 37.5% 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 (Default) |
Mood Buff (Masochist) |
Mood Buff (Pain:Idealized) |
---|---|---|---|---|
Minor | 1% | −5 | +5 | +3 |
Serious | 15% | −10 | +10 | +5 |
Intense | 40% | −15 | +15 | +7 |
Mind-shattering | 80% | −20 | +20 | +9 |
A standard pawn will go down upon reaching mind-shattering pain.
Pain inflicts a consciousness penalty that scales with the pain percentage after exceeding 10%. It conforms to the following equation:
IF Pain[%] <= 10% THEN -0% ELSE -{(Pain-0.1)/2.25}[%]
For example, 15% pain is 0.15 - 0.1 = 0.05 / 2.25 = 0.02 or 2% consciousness loss.
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%
- Withdrawal: ×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%
- Psychic bond:
- Psychic bond: ×50%
- Reduced pain: ×50%
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%
- Blood rot:
- Extreme: +5%
- Fibrous mechanites:
- Mild pain: +20%
- Intense pain: +60%
- Muscle parasites: +20%
- Gut worms: +20%
- Malaria:
- Major: +30%
- Extreme: +30%
- Luciferium:
- Withdrawal: +40%
- Beer: (See also Factors)
- Blackout: +5%
- Stoned on smokeleaf: −20%
- Torture crown: +5%
- Tox gas:
- Mild: +10%
- Moderate: +15%
- Severe: +25%
- Hemogen craving:
- Minor: +5%
- Moderate: +10%
- Major: +15%
- Inhumanization: −50%
Non-Local Injuries
Some injuries are not applied to specific body parts, but listed as affecting the entire body of a pawn.
Starvation
Occurs when a pawn is out of food, starting from 0%. Upon reaching 100%, the pawn will die.
Blood Loss
Occurs when a pawn has untreated wounds that cause bleeding, starting from 0%. Upon reaching 100%, the pawn will die due to losing too much blood.
Suffocation
Not sure when this occurs, but is listed in the files as a damage type. May occur in environments without oxygen, like underwater.
Shock
Caused by extreme pain, it incapacitates the affected target. There are no other causes of shock besides pain currently.