Categories: Items are organized into “Weapons, Ammunition, Equipment, Protection, Utility.”
Rank filter: Each item has a grade. A player only sees/selects items if their job grade meets or exceeds that level.
Cart flow: Items are added with “Select,” then quantity can be increased/decreased or removed in the cart.
Quantity system:stack defines how much is added per click (e.g., ammo boxes), and maxPerCart sets the maximum limit per purchase.
Payment: The total cost is calculated, and the player pays with Card or Cash. If successful, items are added directly to the inventory.
Item binding:itemName is the actual inventory item name; the system gives that item when purchased.
Validation: Rank, limits, and funds are checked in the UI and verified again on the server side.
Configuration: Price, rank, stock/limit, descriptions, and images are all configurable. Adding new items is done by copying a line and editing its fields.
Summary: A simple armory system that works with rank-based visibility, a cart system, and payment options to manage police equipment distribution.