Difference between revisions of "Pain"

From RimWorld Wiki
Jump to navigation Jump to search
m (→‎Feelin' the Pain: Added some nice math formatting.)
Line 4: Line 4:
 
</includeonly>
 
</includeonly>
 
Most biological creatures in Rimworld feel pain caused by [[Injury|injuries]]. Pain generally causes [[Colonist|colonists]], [[Raider|raiders]], and [[Animals|animals]] alike to go into [[Health#Shock|Shock]] or be incapacitated.
 
Most biological creatures in Rimworld feel pain caused by [[Injury|injuries]]. Pain generally causes [[Colonist|colonists]], [[Raider|raiders]], and [[Animals|animals]] alike to go into [[Health#Shock|Shock]] or be incapacitated.
 +
<noinclude>
 +
===Formula===
 +
Pain sort of complicated formula:
 +
 +
{{math|big=1|''Pain'' {{=}} Number of Injuries &divide; [80.0 &times; Max Pain Level Multiplier<ref>This is 1.0 for humans.</ref> &times; Health Scale<ref>This is also 1.0 for humans</ref> + Extra Pain &divide; (80.0 &times; Max Pain Level Multiplier)]}}
 +
 +
 +
<references/>
 +
  
===Formula===
 
Pain is calculated per point of damage:
 
  
 +
Extra pain is determined by individual injuries:
  
{{math|big=1|''Total Pain'' {{=}} <var>Injury Damage</var> &times; <var>Injury Pain Value</var>}}
+
{{math|big=1|''Extra Pain'' {{=}} Injury Damage &times; Injury Pain Value}}
  
  
*50 crush damage would do {{math|<var>50 damage</var> &times; <var>1.0 crush pain</var> {{=}} ''50 total pain''}}  
+
*50 crush damage would do {{math|<var>50 damage</var> &times; <var>1.0 crush pain</var> {{=}} ''50 extra pain''}}  
*50 burn damage would do {{math|<var>50 damage</var> &times; <var>1.5 burn pain</var> {{=}} ''75 total pain''}}
+
*50 burn damage would do {{math|<var>50 damage</var> &times; <var>1.5 burn pain</var> {{=}} ''75 extra pain''}}
 +
<noinclude>

Revision as of 19:45, 16 August 2014

Feelin' the Pain

Most biological creatures in Rimworld feel pain caused by injuries. Pain generally causes colonists, raiders, and animals alike to go into Shock or be incapacitated.

Formula

Pain sort of complicated formula:

Pain = Number of Injuries ÷ [80.0 × Max Pain Level Multiplier[1] × Health Scale[2] + Extra Pain ÷ (80.0 × Max Pain Level Multiplier)]


  1. This is 1.0 for humans.
  2. This is also 1.0 for humans


Extra pain is determined by individual injuries:

Extra Pain = Injury Damage × Injury Pain Value


  • 50 crush damage would do 50 damage × 1.0 crush pain = 50 extra pain
  • 50 burn damage would do 50 damage × 1.5 burn pain = 75 extra pain