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 3: Line 3:
 
| min value = 0
 
| min value = 0
 
| to string style = PercentZero
 
| to string style = PercentZero
| description = A multiplier to the chance that a surgery will succeed when performed here. Surgery success chances are also affected by many other factors, including the surgeon's ability and medicine used.
+
| description = A multiplier to the chance that a [[surgery]] will succeed when performed here. [[Surgery Success Chance|Surgery success chance]]s are also affected by many other factors, including the surgeon's ability and medicine used.
}} This stat is applied to beds and other [[sleep furniture]].
+
}} This stat is applied to beds and other sleeping furniture.
  
* Note that this stat is specific to the base '''Surgery Success Chance Factor''' of a given ''type'' of sleep furniture.
+
== Factors ==
 
+
* Room [[cleanliness]]
* When placed in-world, the '''Surgery Success Chance Factor''' of a specific ''item'' of sleep furniture changes. It is additionally weighted by [[#Environmental factors|environmental factors]].
+
* [[Light]]: ×0.75 at 0% light to ×1.00 at 50% light  
 
+
* Enclosed room:
In other words, "Surgery Success Chance Factor" is the stat of the ''bed item'' and its location.
+
** Indoors: ×1
* For the surgery success stat of a specific ''[[colonist]]'', see [[Medical Surgery Success Chance]].
+
** Outdoors: ×0.85
* For the "true" chance of a surgery succeeding, where this factor is one part of the equation, see [[Surgery]].
+
* [[Quality]]:
 
+
** Awful: ×0.90
== Formula ==
+
** Poor: ×0.95
When placed in-world, the specific ''item'' of [[Sleep furniture]] has its '''Surgery Success Chance Factor''' stat adjusted based on its environment.
+
** Normal: ×1.00
 
+
** Good: ×1.05
This is calculated as:
+
** Excellent: ×1.1
 
+
** Masterwork: ×1.15
{| {{STDT|}}
+
** Legendary: ×1.3
| '''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.
 
{{#ask:
 
  [[Category:Sleep furniture]]
 
  |mainlabel=Sleep furniture type
 
  |?Surgery Success Chance Factor=Surgery Success Chance Factor
 
}}
 
 
 
=== Facility Offset ===
 
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|}}
 
! Facility Type !! Offset
 
|-
 
| [[Vitals monitor]] || {{+|0.05}}
 
|}
 
 
 
=== 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:
 
 
 
{| 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|}}
 
! Range                !! Formula
 
|-
 
| Room cleanliness < 0 || '''''Room Cleanliness Multiplier''''' = 1 + [[Rooms#Cleanliness|Room cleanliness]] × 0.08
 
|-
 
| 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]].
 
 
 
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}}).
 
 
 
=== Light Multiplier ===
 
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.
 
 
 
This is referred to as '''Multiplier for light''' within the '''Stats''' tab of the information page.
 
 
 
{| {{STDT|}}
 
| '''''Multiplier for Light''''' = 0.75 + [[Environment#Light|Light Level]] × 0.5
 
|}
 
 
 
=== 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.
 
{| {{STDT|}}
 
! Environment Type !! Multiplier
 
|-
 
| Indoors || '''1'''
 
|-
 
| Outdoors || {{Bad|0.85}}
 
|}
 
 
 
=== Quality Factor ===
 
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|}}
 
! Quality !! Multiplier
 
|-
 
| Awful || {{Bad|0.9}}
 
|-
 
| Poor || {{Bad|0.95}}
 
|-
 
| Normal || '''1'''
 
|-
 
| Good || {{Good|1.05}}
 
|-
 
| Excellent || {{Good|1.1}}
 
|-
 
| Masterwork || {{Good|1.15}}
 
|-
 
| 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: