diff --git a/Assets/Character Stats/Examples/Items & Inventory/Scripts/Inventory.cs b/Assets/Character Stats/Examples/Items & Inventory/Scripts/Inventory.cs index 7242d5bb..4c32a396 100644 --- a/Assets/Character Stats/Examples/Items & Inventory/Scripts/Inventory.cs +++ b/Assets/Character Stats/Examples/Items & Inventory/Scripts/Inventory.cs @@ -133,6 +133,7 @@ namespace Kryz.CharacterStats.Examples { Debug.Log("Is Full: item count = " + items.Count + " itemSlots lenght = " + itemSlots.Length + " findAllnull/empty names " + items.FindAll(x => string.IsNullOrEmpty(x.ItemName)).Count); Debug.Log("Is Full: " + (items.Count >= itemSlots.Length || items.FindAll(x => string.IsNullOrEmpty(x.ItemName)).Count <= 0)); + Debug.Log("Is Full: " + (items.Count >= itemSlots.Length)); return items.Count >= itemSlots.Length; //return items.FindAll(x => string.IsNullOrEmpty(x.ItemName)).Count <= 0; } diff --git a/Assets/Scripts/Game/GameConstants.cs b/Assets/Scripts/Game/GameConstants.cs index 5e47aa99..8663ed31 100644 --- a/Assets/Scripts/Game/GameConstants.cs +++ b/Assets/Scripts/Game/GameConstants.cs @@ -386,7 +386,7 @@ public static class GameConstants public static class Sizes { - public const int TotalEquipmentSlots = 6; + public const int TotalEquipmentSlots = 10; public const int TotalInventorySlots = 32; public const int TotalBuildSlots = 3; }