fix inventory
This commit is contained in:
parent
fc15440afc
commit
61df00985e
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user