RimWorld

RimWorld

Moyo-From the depth(Legacy)
RaptorMother 24 Jan, 2022 @ 2:01am
Swimming speed patch
Hello! If you're interested, I wrote a little patch to add Moyos some swim speed using SwimmingKit (since they have a nice flat tail and are from the ocean, it made sense in my mind)

<?xml version="1.0" encoding="utf-8" ?>
<!-- Add Swimspeed tag if user has SwimmingKit -->

<Patch>
<Operation Class="PatchOperationFindMod">
<mods><li>SwimmingKit</li></mods>
<match Class="PatchOperationAdd">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Moyo"]/statBases</xpath>
<value>
<SwimSpeed>4.2</SwimSpeed>
</value>
</match>
</Operation>
</Patch>