Difference between revisions of "Repair Energy Cost"

From RimWorld Wiki
Jump to navigation Jump to search
(Repair Energy Cost Stat)
 
 
Line 1: Line 1:
 
{{Biotech}}
 
{{Biotech}}
 
{{Stub|reason=1) Two-way links 2) Corresponding Property 3) Do StatDefs inherit attributes? (i.e. MayRequireAnyOf="Ludeon.RimWorld.Biotech,Ludeon.RimWorld.Anomaly" from MechStatBase)}}
 
{{Stub|reason=1) Two-way links 2) Corresponding Property 3) Do StatDefs inherit attributes? (i.e. MayRequireAnyOf="Ludeon.RimWorld.Biotech,Ludeon.RimWorld.Anomaly" from MechStatBase)}}
{{Verified|1.5.4104}}{{Stat
+
{{Verified|1.5.4104}}{{See also|Mech Repair Speed}}{{Stat
 
| min value = 0
 
| min value = 0
 
| default base value = 0.333
 
| default base value = 0.333
Line 8: Line 8:
 
| category = Mechanoid
 
| category = Mechanoid
 
}}
 
}}
{{See also|Mech Repair Speed}}
 
  
 
== Bases ==
 
== Bases ==

Latest revision as of 21:44, 18 September 2024

Repair Energy Cost is a stat: The amount of energy that this mechanoid loses for every 100 damage repaired. Its minimum allowed value is 0. Its default value is 0.

Bases[edit]

Mechanoid Repair Energy Cost
Centipede blaster Centipede blaster 0.2
Centipede gunner Centipede gunner 0.2
Centipede burner Centipede burner 0.2
Lancer Lancer 0.33
Scyther Scyther 0.33
Pikeman Pikeman 0.33
Termite Termite 0.33[1]
Militor Militor Content added by the Biotech DLC 0.66
Lifter Lifter Content added by the Biotech DLC 0.66
Constructoid Constructoid Content added by the Biotech DLC 0.66
Fabricor Fabricor Content added by the Biotech DLC 0.66
Agrihand Agrihand Content added by the Biotech DLC 0.66
Cleansweeper Cleansweeper Content added by the Biotech DLC 0.66
War urchin War urchin Content added by the Biotech DLC 0.66[2]
Paramedic Paramedic Content added by the Biotech DLC 0.66
Legionary Legionary Content added by the Biotech DLC 0.33
Tesseron Tesseron Content added by the Biotech DLC 0.33
Scorcher Scorcher Content added by the Biotech DLC 0.33
Tunneler Tunneler Content added by the Biotech DLC 0.2
Apocriton Apocriton Content added by the Biotech DLC 0.33[1]
Centurion Centurion Content added by the Biotech DLC 0.15
War queen War queen Content added by the Biotech DLC 0.15
Diabolus Diabolus Content added by the Biotech DLC 0.15
  1. 1.0 1.1 This mech cannot be gestated by a mechanitor, so this is irrelevant
  2. This mech cannot be repaired by an overseer, so this is irrelevant

String Format[edit]

Repair Energy Cost is written out ingame as:

Base Value × 100

Which is then styled as an integer.

Worked Examples[edit]

  1. 0.333 (Default Base Value):
    1. 0.333 × 100 = 33.3
    2. 33.3 to integer = 33
  2. 0.33 (BaseMechanoid):
    1. 0.33 × 100 = 33
    2. 33 to integer = 33
  3. 0.2 (MechCentipede and HeavyMechanoid):
    1. 0.2 × 100 = 20
    2. 20 to integer = 20
  4. 0.66 (LightMechanoid):
    1. 0.66 × 100 = 66
    2. 66 to integer = 66
  5. 0.15 (SuperHeavyMechanoid):
    1. 0.15 × 100 = 150
    2. 150 to integer = 150

Health[edit]

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:
    MechEnergyLossPerHP
  • Label:
    repair energy cost
The amount of energy that this mechanoid loses for every 100 damage repaired.
  • Display Order:
    13
  • Def Name:
    Mechanoid
  • Label:
    Mechanoid
  • Display All By Default:
    true
  • Show On Animals: false
  • Show On Humanlikes: false
  • Show On Mechanoids: true
  • Worker Class: StatWorker_MechEnergyLossPerHP
  • Default Base Value: 0.333
  • Min Value: 0
  • To String Style: Integer
  • Show If Undefined: false
- 2020

Version history[edit]