Skip to content

Commit

Permalink
Merge pull request #9 from Vapok/bug/1.0.2BugFixes
Browse files Browse the repository at this point in the history
Bug Fixes Found
  • Loading branch information
Vapok authored Jan 16, 2023
2 parents 47c3f55 + a9f5d21 commit 5651a0b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion AdventureBackpacks/AdventureBackpacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class AdventureBackpacks : BaseUnityPlugin, IPluginInfo
//Module Constants
private const string _pluginId = "vapok.mods.adventurebackpacks";
private const string _displayName = "AdventureBackpacks";
private const string _version = "0.0.1";
private const string _version = "1.0.2";

//Interface Properties
public string PluginId => _pluginId;
Expand Down
2 changes: 1 addition & 1 deletion AdventureBackpacks/Assets/Backpacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public static Inventory NewInventoryInstance(string name)
return new Inventory(
UiInventoryName,
null,
(int)ConfigRegistry.RuggedBackpackSize.Value.x,
(int)ConfigRegistry.ArcticBackpackSize.Value.x,
(int)ConfigRegistry.ArcticBackpackSize.Value.y
);
}
Expand Down
4 changes: 2 additions & 2 deletions AdventureBackpacks/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
4 changes: 4 additions & 0 deletions PATCHNOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Adventure Backpacks Patchnotes

# 1.0.2.0
* Localization Updates was very chatty. Muted.
* Arctic Backpack sizing was set to rugged on the X axis. Opps.
* Also, BepInEx version was set wrong. Reset.
# 1.0.1.0
* Adds in Weightless Compatibility with Epic Loot to ensure maximum epicness. (also you're cheating... lol)
* Resolves a Bag Duplication that was occuring when trying to insert a backpack into a backpack. (The gods are watching you.)
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ stage of maturity. This includes a backpack progression that will start at Meado
* v2.0.0 - To be determined!

# Current Patch Notes
## 1.0.1.0
* Adds in Weightless Compatibility with Epic Loot to ensure maximum epicness. (also you're cheating... lol)
* Resolves a Bag Duplication that was occuring when trying to insert a backpack into a backpack. (The gods are watching you.)

# 1.0.2.0
* Localization Updates was very chatty. Muted.
* Arctic Backpack sizing was set to rugged on the X axis. Opps.
* Also, BepInEx version was set wrong. Reset.
*
## Compatible Mods (Verified)
* Epic Loot 0.9.3+
* Equipment and Quickslots
Expand Down
3 changes: 2 additions & 1 deletion Vapok.Common/Managers/LocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using HarmonyLib;
using JetBrains.Annotations;
using UnityEngine;
using Vapok.Common.Managers.Configuration;
using YamlDotNet.Serialization;


Expand Down Expand Up @@ -58,7 +59,7 @@ private static void UpdatePlaceholderText(Localization localization, string key)
{
text = textProcessors.Aggregate(text, (current, kv) => current.Replace("{" + kv.Key + "}", kv.Value()));
}
Debug.Log($"Localization Update: Key: {key} Value: [{text}]");

localization.AddWord(key, text);
}

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "AdventureBackpacks",
"version_number": "1.0.1",
"version_number": "1.0.2",
"website_url": "https://github.com/Vapok/AdventureBackpacks",
"description": "A Valheim Mod to add Adventuring Backpacks to the Game. These packs will grow and become more useful as the game progresses.",
"dependencies": [
Expand Down

0 comments on commit 5651a0b

Please sign in to comment.