
Description: Are you tired of half used ammo boxes cluttering up your inventory? Then this addon is for you. It combines non-full ammo boxes of the same type into full boxes plus the remainder when you leave them in a box or stash. It works with custom ammo types from weapon addons as well (tested with AO). Technical details: The mod consists of two scripts. One that contains the sorting logic. It was not written by me. I just found it online somewhere a long time ago. The other scripts loads the first one on certain in-game events. I wrote the second script to not overwrite any other mod scripts so it should not cause any conflicts. Install: Put in gamedata. Issues: - Only works for ammo stacks that were left in a container for at least a few seconds with the container UI closed. - Once I noticed incorrect ammo counts when unloading a gun inside the container. Might have been a race condition with the ammo aggregation script. - The source comments in the main script are in Russian.