Difference between revisions of "Consciousness"

From RimWorld Wiki
Jump to navigation Jump to search
m ("affect" is the verb (99% of the time); in/direct)
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Capacity
+
{{Verified|1.4.3641}}{{Capacity
 +
| mechanoid name = Data Processing
 
| default base value = 1
 
| default base value = 1
 
| to string style = PercentZero
 
| to string style = PercentZero
| description = The state or quality of awareness. A pawn loses consciousness when this falls below 30% and dies when this reaches 0%.
+
| description = The state or quality of awareness. A pawn loses consciousness when this falls below 30%, and dies when this reaches 0%.
 
}}
 
}}
'''Consciousness''', also called '''Data Processing''' on [[mechanoids]], itself doesn't have any ''direct'' affect on a pawn's stats, however it does influence several other critical capacities that a pawn has which do affect production, movement and social interaction.
+
[[Human]]s, [[animals]] and [[mechanoids]] all share the same unconscious and lethality thresholds.  
  
It is lethal for [[human]]s, [[animals]] and [[mechanoids]] for Consciousness to be reduced to zero.
+
{{Hover title|Version/1.4.3580|At the time of writing}}, the maximum possible Consciousness capacity is [[Effective Maximum::1.7|170%]] with a healthy pawn high on [[go-juice]], [[luciferium]] and [[wake-up]], having used a [[neural supercharger]],{{IdeologyIcon}} with any level of [[pollution stimulus]] {{BiotechIcon}} and a [[Genes#Psychic bonding|psychic bond]] {{BiotechIcon}} with a pawn on the same map.
 
 
{{Hover title|Version/1.3.3200|At the time of writing}}, the maximum possible Consciousness capacity is 150% with a healthy pawn high on [[go-juice]], [[luciferium]] and [[wake-up]], and having used a [[neural supercharger]].{{IdeologyIcon}}
 
  
 
== Affected stats ==
 
== Affected stats ==
 +
Consciousness itself doesn't have any ''direct'' effect on a pawn's stats, however it does directly affect several other capacities which in turn affect most [[stat]]s a pawn has. Thus, when considering the effect of a consciousness change, the affected stats of those other capacities must be considered.
 
{{#ask: [[Consciousness Importance::+]]
 
{{#ask: [[Consciousness Importance::+]]
 
| ?Health Type = Type
 
| ?Health Type = Type
Line 22: Line 22:
 
| sort = Health Type,  
 
| sort = Health Type,  
 
}}
 
}}
 +
 
== Factors ==
 
== Factors ==
 +
{{Stub|section=1|reason= 1) Painshock threshold missing 2) psychic supressor }}
 
=== Base Factors ===
 
=== Base Factors ===
 
''Consciousness'' is mainly affected by the following factors:
 
''Consciousness'' is mainly affected by the following factors:
Line 28: Line 30:
 
* [[Breathing]]: [[Breathing Importance::0.2|20%]] importance, no allowed defect. [[Breathing Limit::1|100%]] Max.
 
* [[Breathing]]: [[Breathing Importance::0.2|20%]] importance, no allowed defect. [[Breathing Limit::1|100%]] Max.
 
* [[Blood filtration]]: [[Blood Filtration Importance::0.1|10%]] importance, no allowed defect. [[Blood Filtration Limit::1|100%]] Max.
 
* [[Blood filtration]]: [[Blood Filtration Importance::0.1|10%]] importance, no allowed defect. [[Blood Filtration Limit::1|100%]] Max.
* [[Pain]]: The pain factor can be calculated as follows*:  
+
* [[Pain]]: The pain offset can be calculated as follows:  
 +
: <code>IF Pain[%] <= 10% THEN -0% ELSE -{(Pain-0.1)/2.25}[%]</code>
 +
<!-- Prior formula is incorrect.
 
: <code>IF {1.05 - (0.45 x Pain)}[%] < 100% THEN {1.05 - (0.45 x Pain [%])} ELSE 100% </code>
 
: <code>IF {1.05 - (0.45 x Pain)}[%] < 100% THEN {1.05 - (0.45 x Pain [%])} ELSE 100% </code>
 +
