// Management · RimWorld Mod
SwimmingKit
Swimming Kit A RimWorld mod which adds swimming attribute for pawns to change speeds while in water tiles.
Swimming Kit
A RimWorld mod which adds swimming attribute for pawns to change speeds while in water tiles.Required Mods
- HarmonyOptional / Compatible Mods
- TerrainMovementKit A copy of this mod is included automatically, but if you also install the TerrainMovementKit as well it won't cause any issues with the SwimmingKit.Description
The mod acts as a toolkit for adding swimming statistics to the game. It makes pawns respect a new SwimSpeed baseStat for both moving through water and for planning pathing through water. In working on another mod it took the better part of a long weekend to get all the various places that needed changing correct, so to save other modders time and to enable adding actual aquatic gear / pawns I put the changes together in this mod. Change in Terrain This mod makes Ocean and DeepWater tiles accessible. Normal pawns will move very very slow through ocean, but it is possible for pawns and items to now be in Ocean. If a pawn has SwimSpeed it will travel much quicker through ocean tiles.How to Use
Adding the `SwimSpeed` to any `ThingDef`'s `statBases` will apply swim speed when in water tiles.
Turtle
A tortoise that likes water
1
4
Setting aquatic in the Swimming.AquaticExtension will make something aquatic only, meaning it won't go on land.
Shark
A shark that can only go in water
0.15
4
true
If you want to conditionally set a SwimSpeed only if this mod is present you can do the following:
// Dynamically set the SwimSpeed to avoid requiring SwimmingKit
StatDef swimDef = DefDatabase.GetNamed("SwimSpeed", false);
if (swimDef != null)
{
ThingDef turtle = ThingDef.Named("Turtle");
turtle.SetStatBaseValue(swimDef, 4.0f);
}
You can also effect SwimSpeed by modifying equipment.
Apparel_HydroPowerArmor
Augmented power armor with built-in water-jets for fast traversal underwater.
-1.0
3.5
For more details please read the Github SwimmingKit page.