For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation Guide QBCore Inventory

1

Install resource from Portal

After installing, you should get a zip file with the name shown below.

  • cdev_tarot.pack.zip

2

Extract the zip.

➤ Step 1: Extract the contents of cdev_tarot.pack.zip the folder extact should be the name cdev_tarot.

3

Server.cfg Configuration

This resource must always be started after your framework and any other required resources.

It is essential to follow the correct startup order to ensure proper functionality and avoid conflicts.

Below is an example screenshot showing the recommended startup order:

4

Cdev_tarot Configuration

🚩 To work correctly, cdev_tarot requires the proper configuration of the inventory in the config.lua file located in the cdev_tarot > public > shared folder. Below is how the file should be configured to ensure everything functions properly.

5

Setup Item and Images inside QBCore Inventory

Step One

Add images to qb-inventory/html/images Images are available in the cdev_tarot > images folder of this resource.

Step Two

Add item to qb-core/shared/items.lua like listed bellow.

-- Cdev Tarot
tarotminordeck               = { name = 'tarotminordeck', label = 'Tarot Minor Deck', weight = 100, type = 'item', image = 'tarotminordeck.png', unique = false, useable = true, shouldClose = true, description = 'Tarot Deck' },
tarotmajordeck               = { name = 'tarotmajordeck', label = 'Tarot Major Deck', weight = 100, type = 'item', image = 'tarotmajordeck.png', unique = false, useable = true, shouldClose = true, description = 'Tarot Deck' },
tarotmixeddeck               = { name = 'tarotmixeddeck', label = 'Tarot Mixed Deck', weight = 100, type = 'item', image = 'tarotmixeddeck.png', unique = false, useable = true, shouldClose = true, description = 'Tarot Deck' },

Last updated