Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
rebuild to new ver of TLD, log update
Browse files Browse the repository at this point in the history
  • Loading branch information
ttr committed Apr 13, 2022
1 parent 3d58ddd commit c0b0ac0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
21 changes: 17 additions & 4 deletions MapTweaks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,20 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=2.9.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Games\SteamLibrary\steamapps\common\TheLongDark\MelonLoader\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\Steam\SteamApps\common\TheLongDark\tld_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Il2Cppmscorlib, Version=3.7.1.6, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Il2CppSystem, Version=3.7.1.6, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Il2Cppmscorlib, Version=3.7.1.6, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="Il2CppSystem, Version=3.7.1.6, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="MelonLoader, Version=0.4.3.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Games\SteamLibrary\steamapps\common\TheLongDark\MelonLoader\MelonLoader.dll</HintPath>
Expand All @@ -52,8 +61,12 @@
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnhollowerBaseLib, Version=0.4.9.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="UnhollowerRuntimeLib, Version=0.4.9.0, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="UnhollowerBaseLib, Version=0.4.9.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="UnhollowerRuntimeLib, Version=0.4.9.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\..\..\Steam\SteamApps\common\TheLongDark\tld_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: MelonInfo(typeof(MapTweaks.MapTweaks), "MapTweaks", "2.2", "MikeyPdog, AlexTheRegent, ttr")]
[assembly: MelonInfo(typeof(MapTweaks.MapTweaks), "MapTweaks", "2.3", "MikeyPdog, AlexTheRegent, ttr")]
[assembly: MelonGame("Hinterland", "TheLongDark")]
6 changes: 3 additions & 3 deletions src/Patches.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using HarmonyLib;
using MelonLoader;
using MelonLoader;
using HarmonyLib;


namespace MapTweaks
Expand All @@ -24,7 +24,7 @@ public static void Postfix(VistaLocation vistaLocation, bool __result)
{
if (Settings.options.assumePolaroids && !__result)
{
MelonLogger.Msg(__result + " Would add: " + vistaLocation.m_RequiredGearItem.name);
MelonLogger.Msg("Silent add: " + vistaLocation.m_RequiredGearItem.name);
GameManager.GetPlayerManagerComponent().AddItemToPlayerInventory(vistaLocation.m_RequiredGearItem);
}
}
Expand Down

0 comments on commit c0b0ac0

Please sign in to comment.