ktx_cases
Items
The case items your inventory needs, and the icons on the cards.
Every case is an inventory item. Using it opens the case, which is registered through the adapter's registerUsableItem.
Adding them
The items/ folder in the download has both forms ready to paste:
ox_inventory.txt | the entries for ox_inventory/data/items.lua |
esx_qb.sql | the inserts for an ESX or QB-Core items table |
The names have to match the item field of the cases in config.lua.
Icons
icons/cases/ | the picture of the case itself, named in icon on the case |
icons/rewards/ | the picture on a reward card, named in icon on the reward |
A reward with an empty icon gets the picture of its type: money.svg, item.svg, weapon.svg, vehicle.svg or coins.svg. item.svg is also what a type outside those five falls back to. Every reward in the shipped pool leaves icon empty. Put a file in icons/rewards/ and name it on the reward when one deserves its own.