diff --git a/About/About-Debug.xml b/About/About-Debug.xml index 1be97d0..f4828c9 100644 --- a/About/About-Debug.xml +++ b/About/About-Debug.xml @@ -2,6 +2,10 @@ Change map edge limit - Dev Build Kapitan Oczywisty - 1.0.2059 + +
  • 1.0
  • +
  • 1.1
  • +
    + kapitanoczywisty.changemapedge.dev Change map edge limit dev build
    \ No newline at end of file diff --git a/About/About-Release.xml b/About/About-Release.xml index cf32e78..099ce60 100644 --- a/About/About-Release.xml +++ b/About/About-Release.xml @@ -2,7 +2,11 @@ Change map edge limit Kapitan Oczywisty - 1.0.2059 + +
  • 1.0
  • +
  • 1.1
  • +
    + kapitanoczywisty.changemapedge Simple mod that allows you to customize "too close to map edge" limits when placing buildings, blueprints or zones. Should works with any other mod (unless is doing the same thing). diff --git a/About/About.xml b/About/About.xml index 1be97d0..f4828c9 100644 --- a/About/About.xml +++ b/About/About.xml @@ -2,6 +2,10 @@ Change map edge limit - Dev Build Kapitan Oczywisty - 1.0.2059 + +
  • 1.0
  • +
  • 1.1
  • +
    + kapitanoczywisty.changemapedge.dev Change map edge limit dev build
    \ No newline at end of file diff --git a/LoadFolders.xml b/LoadFolders.xml new file mode 100644 index 0000000..3d1d7f3 --- /dev/null +++ b/LoadFolders.xml @@ -0,0 +1,6 @@ + + +
  • /
  • +
  • v1.1
  • +
    +
    \ No newline at end of file diff --git a/Source/ChangeMapEdge.csproj b/Source/ChangeMapEdge.csproj index 859add7..09bb2a7 100644 --- a/Source/ChangeMapEdge.csproj +++ b/Source/ChangeMapEdge.csproj @@ -9,14 +9,14 @@ Properties ChangeMapEdge ChangeMapEdge - v3.5 + v4.7.2 512 false none false - ..\Assemblies\ + ..\v1.1\Assemblies\ prompt @@ -25,7 +25,7 @@ none true - ..\..\ChangeMapEdge - Release\Assemblies\ + ..\..\ChangeMapEdge - Release\v1.1\Assemblies\ prompt @@ -34,15 +34,19 @@ - ..\..\HugsLib\Assemblies\0Harmony.dll + ..\..\HugsLib\v1.1\Assemblies\0Harmony.dll False ..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll False + + ..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll + False + - ..\..\HugsLib\Assemblies\HugsLib.dll + ..\..\HugsLib\v1.1\Assemblies\HugsLib.dll False @@ -85,7 +89,7 @@ $(SolutionDir)..\..\RimWorldWin.exe - echo F|xcopy "$(ProjectDir)..\About\About-$(ConfigurationName).xml" "$(TargetDir)..\About\About.xml" /C /Y /K /Q /D + \ No newline at end of file diff --git a/Source/ChangeMapEdgeHarmony.cs b/Source/ChangeMapEdgeHarmony.cs index 3b8b33b..0a65d1e 100644 --- a/Source/ChangeMapEdgeHarmony.cs +++ b/Source/ChangeMapEdgeHarmony.cs @@ -1,6 +1,6 @@ using System; using Verse; -using Harmony; +using HarmonyLib; using System.Reflection; using RimWorld; using UnityEngine; @@ -12,7 +12,7 @@ static class ChangeMapEdgeHarmony { static ChangeMapEdgeHarmony() { - HarmonyInstance harmony = HarmonyInstance.Create("rimworld.kapitanoczywisty.changemapedge"); + Harmony harmony = new Harmony("rimworld.kapitanoczywisty.changemapedge"); MethodInfo nobuild_targetmethod = AccessTools.Method(typeof(Verse.GenDraw), "DrawNoBuildEdgeLines"); HarmonyMethod nobuild_prefixmethod = new HarmonyMethod(typeof(ChangeMapEdgeHarmony).GetMethod("DrawNoBuildEdgeLines_Prefix")); diff --git a/v1.1/About/About.xml b/v1.1/About/About.xml new file mode 100644 index 0000000..1be97d0 --- /dev/null +++ b/v1.1/About/About.xml @@ -0,0 +1,7 @@ + + + Change map edge limit - Dev Build + Kapitan Oczywisty + 1.0.2059 + Change map edge limit dev build + \ No newline at end of file diff --git a/v1.1/Assemblies/ChangeMapEdge.dll b/v1.1/Assemblies/ChangeMapEdge.dll new file mode 100644 index 0000000..d6bd971 Binary files /dev/null and b/v1.1/Assemblies/ChangeMapEdge.dll differ