Items
This script includes items for 9 different job types. You need to add these items to your inventory system.
Job Types and Their Items
1. Miner
- stones - Raw stones collected from mining
- cleanstones - Cleaned stones ready for processing
- topaz - Precious gem extracted from stones
- pickaxe - Required tool for mining
2. Lumberjack
- wood - Raw wood collected from trees
- processedwood - Processed wood
- woodenplanks - Final product - wooden planks
- axe - Required tool for lumberjacking
3. Electrician
- oldcablereel - Old cable reels to collect
- cable - Extracted cable
- copperwire - Processed copper wire for sale
- screwdriver - Required tool for electrician work
4. Oil Technician
- wrench - Required tool for oil work
- crudeoil - Collected crude oil
- gasoline - Refined gasoline for sale
5. Fisherman
- fishingrod - Required tool for fishing
- fish - Caught fish
- cleanedfish - Cleaned and prepared fish for sale
6. Coffee Farmer
- gloves - Required tool for coffee farming
- coffeebean - Collected coffee beans
- groundcoffee - Ground coffee
- coffeedrink - Final coffee drink product
7. Baker
- rollingpin - Required tool for baking
- wheat - Harvested wheat
- flour - Processed flour
- bread - Baked bread for sale
8. Tailor
- sewingneedle - Required tool for tailoring
- cotton - Collected cotton
- fabric - Processed fabric
- shirts - Finished shirts for sale
9. Scientist
- tubetest - Required tool for scientific work
- sample - Collected samples
- drug - Processed pharmaceuticals for sale
QB-Inventory
Add these items to your qb-core/shared/items.lua:
-- Miner Items
['stones'] = {['name'] = 'stones', ['label'] = 'Stones', ['weight'] = 10, ['type'] = 'item', ['image'] = 'stones.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Raw stones'},
['cleanstones'] = {['name'] = 'cleanstones', ['label'] = 'Clean Stones', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cleanstones.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Cleaned stones'},
['topaz'] = {['name'] = 'topaz', ['label'] = 'Topaz', ['weight'] = 10, ['type'] = 'item', ['image'] = 'topaz.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Precious topaz gem'},
['pickaxe'] = {['name'] = 'pickaxe', ['label'] = 'Pickaxe', ['weight'] = 10, ['type'] = 'item', ['image'] = 'pickaxe.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Mining tool'},
-- Lumberjack Items
['wood'] = {['name'] = 'wood', ['label'] = 'Wood', ['weight'] = 10, ['type'] = 'item', ['image'] = 'wood.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Raw wood'},
['processedwood'] = {['name'] = 'processedwood', ['label'] = 'Processed Wood', ['weight'] = 10, ['type'] = 'item', ['image'] = 'processedwood.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Processed wood'},
['woodenplanks'] = {['name'] = 'woodenplanks', ['label'] = 'Wooden Planks', ['weight'] = 10, ['type'] = 'item', ['image'] = 'woodenplanks.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wooden planks'},
['axe'] = {['name'] = 'axe', ['label'] = 'Axe', ['weight'] = 10, ['type'] = 'item', ['image'] = 'axe.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Lumberjack tool'},
-- Electrician Items
['oldcablereel'] = {['name'] = 'oldcablereel', ['label'] = 'Old Cable Reel', ['weight'] = 10, ['type'] = 'item', ['image'] = 'oldcablereel.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Old cable reel'},
['cable'] = {['name'] = 'cable', ['label'] = 'Cable', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cable.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Electrical cable'},
['copperwire'] = {['name'] = 'copperwire', ['label'] = 'Copper Wire', ['weight'] = 10, ['type'] = 'item', ['image'] = 'copperwire.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Copper wiring'},
['screwdriver'] = {['name'] = 'screwdriver', ['label'] = 'Screwdriver', ['weight'] = 10, ['type'] = 'item', ['image'] = 'screwdriver.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Electrician tool'},
-- Oil Technician Items
['wrench'] = {['name'] = 'wrench', ['label'] = 'Wrench', ['weight'] = 10, ['type'] = 'item', ['image'] = 'wrench.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Oil technician tool'},
['crudeoil'] = {['name'] = 'crudeoil', ['label'] = 'Crude Oil', ['weight'] = 10, ['type'] = 'item', ['image'] = 'crudeoil.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Unrefined crude oil'},
['gasoline'] = {['name'] = 'gasoline', ['label'] = 'Gasoline', ['weight'] = 10, ['type'] = 'item', ['image'] = 'gasoline.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Refined gasoline'},
-- Fisherman Items
['fishingrod'] = {['name'] = 'fishingrod', ['label'] = 'Fishing Rod', ['weight'] = 10, ['type'] = 'item', ['image'] = 'fishingrod.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Fishing tool'},
['fish'] = {['name'] = 'fish', ['label'] = 'Fish', ['weight'] = 10, ['type'] = 'item', ['image'] = 'fish.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Fresh fish'},
['cleanedfish'] = {['name'] = 'cleanedfish', ['label'] = 'Cleaned Fish', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cleanedfish.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Cleaned fish ready for sale'},
-- Coffee Farmer Items
['gloves'] = {['name'] = 'gloves', ['label'] = 'Gloves', ['weight'] = 10, ['type'] = 'item', ['image'] = 'gloves.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Coffee farming gloves'},
['coffeebean'] = {['name'] = 'coffeebean', ['label'] = 'Coffee Bean', ['weight'] = 10, ['type'] = 'item', ['image'] = 'coffeebean.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Raw coffee beans'},
['groundcoffee'] = {['name'] = 'groundcoffee', ['label'] = 'Ground Coffee', ['weight'] = 10, ['type'] = 'item', ['image'] = 'groundcoffee.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Ground coffee'},
['coffeedrink'] = {['name'] = 'coffeedrink', ['label'] = 'Coffee Drink', ['weight'] = 10, ['type'] = 'item', ['image'] = 'coffeedrink.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Ready-to-drink coffee'},
-- Baker Items
['rollingpin'] = {['name'] = 'rollingpin', ['label'] = 'Rolling Pin', ['weight'] = 10, ['type'] = 'item', ['image'] = 'rollingpin.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Baking tool'},
['wheat'] = {['name'] = 'wheat', ['label'] = 'Wheat', ['weight'] = 10, ['type'] = 'item', ['image'] = 'wheat.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Harvested wheat'},
['flour'] = {['name'] = 'flour', ['label'] = 'Flour', ['weight'] = 10, ['type'] = 'item', ['image'] = 'flour.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Processed flour'},
['bread'] = {['name'] = 'bread', ['label'] = 'Bread', ['weight'] = 10, ['type'] = 'item', ['image'] = 'bread.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Baked bread'},
-- Tailor Items
['sewingneedle'] = {['name'] = 'sewingneedle', ['label'] = 'Sewing Needle', ['weight'] = 10, ['type'] = 'item', ['image'] = 'sewingneedle.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Tailoring tool'},
['cotton'] = {['name'] = 'cotton', ['label'] = 'Cotton', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cotton.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Raw cotton'},
['fabric'] = {['name'] = 'fabric', ['label'] = 'Fabric', ['weight'] = 10, ['type'] = 'item', ['image'] = 'fabric.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Processed fabric'},
['shirts'] = {['name'] = 'shirts', ['label'] = 'Shirts', ['weight'] = 10, ['type'] = 'item', ['image'] = 'shirts.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Finished shirts'},
-- Scientist Items
['tubetest'] = {['name'] = 'tubetest', ['label'] = 'Test Tube', ['weight'] = 10, ['type'] = 'item', ['image'] = 'tubetest.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Scientific equipment'},
['sample'] = {['name'] = 'sample', ['label'] = 'Sample', ['weight'] = 10, ['type'] = 'item', ['image'] = 'sample.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Collected sample'},
['drug'] = {['name'] = 'drug', ['label'] = 'Pharmaceutical', ['weight'] = 10, ['type'] = 'item', ['image'] = 'drug.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Processed pharmaceutical'},
OX-Inventory
Add these items to your ox_inventory/data/items.lua:
-- Miner Items
['stones'] = {label = 'Stones', weight = 1, stack = true, consume = 0},
['cleanstones'] = {label = 'Clean Stones', weight = 1, stack = true, consume = 0},
['topaz'] = {label = 'Topaz', weight = 1, stack = true, consume = 0},
['pickaxe'] = {label = 'Pickaxe', weight = 1, stack = true, consume = 0},
-- Lumberjack Items
['wood'] = {label = 'Wood', weight = 1, stack = true, consume = 0},
['processedwood'] = {label = 'Processed Wood', weight = 1, stack = true, consume = 0},
['woodenplanks'] = {label = 'Wooden Planks', weight = 1, stack = true, consume = 0},
['axe'] = {label = 'Axe', weight = 1, stack = true, consume = 0},
-- Electrician Items
['oldcablereel'] = {label = 'Old Cable Reel', weight = 1, stack = true, consume = 0},
['cable'] = {label = 'Cable', weight = 1, stack = true, consume = 0},
['copperwire'] = {label = 'Copper Wire', weight = 1, stack = true, consume = 0},
['screwdriver'] = {label = 'Screwdriver', weight = 1, stack = true, consume = 0},
-- Oil Technician Items
['wrench'] = {label = 'Wrench', weight = 1, stack = true, consume = 0},
['crudeoil'] = {label = 'Crude Oil', weight = 1, stack = true, consume = 0},
['gasoline'] = {label = 'Gasoline', weight = 1, stack = true, consume = 0},
-- Fisherman Items
['fishingrod'] = {label = 'Fishing Rod', weight = 1, stack = true, consume = 0},
['fish'] = {label = 'Fish', weight = 1, stack = true, consume = 0},
['cleanedfish'] = {label = 'Cleaned Fish', weight = 1, stack = true, consume = 0},
-- Coffee Farmer Items
['gloves'] = {label = 'Gloves', weight = 1, stack = true, consume = 0},
['coffeebean'] = {label = 'Coffee Bean', weight = 1, stack = true, consume = 0},
['groundcoffee'] = {label = 'Ground Coffee', weight = 1, stack = true, consume = 0},
['coffeedrink'] = {label = 'Coffee Drink', weight = 1, stack = true, consume = 0},
-- Baker Items
['rollingpin'] = {label = 'Rolling Pin', weight = 1, stack = true, consume = 0},
['wheat'] = {label = 'Wheat', weight = 1, stack = true, consume = 0},
['flour'] = {label = 'Flour', weight = 1, stack = true, consume = 0},
['bread'] = {label = 'Bread', weight = 1, stack = true, consume = 0},
-- Tailor Items
['sewingneedle'] = {label = 'Sewing Needle', weight = 1, stack = true, consume = 0},
['cotton'] = {label = 'Cotton', weight = 1, stack = true, consume = 0},
['fabric'] = {label = 'Fabric', weight = 1, stack = true, consume = 0},
['shirts'] = {label = 'Shirts', weight = 1, stack = true, consume = 0},
-- Scientist Items
['tubetest'] = {label = 'Test Tube', weight = 1, stack = true, consume = 0},
['sample'] = {label = 'Sample', weight = 1, stack = true, consume = 0},
['drug'] = {label = 'Pharmaceutical', weight = 1, stack = true, consume = 0},
QS-Inventory
For QS-Inventory, use the same format as QB-Inventory.
Item Images
All item images are available at: https://items.bit-code.dev/