I saw in your code you choose the best ammo, and list 3 which are standard ones. Could you get that list from a config file instead, and then we could just edit the config to add new, mod'd ammo types for auto pickup ?
Otherwise, awesome app, love it. Nice work.