mirror of
https://git.muiegratis.online/suikoakari/Campofinale
synced 2025-12-23 06:54:41 +01:00
some bug fix, new improved inventory manager (but still very bad but atleast you can give some items inside the bag)
This commit is contained in:
@@ -215,15 +215,19 @@ namespace Campofinale
|
||||
|
||||
foreach(var item in itemTable)
|
||||
{
|
||||
if(item.Value.maxStackCount == -1)
|
||||
if(item.Value.GetStorage()!= ItemStorageSpace.BagAndFactoryDepot)
|
||||
{
|
||||
inventoryManager.items.Add(new Item(roleId, item.Value.id, 10000000));
|
||||
}
|
||||
else
|
||||
{
|
||||
inventoryManager.items.Add(new Item(roleId, item.Value.id, item.Value.maxStackCount));
|
||||
if (item.Value.maxStackCount == -1)
|
||||
{
|
||||
inventoryManager.items.Add(new Item(roleId, item.Value.id, 10000000));
|
||||
}
|
||||
else
|
||||
{
|
||||
inventoryManager.items.Add(new Item(roleId, item.Value.id, item.Value.maxStackCount));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
teams.Add(new Team()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user