Difference between revisions of "Mech Repair Speed"

From RimWorld Wiki
Jump to navigation Jump to search
m (Stat Category)
m (Remaining Stat Template info, table of all possible values, and minor formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Biotech}}
 
{{Biotech}}
{{stub|section=1|reason=Needs more information.}}
+
{{Stub|reason=1) Two-way links}}
{{Stat
+
{{Verified|1.5.4104}}{{Stat
 +
| def name = MechRepairSpeed
 +
| label = mech repair speed
 +
| description = A multiplier on how fast a [[mechanitor]] can [[Mechanitor#Repair|repair mechanoids]].
 
| default base value = 1
 
| default base value = 1
 +
| min value = 0
 +
| effective maximum = 8.4
 
| to string style = PercentZero
 
| to string style = PercentZero
| description = A multiplier on how fast a mechanitor can repair mechanoids.
+
| show if undefined = true
 +
| show on animals = false
 +
| show on humanlikes = true
 +
| show on mechanoids = false
 
| category = Mechanitor
 
| category = Mechanitor
 +
| display priority in category = 2000
 +
| worker class = StatWorker_Mechanitor
 +
| skill need factors = Skill: Crafting, Base Value: 0.8, Bonus Per Level: 0.1
 
}}
 
}}
 +
 +
== Offsets ==
 +
* [[Hediffs]]
 +
** [[Hediffs#Repair probe|Repair probe]]<ref>See {{Icon Small|Repair probe|24}} [[Repair probe]] (Implant)</ref>:
 +
<div><li style="display: inline-table;">
 +
{| {{STDT| c_18}}
 +
! Level !! Offset
 +
|-
 +
! 1
 +
| {{+|33%}}
 +
|-
 +
! 2
 +
| {{+|66%}}
 +
|-
 +
! 3
 +
| {{+|100%}}
 +
|-
 +
! 4
 +
| {{+|133%}}
 +
|-
 +
! 5
 +
| {{+|166%}}
 +
|-
 +
! 6
 +
| {{+|200%}}
 +
|}</li></div>
 +
<references />
  
 
== Factors ==
 
== Factors ==
{{Stub|section=1|reason= This doesn't take into account repair probes}}
+
* Skill Needs
* [[Skills#Crafting|Crafting]][[Skill::Crafting| ]]: [[Skill Base Factor::0.8|80%]] plus [[Skill Bonus Factor::0.1|10%]] per skill level. {{Check Tag|Fact check needed}}.
+
** [[Skills#Crafting|Crafting]][[Skill::Crafting| ]]: [[Skill Base Factor::0.8|80%]] plus [[Skill Bonus Factor::0.1|10%]] per skill level.
 +
<div><li style="display: inline-table;">
 +
{| {{STDT| c_18}}
 +
! Repair<br />Speed !! Crafting<br />Level
 +
|-
 +
! 0
 +
| 80%
 +
|-
 +
! 1
 +
| 90%
 +
|-
 +
! 2
 +
| 100%
 +
|-
 +
! 3
 +
| 110%
 +
|-
 +
! 4
 +
| 120%
 +
|-
 +
! 5
 +
| 130%
 +
|-
 +
! 6
 +
| 140%
 +
|-
 +
! 7
 +
| 150%
 +
|-
 +
! 8
 +
| 160%
 +
|-
 +
! 9
 +
| 170%
 +
|-
 +
! 10
 +
| 180%
 +
|-
 +
! 11
 +
| 190%
 +
|-
 +
! 12
 +
| 200%
 +
|-
 +
! 13
 +
| 210%
 +
|-
 +
! 14
 +
| 220%
 +
|-
 +
! 15
 +
| 230%
 +
|-
 +
! 16
 +
| 240%
 +
|-
 +
! 17
 +
| 250%
 +
|-
 +
! 18
 +
| 260%
 +
|-
 +
! 19
 +
| 270%
 +
|-
 +
! 20
 +
| 280%
 +
|}
 +
{{Graph:Chart|width=300|height=150|xAxisTitle=Crafting Level|yAxisTitle=Mech Repair Speed Multiplier|type=rect|x=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20|y=0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8|xGrid=|yGrid=}}</li></div>
 +
 
 +
== Explanation ==
 +
This stat is only shown on mechanitors (i.e. they have an installed [[mechlink]]). It is affected by [[Skills#Crafting|Crafting]] [[Skill]] level and the [[Repair probe]] implant. It is effectively limited to a maximum of '''{{%|{{P|Effective Maximum}}}}''': A mechanitor with a level 6 repair probe ({{+|200%}}) and a crafting skill of 20 ({{Good|×280%}}).
 +
 
 +
[[Mech Repair Speed]] is calculated as:
 +
 
 +
<code>[[Mech Repair Speed]] = ('''Default Base Value''' + '''Hediff Offset''') × ('''0.8''' + ('''Crafting Skill Level''' × '''0.1''') )</code>
 +
 
 +
The max would be calculated as:
 +
 
 +
<code>('''1''' + '''2''') × ('''0.8''' + ('''20''' × '''0.1''') )</code>
 +
 
 +
<code>'''3''' × ('''0.8''' + '''2''')</code>
 +
 
 +
<code>'''3''' × '''2.8'''</code>
 +
 
 +
<code>'''8.4'''</code>
 +
 
 +
Which would be '''840%'''.
 +
 
 +
== Possible values ==
 +
Here is a table of all possible ''Mech Repair Speed''s considering crafting level and number of installed repair probes:
 +
<div><li style="display: inline-table;">
 +
{| {{STDT| c_18}}
 +
! rowspan=2 | Crafting<br />Level
 +
! colspan=7 | Repair Probes
 +
|-
 +
! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6
 +
|-
 +
! 0
 +
| 80% || {{%| {{#expr: (1 + 0.33) * 0.8}} }} || {{%| {{#expr: (1 + 0.66) * 0.8}} }} || {{%| {{#expr: (1 + 1) * 0.8}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 0.8}} }} || {{%| {{#expr: (1 + 0.66) * 0.8}} }} || {{%| {{#expr: (1 + 2) * 0.8}} }}
 +
|-
 +
! 1
 +
| 90% || {{%| {{#expr: (1 + 0.33) * 0.9}} }} || {{%| {{#expr: (1 + 0.66) * 0.9}} }} || {{%| {{#expr: (1 + 1) * 0.9}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 0.9}} }} || {{%| {{#expr: (1 + 0.66) * 0.9}} }} || {{%| {{#expr: (1 + 2) * 0.9}} }}
 +
|-
 +
! 2
 +
| 100% || {{%| {{#expr: (1 + 0.33) * 1.0}} }} || {{%| {{#expr: (1 + 0.66) * 1.0}} }} || {{%| {{#expr: (1 + 1) * 1.0}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.0}} }} || {{%| {{#expr: (1 + 0.66) * 1.0}} }} || {{%| {{#expr: (1 + 2) * 1.0}} }}
 +
|-
 +
! 3
 +
| 110% || {{%| {{#expr: (1 + 0.33) * 1.1}} }} || {{%| {{#expr: (1 + 0.66) * 1.1}} }} || {{%| {{#expr: (1 + 1) * 1.1}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.1}} }} || {{%| {{#expr: (1 + 0.66) * 1.1}} }} || {{%| {{#expr: (1 + 2) * 1.1}} }}
 +
|-
 +
! 4
 +
| 120% || {{%| {{#expr: (1 + 0.33) * 1.2}} }} || {{%| {{#expr: (1 + 0.66) * 1.2}} }} || {{%| {{#expr: (1 + 1) * 1.2}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.2}} }} || {{%| {{#expr: (1 + 0.66) * 1.2}} }} || {{%| {{#expr: (1 + 2) * 1.2}} }}
 +
|-
 +
! 5
 +
| 130% || {{%| {{#expr: (1 + 0.33) * 1.3}} }} || {{%| {{#expr: (1 + 0.66) * 1.3}} }} || {{%| {{#expr: (1 + 1) * 1.3}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.3}} }} || {{%| {{#expr: (1 + 0.66) * 1.3}} }} || {{%| {{#expr: (1 + 2) * 1.3}} }}
 +
|-
 +
! 6
 +
| 140% || {{%| {{#expr: (1 + 0.33) * 1.4}} }} || {{%| {{#expr: (1 + 0.66) * 1.4}} }} || {{%| {{#expr: (1 + 1) * 1.4}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.4}} }} || {{%| {{#expr: (1 + 0.66) * 1.4}} }} || {{%| {{#expr: (1 + 2) * 1.4}} }}
 +
|-
 +
! 7
 +
| 150% || {{%| {{#expr: (1 + 0.33) * 1.5}} }} || {{%| {{#expr: (1 + 0.66) * 1.5}} }} || {{%| {{#expr: (1 + 1) * 1.5}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.5}} }} || {{%| {{#expr: (1 + 0.66) * 1.5}} }} || {{%| {{#expr: (1 + 2) * 1.5}} }}
 +
|-
 +
! 8
 +
| 160% || {{%| {{#expr: (1 + 0.33) * 1.6}} }} || {{%| {{#expr: (1 + 0.66) * 1.6}} }} || {{%| {{#expr: (1 + 1) * 1.6}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.6}} }} || {{%| {{#expr: (1 + 0.66) * 1.6}} }} || {{%| {{#expr: (1 + 2) * 1.6}} }}
 +
|-
 +
! 9
 +
| 170% || {{%| {{#expr: (1 + 0.33) * 1.7}} }} || {{%| {{#expr: (1 + 0.66) * 1.7}} }} || {{%| {{#expr: (1 + 1) * 1.7}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.7}} }} || {{%| {{#expr: (1 + 0.66) * 1.7}} }} || {{%| {{#expr: (1 + 2) * 1.7}} }}
 +
|-
 +
! 10
 +
| 180% || {{%| {{#expr: (1 + 0.33) * 1.8}} }} || {{%| {{#expr: (1 + 0.66) * 1.8}} }} || {{%| {{#expr: (1 + 1) * 1.8}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.8}} }} || {{%| {{#expr: (1 + 0.66) * 1.8}} }} || {{%| {{#expr: (1 + 2) * 1.8}} }}
 +
|-
 +
! 11
 +
| 190% || {{%| {{#expr: (1 + 0.33) * 1.9}} }} || {{%| {{#expr: (1 + 0.66) * 1.9}} }} || {{%| {{#expr: (1 + 1) * 1.9}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 1.9}} }} || {{%| {{#expr: (1 + 0.66) * 1.9}} }} || {{%| {{#expr: (1 + 2) * 1.9}} }}
 +
|-
 +
! 12
 +
| 200% || {{%| {{#expr: (1 + 0.33) * 2.0}} }} || {{%| {{#expr: (1 + 0.66) * 2.0}} }} || {{%| {{#expr: (1 + 1) * 2.0}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.0}} }} || {{%| {{#expr: (1 + 0.66) * 2.0}} }} || {{%| {{#expr: (1 + 2) * 2.0}} }}
 +
|-
 +
! 13
 +
| 210% || {{%| {{#expr: (1 + 0.33) * 2.1}} }} || {{%| {{#expr: (1 + 0.66) * 2.1}} }} || {{%| {{#expr: (1 + 1) * 2.1}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.1}} }} || {{%| {{#expr: (1 + 0.66) * 2.1}} }} || {{%| {{#expr: (1 + 2) * 2.1}} }}
 +
|-
 +
! 14
 +
| 220% || {{%| {{#expr: (1 + 0.33) * 2.2}} }} || {{%| {{#expr: (1 + 0.66) * 2.2}} }} || {{%| {{#expr: (1 + 1) * 2.2}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.2}} }} || {{%| {{#expr: (1 + 0.66) * 2.2}} }} || {{%| {{#expr: (1 + 2) * 2.2}} }}
 +
|-
 +
! 15
 +
| 230% || {{%| {{#expr: (1 + 0.33) * 2.3}} }} || {{%| {{#expr: (1 + 0.66) * 2.3}} }} || {{%| {{#expr: (1 + 1) * 2.3}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.3}} }} || {{%| {{#expr: (1 + 0.66) * 2.3}} }} || {{%| {{#expr: (1 + 2) * 2.3}} }}
 +
|-
 +
! 16
 +
| 240% || {{%| {{#expr: (1 + 0.33) * 2.4}} }} || {{%| {{#expr: (1 + 0.66) * 2.4}} }} || {{%| {{#expr: (1 + 1) * 2.4}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.4}} }} || {{%| {{#expr: (1 + 0.66) * 2.4}} }} || {{%| {{#expr: (1 + 2) * 2.4}} }}
 +
|-
 +
! 17
 +
| 250% || {{%| {{#expr: (1 + 0.33) * 2.5}} }} || {{%| {{#expr: (1 + 0.66) * 2.5}} }} || {{%| {{#expr: (1 + 1) * 2.5}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.5}} }} || {{%| {{#expr: (1 + 0.66) * 2.5}} }} || {{%| {{#expr: (1 + 2) * 2.5}} }}
 +
|-
 +
! 18
 +
| 260% || {{%| {{#expr: (1 + 0.33) * 2.6}} }} || {{%| {{#expr: (1 + 0.66) * 2.6}} }} || {{%| {{#expr: (1 + 1) * 2.6}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.6}} }} || {{%| {{#expr: (1 + 0.66) * 2.6}} }} || {{%| {{#expr: (1 + 2) * 2.6}} }}
 +
|-
 +
! 19
 +
| 270% || {{%| {{#expr: (1 + 0.33) * 2.7}} }} || {{%| {{#expr: (1 + 0.66) * 2.7}} }} || {{%| {{#expr: (1 + 1) * 2.7}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.7}} }} || {{%| {{#expr: (1 + 0.66) * 2.7}} }} || {{%| {{#expr: (1 + 2) * 2.7}} }}
 +
|-
 +
! 20
 +
| 280% || {{%| {{#expr: (1 + 0.33) * 2.8}} }} || {{%| {{#expr: (1 + 0.66) * 2.8}} }} || {{%| {{#expr: (1 + 1) * 2.8}} }}
 +
| {{%| {{#expr: (1 + 1.33) * 2.8}} }} || {{%| {{#expr: (1 + 0.66) * 2.8}} }} || {{%| {{#expr: (1 + 2) * 2.8}} }}
 +
|}</li></div>
 +
 
 +
== Stat Def Data ==
 +
{| {{STDT| c_18}}
 +
! Def Name<br />Label<br />Label For Full Stat List<br />Offset Label<br />Attributes !! Description !! Category !! Parameters !! Complex<br />Parameters !! Display<br />Priority<br />In<br />Category
 +
|- id="Mech Repair Speed" <!-- ParentName="MechanitorStatBase" --><!--<StatDef>-->
 +
|
 +
* '''Def Name:'''<br />MechRepairSpeed
 +
* '''Label:'''<br />mech repair speed
 +
| A multiplier on how fast a mechanitor can repair mechanoids.
 +
|
 +
* Display Order:<br />'''105'''
 +
* Def Name:<br />'''Mechanitor'''
 +
* Label:<br />'''Mechanitor'''
 +
* Display All By Default:<br />{{Good|true}}
 +
|
 +
* Worker Class: '''StatWorker_Mechanitor'''
 +
* Min Value: '''{{%|0}}'''
 +
* Show On Animals: {{Bad|false}}
 +
* Show On Humanlikes: {{Good|true}}
 +
* Show On Mechanoids: {{Bad|false}}
 +
* Show If Undefined: {{Good|true}}
 +
* '''Default Base Value:''' {{%|1}}
 +
* '''To String Style:''' PercentZero
 +
|
 +
* '''Skill Need Factors:'''
 +
** '''SkillNeed_BaseBonus:'''
 +
*** Skill: '''[[Skills#Crafting|Crafting]]'''
 +
*** Base Value: '''{{%|0.8}}'''
 +
*** Bonus Per Level: {{+|{{%|0.1}}}}
 +
{{Graph:Chart|width=300|height=150|xAxisTitle=Crafting Level|yAxisTitle=Mech Repair Speed Multiplier|type=rect|x=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20|y=0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8|xGrid=|yGrid=}}
 +
| 2000
 +
<!--</StatDef>-->
 +
|}
 +
 
 +
== Version history ==
 +
* [[Biotech (DLC)]] Release - Added.
  
{{Nav|stats|wide}}
+
{{nav|stats|wide}}

Latest revision as of 21:30, 4 October 2024

Mech Repair Speed is a stat: A multiplier on how fast a mechanitor can repair mechanoids. Its minimum allowed value is 0%. Its default value is 100%.

Offsets[edit]

  • Level Offset
    1 +33%
    2 +66%
    3 +100%
    4 +133%
    5 +166%
    6 +200%
    1. See Repair probe Repair probe (Implant)

    Factors[edit]

    • Skill Needs
  • Repair
    Speed
    Crafting
    Level
    0 80%
    1 90%
    2 100%
    3 110%
    4 120%
    5 130%
    6 140%
    7 150%
    8 160%
    9 170%
    10 180%
    11 190%
    12 200%
    13 210%
    14 220%
    15 230%
    16 240%
    17 250%
    18 260%
    19 270%
    20 280%
  • Explanation[edit]

    This stat is only shown on mechanitors (i.e. they have an installed mechlink). It is affected by Crafting Skill level and the Repair probe implant. It is effectively limited to a maximum of 840%: A mechanitor with a level 6 repair probe (+200%) and a crafting skill of 20 (×280%).

    Mech Repair Speed is calculated as:

    Mech Repair Speed = (Default Base Value + Hediff Offset) × (0.8 + (Crafting Skill Level × 0.1) )

    The max would be calculated as:

    (1 + 2) × (0.8 + (20 × 0.1) )

    3 × (0.8 + 2)

    3 × 2.8

    8.4

    Which would be 840%.

    Possible values[edit]

    Here is a table of all possible Mech Repair Speeds considering crafting level and number of installed repair probes:

  • Crafting
    Level
    Repair Probes
    0 1 2 3 4 5 6
    0 80% 106.4% 132.8% 160% 186.4% 132.8% 240%
    1 90% 119.7% 149.4% 180% 209.7% 149.4% 270%
    2 100% 133% 166% 200% 233% 166% 300%
    3 110% 146.3% 182.6% 220% 256.3% 182.6% 330%
    4 120% 159.6% 199.2% 240% 279.6% 199.2% 360%
    5 130% 172.9% 215.8% 260% 302.9% 215.8% 390%
    6 140% 186.2% 232.4% 280% 326.2% 232.4% 420%
    7 150% 199.5% 249% 300% 349.5% 249% 450%
    8 160% 212.8% 265.6% 320% 372.8% 265.6% 480%
    9 170% 226.1% 282.2% 340% 396.1% 282.2% 510%
    10 180% 239.4% 298.8% 360% 419.4% 298.8% 540%
    11 190% 252.7% 315.4% 380% 442.7% 315.4% 570%
    12 200% 266% 332% 400% 466% 332% 600%
    13 210% 279.3% 348.6% 420% 489.3% 348.6% 630%
    14 220% 292.6% 365.2% 440% 512.6% 365.2% 660%
    15 230% 305.9% 381.8% 460% 535.9% 381.8% 690%
    16 240% 319.2% 398.4% 480% 559.2% 398.4% 720%
    17 250% 332.5% 415% 500% 582.5% 415% 750%
    18 260% 345.8% 431.6% 520% 605.8% 431.6% 780%
    19 270% 359.1% 448.2% 540% 629.1% 448.2% 810%
    20 280% 372.4% 464.8% 560% 652.4% 464.8% 840%
  • Stat Def Data[edit]

    Def Name
    Label
    Label For Full Stat List
    Offset Label
    Attributes
    Description Category Parameters Complex
    Parameters
    Display
    Priority
    In
    Category
    • Def Name:
      MechRepairSpeed
    • Label:
      mech repair speed
    A multiplier on how fast a mechanitor can repair mechanoids.
    • Display Order:
      105
    • Def Name:
      Mechanitor
    • Label:
      Mechanitor
    • Display All By Default:
      true
    • Worker Class: StatWorker_Mechanitor
    • Min Value: 0%
    • Show On Animals: false
    • Show On Humanlikes: true
    • Show On Mechanoids: false
    • Show If Undefined: true
    • Default Base Value: 100%
    • To String Style: PercentZero
    • Skill Need Factors:
      • SkillNeed_BaseBonus:
        • Skill: Crafting
        • Base Value: 80%
        • Bonus Per Level: +10%
    2000

    Version history[edit]