Editing Surgery Success Chance Factor

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 14: Line 14:
 
* For the "true" chance of a surgery succeeding, where this factor is one part of the equation, see [[Surgery]].
 
* For the "true" chance of a surgery succeeding, where this factor is one part of the equation, see [[Surgery]].
  
== Formula ==
+
== Stats List ==
When placed in-world, the specific ''item'' of [[Sleep furniture]] has its '''Surgery Success Chance Factor''' stat adjusted based on its environment.
 
 
 
This is calculated as:
 
 
 
{| {{STDT|}}
 
| '''Surgery Success Chance Factor<sub>''item''</sub>''' = ([[#Base stat|Base stat]]<sub>''type''</sub> + [[#Facility Offset|Facility Offset]]) × [[#Room Cleanliness Multiplier|Room Cleanliness Multiplier]] × [[#Light Multiplier|Light Multiplier]] × [[#Outdoors Multiplier|Outdoors Multiplier]] × [[#Quality Multiplier|Quality Multiplier]]
 
|}
 
 
 
=== Base stat ===
 
 
Every type of [[Sleep furniture|sleep furniture]]'s '''Surgery Success Chance Factor''' has a base value stat assigned as follows.
 
Every type of [[Sleep furniture|sleep furniture]]'s '''Surgery Success Chance Factor''' has a base value stat assigned as follows.
 
{{#ask:  
 
{{#ask:  
Line 31: Line 22:
 
}}
 
}}
  
=== Facility Offset ===
+
== Environmental Factors ==
In addition, ''facilities'' placed adjacent to the head of the item of sleep furniture can adjust the stat of the placed item.
+
When placed in-world, the specific ''item'' of [[Sleep furniture]] has its '''Surgery Success Chance Factor''' stat adjusted based on its environment.  
  
The result of these additional factors are displayed under the '''Facilities''' heading within the '''Stats''' tab of the information page.
+
This is calculated as:
  
 
{| {{STDT|}}
 
{| {{STDT|}}
! Facility Type !! Offset
 
 
|-
 
|-
| [[Vitals monitor]] || {{+|0.05}}
+
| '''Surgery Success Chance Factor<sub>''item''</sub>''' = [[#Surgery Success Chance Factor|Surgery Success Chance Factor]]<sub>''type''</sub> × [[#Room Cleanliness Multiplier|Room Cleanliness Multiplier]] × [[#Light Multiplier|Light Multiplier]] × [[#Outdoors Multiplier|Outdoors Multiplier]] × [[#Quality Multiplier|Quality Multiplier]] × Product of [[#Facilities Multipliers|Facilities Multipliers]]
 +
|-
 
|}
 
|}
  
 
=== Room Cleanliness Multiplier ===
 
=== Room Cleanliness Multiplier ===
The room cleanliness factor for performing surgery is a determined by the value displayed on the [[Rooms#Cleanliness|room's cleanliness]] by the following curve:
+
The room cleanliness factor for performing surgery is a determined by the value displayed on the [[Rooms#Cleanliness|room's cleanliness]].
  
{| class="wikitable" style="text-align:right"
 
! Room<br/>cleanliness !! Room<br/>Cleanliness<br/>Multiplier !! Graph
 
|-
 
| -5 || 0.6
 
| rowspan="3" | {{Graph:Chart| width = 200 | height = 200 | type = line | xAxisTitle = Room cleanliness | yAxisTitle = Room Cleanliness Multiplier | x = -5, 0, 5 | y =  0.6, 1, 1.15 | xAxisMin = -5 | yAxisMin = 0.6 | yAxisMax = 1.15}}
 
|-
 
| 0 || 1
 
|-
 
| 5 || 1.15
 
|}
 
 
This can be translated into the following formulas:
 
 
{| {{STDT|}}
 
{| {{STDT|}}
! Range                !! Formula
 
 
|-
 
|-
| Room cleanliness < 0 || '''''Room Cleanliness Multiplier''''' = 1 + [[Rooms#Cleanliness|Room cleanliness]] × 0.08
+
| '''''Room Cleanliness Factor''''' = 1.05 + [[Rooms#Cleanliness|Room cleanliness]] × 0.09
 
|-
 
|-
| Room cleanliness > 0 || '''''Room Cleanliness Multiplier''''' = 1 + [[Rooms#Cleanliness|Room cleanliness]] × 0.03
 
 
|}
 
|}
  
The value is limited to a minimum of {{Bad|0.6}} for -5 cleanliness and a theoretical maximum of {{Good|1.15}} for 5 cleanliness, which is practical limited to {{Good| {{#expr:1+ {{Q|Sterile tile|Cleanliness}}*0.03}} }} by the highest available cleanliness of {{Q|Sterile tile|Cleanliness}} of the [[sterile tile]].
+
The resulting value is limited to a minimum of {{bad|0.6}} and a maximum of {{good|1.5}}.
  
If the surgery is performed outside (i.e. not in a room at all), the cleanliness factor is treated as the minimum ({{Bad|0.6}}).
+
If the surgery is performed outside (i.e. not in a room at all), the cleanliness factor is treated as the minimum.
  
 
=== Light Multiplier ===
 
=== Light Multiplier ===
 
Extremely low levels of [[Environment#Light|light]] negatively affect the resulting value.
 
Extremely low levels of [[Environment#Light|light]] negatively affect the resulting value.
  
In complete darkness, this can be as little as {{Bad|0.75}}. At 50% light level and above, a factor of {{Good|1}} is applied.
+
In complete darkness, this can be as little as {{bad|0.75}}. At 50% light level and above, a factor of {{good|1.0}} is applied.
  
 
This is referred to as '''Multiplier for light''' within the '''Stats''' tab of the information page.
 
This is referred to as '''Multiplier for light''' within the '''Stats''' tab of the information page.
  
 
{| {{STDT|}}
 
{| {{STDT|}}
 +
|-
 
| '''''Multiplier for Light''''' = 0.75 + [[Environment#Light|Light Level]] × 0.5
 
| '''''Multiplier for Light''''' = 0.75 + [[Environment#Light|Light Level]] × 0.5
 +
|-
 
|}
 
|}
  
 
=== Outdoors Multiplier ===
 
=== Outdoors Multiplier ===
If the item of sleep furniture is placed performed [[outdoors]] (i.e. there is no room of which the cleanliness may be assessed), an additional multiplier of {{Bad|0.85}} is applied to the resulting chance of surgery success.
+
If the item of sleep furniture is placed performed [[outdoors]] (i.e. there is no room of which the cleanliness may be assessed), an additional multiplier of 0.85 is applied to the resulting chance of surgery success.
 
{| {{STDT|}}
 
{| {{STDT|}}
 +
|-
 
! Environment Type !! Multiplier
 
! Environment Type !! Multiplier
 
|-
 
|-
| Indoors || '''1'''
+
| Indoors || 1.00
 
|-
 
|-
| Outdoors || {{Bad|0.85}}
+
| Outdoors || 0.85
 
|}
 
|}
  
=== Quality Factor ===
+
=== Quality Multiplier ===
 
A multiplier based on the [[quality]] of the specific item is applied. This is referred to as the '''Quality Multiplier''' within the '''Stats''' tab of the information page.
 
A multiplier based on the [[quality]] of the specific item is applied. This is referred to as the '''Quality Multiplier''' within the '''Stats''' tab of the information page.
  
 
{| {{STDT|}}
 
{| {{STDT|}}
 +
|-
 
! Quality !! Multiplier
 
! Quality !! Multiplier
 
|-
 
|-
| Awful || {{Bad|0.9}}
+
| Awful || 0.90
 +
|-
 +
| Poor || 0.95
 +
|-
 +
| Normal || 1.00
 
|-
 
|-
| Poor || {{Bad|0.95}}
+
| Good || 1.05
 
|-
 
|-
| Normal || '''1'''
+
| Excellent || 1.10
 
|-
 
|-
| Good || {{Good|1.05}}
+
| Masterwork || 1.15
 +
|-
 +
| Legendary || 1.30
 +
|}
 +
 
 +
=== Facilities Multipliers ===
 +
In addition, ''facilities'' placed adjacent to the head of the item of sleep furniture can adjust the stat of the placed item.
 +
 
 +
The result of these additional factors are displayed under the '''Facilities''' heading within the '''Stats''' tab of the information page.
 +
 
 +
{| {{STDT|}}
 
|-
 
|-
| Excellent || {{Good|1.1}}
+
! Facility Type !! Multiplier
 
|-
 
|-
| Masterwork || {{Good|1.15}}
+
| [[Vitals monitor]] || 1.05
 
|-
 
|-
| Legendary || {{Good|1.3}}
 
 
|}
 
|}

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

This page is a member of 2 hidden categories: