Skip to content

Tweaking MedPod performance

Robin Chang edited this page Aug 23, 2020 · 10 revisions

The MedPod is balanced with respect to:

  • Its source material, the 2013 science fiction film Elysium
  • Other mods from the Lethe: Lost Technologies of the United Colonial Federation series (e.g. Replimat)
  • A typical RimWorld playthrough, where players are expected to take some time before reaching the Spacer/GlitterTech technology level

As such, the mod is already configured in the manner in which it is meant to be played, and no mod options are provided for ease of use.

However, knowledgeable users may wish to adjust the performance of their MedPod(s) to their own liking. This can be done through XML PatchOperations, which is safer than directly editing the mod's XML defs.

MedPod.CompProperties_MedPodSettings

Each type of MedPod has a MedPod.CompProperties_MedPodSettings Comp, with the following parameters:

Parameter Description Unit Default Value
maxDiagnosisTime How long it takes for this MedPod to diagnose a patient seconds (s) 5
maxPerHediffHealingTime How long it takes (on average) for this MedPod to treat each medical condition on a patient.

Note that this is scaled according to the severity of the condition - for instance, less severe injuries will take less time to treat.
seconds (s) 10
diagnosisModePowerConsumption The amount of power this MedPod will draw from the power grid while operating in Diagnosis mode. Watts (W) 500
healingModePowerConsumption The amount of power this MedPod will draw from the power grid while operating in Treatment mode. Watts (W) 2000

For example, the MedPodLux variant has custom values specified to make it run faster at the cost of higher power consumption:

<li Class="MedPod.CompProperties_MedPodSettings">
    <maxDiagnosisTime>3.75</maxDiagnosisTime>
    <maxPerHediffHealingTime>7.5</maxPerHediffHealingTime>
    <diagnosisModePowerConsumption>750</diagnosisModePowerConsumption>
    <healingModePowerConsumption>3000</healingModePowerConsumption>
</li>

Whereas the regular MedPodStandard version leaves the parameters unspecified, which automatically causes the MedPod to fall back to their default values:

<li Class="MedPod.CompProperties_MedPodSettings">
    <!-- Use default values -->
</li>

If you really, really insist...

Should a player wish to tweak these values themselves for "game balance" reasons, the recommendation is to create a own personal tweaks mod, and include a patch file targeting the MedPod mod that points to the specific MedPod model(s) (e.g. MedPodStandard or MedPodLux) to be modified.

Specifics are left as an exercise for these players.

Clone this wiki locally