Closed Skwizzy closed 1 year ago
Looted magazines and guns are now registered properly in the WeaponManager allowing bots to swap weapons and reload their looted guns
On bot spawn, sort the items in the rig so that items prefer to be in slots that are their exact size. (For example: sorting "Screws" will prefer to move the item to a 1x1 grid slot before trying to move to bigger slots. This should help bots manage their inventory a little better and create space to reload most mags.
Implemented logic to reserve a 2x1 space in the tactical vest for all bots to use as a space for reloaded mags.
If a bot has thrown an item, they will not pick it back up (does not include when magazines are dropped on the floor from reloading)
Bots seem to be able to constantly reload and refill the magazines of their looted weapons now. Need to do some more stress testing before this issue can be closed
When a bot has no mag for a gun in their rig/backpack they dont think that they can shoot. Need to ensure that ammo is always looted when equipping new weapons