RimWorld

RimWorld

Animated Marshes [1.4]
Yoann 10 Oct, 2023 @ 1:34am
Patch for 1.4
Here is the mod as a patch, for better compatibility (and avoid a bad overwrite):

<?xml version="1.0" encoding="utf-8" ?> <Patch> <Operation Class="PatchOperationSequence"> <success>Normal</success> <operations> <li Class="PatchOperationConditional"> <xpath>/Defs/TerrainDef[defName="Marsh"]/waterDepthShader</xpath> <match Class="PatchOperationReplace"> <xpath>/Defs/TerrainDef[defName="Marsh"]/waterDepthShader</xpath> <value> <waterDepthShader>Map/WaterDepth</waterDepthShader> </value> </match> <nomatch Class="PatchOperationAdd"> <xpath>/Defs/TerrainDef[defName="Marsh"]</xpath> <value> <waterDepthShader>Map/WaterDepth</waterDepthShader> </value> </nomatch> </li> <li Class="PatchOperationReplace"> <xpath>Defs/TerrainDef[defName="Marsh"]/pollutionShaderType</xpath> <value> <pollutionShaderType MayRequire="Ludeon.RimWorld.Biotech">TerrainWaterPolluted</pollutionShaderType> </value> </li> <li Class="PatchOperationConditional"> <xpath>/Defs/TerrainDef[defName="Marsh"]/takeSplashes</xpath> <match Class="PatchOperationReplace"> <xpath>/Defs/TerrainDef[defName="Marsh"]/takeSplashes</xpath> <value> <takeSplashes>true</takeSplashes> </value> </match> <nomatch Class="PatchOperationAdd"> <xpath>/Defs/TerrainDef[defName="Marsh"]</xpath> <value> <takeSplashes>true</takeSplashes> </value> </nomatch> </li> <li Class="PatchOperationConditional"> <xpath>/Defs/TerrainDef[defName="Marsh"]/edgeType</xpath> <match Class="PatchOperationReplace"> <xpath>/Defs/TerrainDef[defName="Marsh"]/edgeType</xpath> <value> <edgeType>Water</edgeType> </value> </match> <nomatch Class="PatchOperationAdd"> <xpath>/Defs/TerrainDef[defName="Marsh"]/edgeType</xpath> <value> <edgeType>Water</edgeType> </value> </nomatch> </li> </operations> </Operation> </Patch>