Commit Graph

8 Commits

Author SHA1 Message Date
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +02:00
Chomp 038f12ab6c Copy improvements over to AddItemToBotContainerFixedPosition 2025-08-20 14:12:17 +01:00
Chomp 5a5f80aa58 Extracted logic from TryAddItemToBotContainer into helper method + added guard clause 2025-08-20 12:20:47 +01:00
Chomp d8987d55f7 Renamed method to TryAddItemToBotContainer 2025-08-20 12:05:47 +01:00
Chomp 108e6d7512 Improved no container check inside AddItemToBotContainer 2025-08-20 11:58:19 +01:00
Chomp c7a27529bf Fixed AddItemToBotContainer not correctly finding container by index 2025-08-20 10:43:36 +01:00
Chomp 07504d406e Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions 2025-08-15 11:24:10 +01:00
Chomp b061200803 Refactor of how bot loot has its position picked to improve performance (#548)
* Initial work on moving container space checks into new class

* Updated tests

Wired up service to save item into inventory when space is found

Updated `FillContainerMapWithItem` to return outcome and not throw exception on failure

Add containers to bot when generating bot equipment

Clean bot cache after completion of loot generation

Removed redundant code from `AddItemWithChildrenToEquipmentSlot`

Removed unnecessary Singleton status from `BotInventoryContainerService`

* Clean-up of service

* Add botId xml docs

* Updated documentation for `FillContainerMapWithItem`

* Code review fixes and improvements

* Remove TODO

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-08-13 15:35:57 +00:00