Difference between revisions of "User:Harakoni/Comparison Tables/Operation Success"

From RimWorld Wiki
Jump to navigation Jump to search
Line 67: Line 67:
 
| <!--
 
| <!--
 
--> {{#vardefine: bedFactor | 1.265}}<!--
 
--> {{#vardefine: bedFactor | 1.265}}<!--
 +
--> {{#vardefine: potency | {{#expr:{{Q|Herbal medicine|Medical Potency Base}}*100 * {{#var: bedFactor}} }} }}<!--
 +
--> {{#vardefine:y1 | {{#expr:0.05*{{#var: potency}} }}, {{#expr:0.20*{{#var: potency}} }}, {{#expr:0.30*{{#var: potency}} }}, {{#expr:0.40*{{#var: potency}} }}, {{#expr:0.50*{{#var: potency}} }}, {{#expr:0.60*{{#var: potency}} }}, {{#expr:0.70*{{#var: potency}} }}, {{#expr:0.75*{{#var: potency}} }}, {{#expr: 0.80*{{#var: potency}} }}, {{#expr: 0.85*{{#var: potency}} }}, {{#expr: 0.90*{{#var: potency}} }}, {{#expr: 0.92*{{#var: potency}} }}, {{#expr: 0.94*{{#var: potency}} }}, {{#expr: 0.96*{{#var: potency}} }}, {{#expr: 0.98*{{#var: potency}} }}, {{#expr: 1.00*{{#var: potency}} }}, {{#expr: 1.02*{{#var: potency}} }}, {{#expr: 1.04*{{#var: potency}} }}, {{#expr: 1.06*{{#var: potency}} }}, {{#expr: 1.08*{{#var: potency}} }}, {{#expr: 1.10*{{#var: potency}} }}}}<!--
 +
-->{{#vardefine: potency | {{#expr:{{Q|Medicine|Medical Potency Base}}*100}} * {{#var: bedFactor}}}}<!--
 +
-->{{#vardefine:y2 | {{#expr:0.05*{{#var: potency}} }}, {{#expr:0.20*{{#var: potency}} }}, {{#expr:0.30*{{#var: potency}} }}, {{#expr:0.40*{{#var: potency}} }}, {{#expr:0.50*{{#var: potency}} }}, {{#expr:0.60*{{#var: potency}} }}, {{#expr:0.70*{{#var: potency}} }}, {{#expr:0.75*{{#var: potency}} }}, {{#expr: 0.80*{{#var: potency}} }}, {{#expr: 0.85*{{#var: potency}} }}, {{#expr: 0.90*{{#var: potency}} }}, {{#expr: 0.92*{{#var: potency}} }}, {{#expr: 0.94*{{#var: potency}} }}, {{#expr: 0.96*{{#var: potency}} }}, {{#expr: 0.98*{{#var: potency}} }}, {{#expr: 1.00*{{#var: potency}} }}, {{#expr: 1.02*{{#var: potency}} }}, {{#expr: 1.04*{{#var: potency}} }}, {{#expr: 1.06*{{#var: potency}} }}, {{#expr: 1.08*{{#var: potency}} }}, {{#expr: 1.10*{{#var: potency}} }}}}<!--
 +
-->{{#vardefine: potency | {{#expr:{{Q|Glitterworld medicine|Medical Potency Base}}*100}} * {{#var: bedFactor}} }}<!--
 +
-->{{#vardefine:y3 | {{#expr:0.05*{{#var: potency}} }}, {{#expr:0.20*{{#var: potency}} }}, {{#expr:0.30*{{#var: potency}} }}, {{#expr:0.40*{{#var: potency}} }}, {{#expr:0.50*{{#var: potency}} }}, {{#expr:0.60*{{#var: potency}} }}, {{#expr:0.70*{{#var: potency}} }}, {{#expr:0.75*{{#var: potency}} }}, {{#expr: 0.80*{{#var: potency}} }}, {{#expr: 0.85*{{#var: potency}} }}, {{#expr: 0.90*{{#var: potency}} }}, {{#expr: 0.92*{{#var: potency}} }}, {{#expr: 0.94*{{#var: potency}} }}, {{#expr: 0.96*{{#var: potency}} }}, {{#expr: 0.98*{{#var: potency}} }}, {{#expr: 1.00*{{#var: potency}} }}, {{#expr: 1.02*{{#var: potency}} }}, {{#expr: 1.04*{{#var: potency}} }}, {{#expr: 1.06*{{#var: potency}} }}, {{#expr: 1.08*{{#var: potency}} }}, {{#expr: 1.10*{{#var: potency}} }}}}<!--
 +
-->{{#vardefine: y4 | 98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98}}<!--
 +
-->{{Graph:Chart
 +
  | width = 400 | height = 200
 +
  | type = line
 +
  | xAxisTitle = Surgeon Skill
 +
  | xAxisMin = 0 | xAxisMax = 20 | yGrid =
 +
  | x = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
 +
  | yAxisTitle = Final Success Chance (%)
 +
  | yAxisMin = 1 | yAxisMax = 98 | xGrid =
 +
  |colors=  <!-- Actual colors are too similar #3b4b25, #659095, #a1a6a9,--> forestgreen, teal, grey, black
 +
  | y1 = {{#var: y1}} | y1Title = Herbal Medicine
 +
  | y2 = {{#var: y2}} | y2Title = Industrial Medicine
 +
  | y3 = {{#var: y3}} | y3Title = Glitterworld Medicine
 +
  | y4 = {{#var: y4}} | y4Title = 98% Cap
 +
  | legend=Legend
 +
}}
 +
|}
 +
 +
 +
{| class="wikitable"
 +
! Operation Success Rate assuming Legendary Quality [[Hospital bed]] with [[Vitals monitor]] and [[Sterile tile]]
 +
|-
 +
| <!--
 +
--> {{#vardefine: bedFactor | 1.52191}}<!--
 
--> {{#vardefine: potency | {{#expr:{{Q|Herbal medicine|Medical Potency Base}}*100 * {{#var: bedFactor}} }} }}<!--
 
--> {{#vardefine: potency | {{#expr:{{Q|Herbal medicine|Medical Potency Base}}*100 * {{#var: bedFactor}} }} }}<!--
 
--> {{#vardefine:y1 | {{#expr:0.05*{{#var: potency}} }}, {{#expr:0.20*{{#var: potency}} }}, {{#expr:0.30*{{#var: potency}} }}, {{#expr:0.40*{{#var: potency}} }}, {{#expr:0.50*{{#var: potency}} }}, {{#expr:0.60*{{#var: potency}} }}, {{#expr:0.70*{{#var: potency}} }}, {{#expr:0.75*{{#var: potency}} }}, {{#expr: 0.80*{{#var: potency}} }}, {{#expr: 0.85*{{#var: potency}} }}, {{#expr: 0.90*{{#var: potency}} }}, {{#expr: 0.92*{{#var: potency}} }}, {{#expr: 0.94*{{#var: potency}} }}, {{#expr: 0.96*{{#var: potency}} }}, {{#expr: 0.98*{{#var: potency}} }}, {{#expr: 1.00*{{#var: potency}} }}, {{#expr: 1.02*{{#var: potency}} }}, {{#expr: 1.04*{{#var: potency}} }}, {{#expr: 1.06*{{#var: potency}} }}, {{#expr: 1.08*{{#var: potency}} }}, {{#expr: 1.10*{{#var: potency}} }}}}<!--
 
--> {{#vardefine:y1 | {{#expr:0.05*{{#var: potency}} }}, {{#expr:0.20*{{#var: potency}} }}, {{#expr:0.30*{{#var: potency}} }}, {{#expr:0.40*{{#var: potency}} }}, {{#expr:0.50*{{#var: potency}} }}, {{#expr:0.60*{{#var: potency}} }}, {{#expr:0.70*{{#var: potency}} }}, {{#expr:0.75*{{#var: potency}} }}, {{#expr: 0.80*{{#var: potency}} }}, {{#expr: 0.85*{{#var: potency}} }}, {{#expr: 0.90*{{#var: potency}} }}, {{#expr: 0.92*{{#var: potency}} }}, {{#expr: 0.94*{{#var: potency}} }}, {{#expr: 0.96*{{#var: potency}} }}, {{#expr: 0.98*{{#var: potency}} }}, {{#expr: 1.00*{{#var: potency}} }}, {{#expr: 1.02*{{#var: potency}} }}, {{#expr: 1.04*{{#var: potency}} }}, {{#expr: 1.06*{{#var: potency}} }}, {{#expr: 1.08*{{#var: potency}} }}, {{#expr: 1.10*{{#var: potency}} }}}}<!--

Revision as of 13:05, 18 July 2024


The intent is to find a way to easily but meaningfully display when you can get to the max. This is just an example/proof of concept atm.

Operation Success Rate assuming Normal Quality Bed


Operation Success Rate assuming Excellent Quality Bed
Operation Success Rate assuming Excellent Quality Hospital bed with Vitals monitor


Operation Success Rate assuming Legendary Quality Hospital bed with Vitals monitor and Sterile tile