For example, it says that pain does not start until 11.1% (0.05 / 0.45), when in fact it starts at 10%, via the LerpDouble() function.
 +
As another example, pain of exactly 55% will grant exactly a 20% consciousness penalty, but the prior formula say it would be -19.75% instead.
 +
LerpDouble linearly interprets between two pairs of points.  In this case, pain between 0.1f (10%) and 1.0f (100%) is interpolated over the range 0f (0% penalty) and 0.4f (40% penalty).
 +
The prior formula was also phrased as a *factor*, when in fact it is implemented as an offset (ie. 100% Pain, which is a 40% penalty, is -40% consciousness, not consciousness * 0.6)
 +
-->
 
<!-- Same formula, as originally presented; harder to grok:
 
<!-- Same formula, as originally presented; harder to grok:
(IF -0.45 × Pain [%] + 1.05) < 100% THEN (-0.45 × Pain [%] + 1.05) ELSE 100%</code>-->
+
(IF -0.45 × Pain [%] + 1.05) < 100% THEN (-0.45 × Pain [%] + 1.05) ELSE 100%</code>
:: ''(* In English, what this says is that very minor pain has no effect, while anything more than minor starts to affect consciousness at a little less than half (.45) its value.)
+
-->
 +
::''Thus, minor levels of pain (10% or less) have no effect on Consciousness, while anything more than that starts to reduce consciousness at a little less than half (4/9) its value.''
 +
 
 +
:: ''More specifically, the pawn's consciousness is reduced at a rate of -1% for every 2.25% Pain above 10%, with a maximum penalty at 100% Pain of -40% Consciousness.''
 
* Brain part efficiency: 100% importance, no allowed defect. No Max (effectively 100%).
 
* Brain part efficiency: 100% importance, no allowed defect. No Max (effectively 100%).
 
** [[Joywire]]: part efficiency offset {{--|20%}}
 
** [[Joywire]]: part efficiency offset {{--|20%}}
Line 39: Line 51:
 
The following factors are applied after the ''Base factors''.
 
The following factors are applied after the ''Base factors''.
 
* [[Beer]] (high)
 
* [[Beer]] (high)
** Tipsy: '''x90%'''
+
** Tipsy: '''×90%'''
** Drunk: '''x65%'''
+
** Drunk: '''×65%'''
** Hammered: '''x10%'''
+
** Hammered: '''×50%'''
* Psychite hangover ([[Flake]]/[[Yayo]]/[[Psychite tea]]): '''x80%'''
+
* [[Cryptosleep sickness]]: '''×80%'''
* [[Cryptosleep sickness]]: '''x80%'''
 
 
* [[Food poisoning]]
 
* [[Food poisoning]]
** Recovering and Inital: '''x60%'''
+
** Recovering: '''×60%'''
** Major: '''x50%'''
+
** Initial: '''×60%'''
* [[Heart attack]] painful: '''x50%'''
+
** Major: '''×50%'''
 +
* [[Heart attack]] painful: '''×50%'''
 +
<!-- * [[Psychic hangover]]: '''×80%''' - Version history says removed in 1.1.2647 but its still in the files and not commented out. Disabling for now - Harakoni -->
 +
* [[Biosculpting sickness]]{{BiotechIcon}}: '''×80%'''
 +
* [[Deathrest|Interupted deathrest]]{{BiotechIcon}}: '''×80%'''
 +
* [[Scanning sickness]]{{BiotechIcon}}: '''×75%'''
 +
* [[Morning sickness]]{{BiotechIcon}}: '''×80%'''
  
 
=== Offsets ===
 
=== Offsets ===
Line 55: Line 72:
 
** Strong: {{--|8%}}
 
** Strong: {{--|8%}}
 
** Pounding: {{--|18%}}
 
** Pounding: {{--|18%}}
* [[Beer]] withdrawal: {{--|20%}}
+
* [[Beer|Alcohol]] withdrawal: {{--|20%}}
 
* [[Go-juice]]:  
 
* [[Go-juice]]:  
 
** High: {{+|20%}}
 
** High: {{+|20%}}
Line 71: Line 88:
 
** Moderate: {{--|20%}}
 
** Moderate: {{--|20%}}
 
** Severe: {{--|40%}}
 
** Severe: {{--|40%}}
 +
** Extreme: {{--|40%}}
 
* [[Toxic buildup]]
 
* [[Toxic buildup]]
 
** Initial: {{--|5%}}
 
** Initial: {{--|5%}}
Line 110: Line 128:
 
** Major: {{--|15%}}
 
** Major: {{--|15%}}
 
** Extreme (initial): {{--|20%}}
 
** Extreme (initial): {{--|20%}}
 +
* [[Lung rot]] extreme: {{--|10%}}
 
* [[Resurrection psychosis]]
 
* [[Resurrection psychosis]]
** Early: {{--|10%}}
+
** Moderate: {{--|10%}}
 
** Advanced: {{--|20%}}
 
** Advanced: {{--|20%}}
 
** Severe: {{--|30%}}
 
** Severe: {{--|30%}}
 
** Total: {{--|40%}}
 
** Total: {{--|40%}}
* [[Circadian half-cycler]] {{RoyaltyIcon}}: {{--|15%}}
+
* [[Psychic breakdown]]{{RoyaltyIcon}}:
* [[Neural supercharger]] {{IdeologyIcon}}: {{+|10%}}
+
** Minor: {{--|25%}}
 +
** Major: {{--|50%}}
 +
* [[Circadian half-cycler]]{{RoyaltyIcon}}: {{--|15%}}
 +
* [[Neural supercharger]]{{IdeologyIcon}}: {{+|10%}}
 +
* [[Genes#Psychic bonding|Psychic bond]]{{BiotechIcon}}:
 +
** Psychic bond: {{+|15%}}
 +
** Psychic bond distance: {{--|25%}}
 +
* [[Pollution stimulus]]{{BiotechIcon}}: {{+|5%}}
 +
* [[Infant illness]]{{BiotechIcon}} extreme: {{--|5%}}
 +
* Gene loss shock{{BiotechIcon}}: {{--|0.05}}
 +
* [[Bio-starvation]]{{BiotechIcon}}: {{--|25%}}
  
 
=== Limits ===
 
=== Limits ===
If any of these conditions apply, the ''Consciousness'' can not be higher than the given value. Note that the it can still be lower.
+
If any of these conditions apply, the ''Consciousness'' can not be higher than the given value. Note that it can still be lower.
 
* [[Beer]] (high) blackout: '''10% max'''
 
* [[Beer]] (high) blackout: '''10% max'''
* [[Luciferium]] withdrawal: '''80% max'''
+
* [[Luciferium]] need unmet: '''80% max'''
 
* [[Blood loss]] extreme: '''10% max'''
 
* [[Blood loss]] extreme: '''10% max'''
 
* [[Anesthetic]]
 
* [[Anesthetic]]
 
** Wearing off: '''90% max'''
 
** Wearing off: '''90% max'''
 
** Woozy: '''70% max'''
 
** Woozy: '''70% max'''
** Sedated: '''10% max'''
+
** Sedated: '''1% max'''
* [[Mental break#Catatonia|Catatonic break]]: '''10% max'''
+
* [[Mental break#Catatonia|Catatonic breakdown]]: '''10% max'''
 
* [[Psychic shock]]: '''10% max'''
 
* [[Psychic shock]]: '''10% max'''
 
* [[Psychic coma]]: '''10% max'''
 
* [[Psychic coma]]: '''10% max'''
Line 144: Line 173:
 
* [[Sleeping sickness]] extreme (advanced): '''10% max'''
 
* [[Sleeping sickness]] extreme (advanced): '''10% max'''
 
* [[Resurrection psychosis]] catatonic: '''10% max'''
 
* [[Resurrection psychosis]] catatonic: '''10% max'''
 +
* [[Psychic breakdown]] total{{RoyaltyIcon}}: '''10% max'''
 +
* [[Infant illness]]{{BiotechIcon}} extreme: '''10% max'''
 +
* [[Hemogen#Hemogen craving|Hemogen craving]]{{BiotechIcon}}:
 +
** Minor: '''90% max'''
 +
** Major: '''80% max'''
 +
** Extreme: '''50% max'''
 +
* [[Deathrest|Deathresting]]{{BiotechIcon}}: '''10% max'''
 +
* [[Deathrest|Deathrest exhaustion]]{{BiotechIcon}}: '''50% max'''
 +
* [[Genes#Deathless|Regeneration coma]]{{BiotechIcon}}: '''10% max'''
 +
* [[Xenogerm|Xenogermination coma]]{{BiotechIcon}}: '''10% max'''
 +
* [[Genes#Drugs|Chemical dependency]]{{BiotechIcon}}:
 +
** Deficiency: '''70% max'''
 +
** Deficiency coma: '''10% max'''
  
== Formula ==
+
=== Formula ===
 
The formula is as follows:
 
The formula is as follows:
 
  '''Consciousness''' = ''IF'' (Base factors × Post factors + Offsets) < Limit ''THEN'' (Base factors × Post factors + Offsets) ''ELSE'' Limit
 
  '''Consciousness''' = ''IF'' (Base factors × Post factors + Offsets) < Limit ''THEN'' (Base factors × Post factors + Offsets) ''ELSE'' Limit

Latest revision as of 23:42, 26 December 2023

Consciousness, called Data Processing on mechanoids, is a pawn capacity: The state or quality of awareness. A pawn loses consciousness when this falls below 30%, and dies when this reaches 0%. Humans, animals and mechanoids all share the same unconscious and lethality thresholds.

At the time of writing, the maximum possible Consciousness capacity is 170% with a healthy pawn high on go-juice, luciferium and wake-up, having used a neural supercharger,Content added by the Ideology DLC with any level of pollution stimulus Content added by the Biotech DLC and a psychic bond Content added by the Biotech DLC with a pawn on the same map.

Affected stats[edit]

Consciousness itself doesn't have any direct effect on a pawn's stats, however it does directly affect several other capacities which in turn affect most stats a pawn has. Thus, when considering the effect of a consciousness change, the affected stats of those other capacities must be considered.

NameTypeWeightMaxDescription
EatingCapacity1-A character's ability to eat.
ManipulationCapacity1-How well a character can physically interact with objects. Directly affected by consciousness and arms/hands/fingers effectiveness.
MovingCapacity11How well a character can move around. Directly affected by consciousness.
TalkingCapacity1-A character's capacity of speech. Directly affected by consciousness.

Factors[edit]

Base Factors[edit]

Consciousness is mainly affected by the following factors:

  • Blood Pumping: 20% importance, no allowed defect. 100% Max.
  • Breathing: 20% importance, no allowed defect. 100% Max.
  • Blood filtration: 10% importance, no allowed defect. 100% Max.
  • Pain: The pain offset can be calculated as follows:
IF Pain[%] <= 10% THEN -0% ELSE -{(Pain-0.1)/2.25}[%]
Thus, minor levels of pain (10% or less) have no effect on Consciousness, while anything more than that starts to reduce consciousness at a little less than half (4/9) its value.
More specifically, the pawn's consciousness is reduced at a rate of -1% for every 2.25% Pain above 10%, with a maximum penalty at 100% Pain of -40% Consciousness.
  • Brain part efficiency: 100% importance, no allowed defect. No Max (effectively 100%).
    • Joywire: part efficiency offset −20%

Post Factors[edit]

The following factors are applied after the Base factors.

Offsets[edit]

The following offsets are applied after the Post factors.

Limits[edit]

If any of these conditions apply, the Consciousness can not be higher than the given value. Note that it can still be lower.

Formula[edit]

The formula is as follows:

Consciousness = IF (Base factors × Post factors + Offsets) < Limit THEN (Base factors × Post factors + Offsets) ELSE Limit

The Base factors can be calculated with the following formulas:

Blood Pumping = 1 + ({IF Blood Pumping < 1 THEN Blood Pumping ELSE 1} - 1) × 0.2
Breathing = 1 + ({IF Breathing < 1 THEN Breathing ELSE 1} - 1) × 0.2
Blood Filtration = 1 + ({IF Blood Filtration < 1 THEN Blood Filtration ELSE 1} - 1) × 0.1
Pain = IF (-0.45 × Pain + 1.05) < 1 THEN (-0.45 × Pain + 1.05) ELSE 1