HDest-Community/reusable-ammoboxes

A method of "converting" ammo boxes to similar types

Opened this issue · 3 comments

Not sure how this would function but allowing similar boxes for ammo to be converted into other blank boxes so freely converting empty boxes of buck to slugs and such. Other canidates are having 45, 9mm, ndm, 355 convert between each other.

hmm, ok yeah 12ga ammunition is all theoretically interchangeable so I can see the logic behind swapping them out. I'm curious how you'd do that with them simply being HDMagAmmo items...

Thinking a bit more perhaps this would be better served as a new mode for the URL instead? Perhaps call it the relabeling mode?

hmm, I wonder if we could take a page out of the recast system for this and add other modifier keys to insert the other round types?

Given that there's shells, slugs, flare shells, and explosive shells, and that the box holds 20 rounds, you'd need 20,202,020 to be able to count them all. Since the max value of a 32-bit integer is 2,147,483,647, we'd actually have enough room to store all 4 types, and extracting them all out randomly does somewhat make sense as a loose box rather than a strict mag.

I'll mull it over a bit and see what I can come up with.