Items
The items your inventory needs, and where their pictures come from.
Everything the resource hands over is an item in your inventory: the three rods and everything that can be caught. Nothing is created for you.
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 keys in Config.Items and Config.Rods. mackerel in the config is mackerel in the inventory.
Pictures
Config.ItemImage = "nui://ktx_fishing/dist/web/images/%s.svg"%s is the item name. The resource ships with its own set, so nothing has to be set up. Point it at your inventory to use the art you already have:
Config.ItemImage = "nui://ox_inventory/web/images/%s.png"
Config.ItemImage = "nui://qb-inventory/html/images/%s.png"Note the extension changes with the path. The shipped set is SVG, most inventories are PNG.
The catch list
Config.Items is the full list of what exists, with a label and a price. A spot only points at entries from here, so a new fish is one entry in this list, one line in the spot that holds it, and one item in your inventory.