Skip to content

Commit

Permalink
Fix for patch Hildir's Request
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivaylo-Lafchiev committed Aug 28, 2023
1 parent 91281b8 commit b9a5750
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 34 deletions.
29 changes: 0 additions & 29 deletions GameClasses/Console.cs

This file was deleted.

2 changes: 1 addition & 1 deletion GameClasses/InventoryGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ internal static bool PrefixUpdateRecipe(InventoryGui __instance, Player player,
}
__instance.m_recipeName.text = text;

__instance.m_recipeDecription.text = Localization.instance.Localize(ItemDrop.ItemData.GetTooltip(__instance.m_selectedRecipe.Key.m_item.m_itemData, num, true));
__instance.m_recipeDecription.text = Localization.instance.Localize(ItemDrop.ItemData.GetTooltip(__instance.m_selectedRecipe.Key.m_item.m_itemData, num, true, Game.m_worldLevel));
if (value != null)
{
__instance.m_itemCraftType.gameObject.SetActive(true);
Expand Down
2 changes: 0 additions & 2 deletions Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ internal static void DoRecycle(Player player, InventoryGui __instance)
{
__instance.m_craftItemDoneEffects.Create(player.transform.position, Quaternion.identity, null, 1f);
}
Game.instance.GetPlayerProfile().m_playerStats.m_crafts++;
Gogan.LogEvent("Game", "Crafted", __instance.m_craftRecipe.m_item.m_itemData.m_shared.m_name, (long)downgradedQuality);
}

}
Expand Down
2 changes: 1 addition & 1 deletion ValheimRecycle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ValheimRecycle
{
[BepInPlugin("org.lafchi.plugins.valheim_recycle", "Valheim Recycle", "2.5.0")]
[BepInPlugin("org.lafchi.plugins.valheim_recycle", "Valheim Recycle", "3.0.0")]
[BepInProcess("valheim.exe")]
public class ValheimRecycle : BaseUnityPlugin
{
Expand Down
1 change: 0 additions & 1 deletion ValheimRecycle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
<ItemGroup>
<Compile Include="GameClasses\Humanoid.cs" />
<Compile Include="RecycleConfig.cs" />
<Compile Include="GameClasses\Console.cs" />
<Compile Include="GameClasses\InventoryGui.cs" />
<Compile Include="Utils.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down

0 comments on commit b9a5750

Please sign in to comment.