Skip to content

Commit

Permalink
fiddling even more
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoNeko committed Apr 29, 2020
1 parent a3ca238 commit 2b136d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public static void PostFix(ref float __result, int tile, bool perceivedStatic, i
if (roadDefExtension != null && ((tile2.biome.impassable && roadDefExtension.biomeModifier > 0) || (tile2.hilliness == Hilliness.Impassable)))
{
__result = 12f;
RoadsOfTheRim.DebugLog(String.Format("[RotR] - Impassable Tile {0} movement difficulty patched", tile));
RoadsOfTheRim.DebugLog(String.Format("[RotR] - Impassable Tile {0} of biome {1} movement difficulty patched to 12", tile , tile2.biome.label));
}
}

Expand Down Expand Up @@ -357,7 +357,7 @@ public static void Postfix(ref bool __result)
if ( (c.FullName == "RimWorld.Planet.WorldLayer_Paths" && m.Name == "AddPathEndpoint") ||
( c.FullName.Contains("RimWorld.Planet.WorldLayer_Roads") && c.FullName.Contains("Regenerate")) )
{
RoadsOfTheRim.DebugLog("Water covered PATCHED TO FALSE");
//RoadsOfTheRim.DebugLog("Water covered PATCHED TO FALSE");
__result = false;
break;
}
Expand Down
Binary file modified v1.1/Assemblies/RoadsOfTheRim.dll
Binary file not shown.

0 comments on commit 2b136d6

Please sign in to comment.