feat(qb-core): import 153 items din qs-inventory preload + fix duplicates

- Adaugat 153 iteme noi din qs-inventory preload in qb-core/shared/items.lua
- Categorii: haine, medicale, weapon tints, minerit, casino, trading cards, burger crafting, telefoane colorate
- Eliminat 19 iteme duplicate pre-existente (materiale: steel, copper, glass, plastic, rubber + cryptostick)
- Total final: 552 iteme unice, zero duplicate
- rv-maphold: HasItem foloseste QBCore.Functions.GetPlayerData() nativ
- qs-inventory mutat din [core] in [addons] (ensure dupa qb-core)
- Creat docs/qs-inventory-custom-modifications.md
This commit is contained in:
2026-04-01 23:10:15 +03:00
parent 1ee53356fc
commit b2060cfbb2
3 changed files with 2754 additions and 147 deletions

View File

@@ -579,21 +579,8 @@ QBShared.Items = {
['rare'] = 'epic',
['description'] = 'It is very fragile, watch out'
},
['cryptostick'] = {
['name'] = 'cryptostick',
['label'] = 'Crypto Stick',
['weight'] = 50,
['type'] = 'item',
['image'] = 'cryptostick.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'A suspicious USB...'
},
['phone_dongle'] = {
['name'] = 'phone_dongle',
['label'] = 'Phone Dongle',
@@ -840,7 +827,6 @@ bobby_pin = { name = 'bobby_pin', label = 'Bobby Pin', weight = 2500, type = 'it
['cocaine_cut'] = {['name'] = 'cocaine_cut', ['label'] = 'cocaine_cut', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cocaine_cut.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
['cocaine_packaged'] = {['name'] = 'cocaine_packaged', ['label'] = 'cocaine_packaged', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cocaine_packaged.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
['chemicals'] = {['name'] = 'chemicals', ['label'] = 'chemicals', ['weight'] = 10, ['type'] = 'item', ['image'] = 'chemicals.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
['meth'] = {['name'] = 'meth', ['label'] = 'meth', ['weight'] = 10, ['type'] = 'item', ['image'] = 'meth.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
['meth_packaged'] = {['name'] = 'meth_packaged', ['label'] = 'meth_packaged', ['weight'] = 0, ['type'] = 'item', ['image'] = 'meth_packaged.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
['sorted_money'] = {['name'] = 'sorted_money', ['label'] = 'sorted_money', ['weight'] = 0, ['type'] = 'item', ['image'] = 'sorted_money.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
['package_money'] = {['name'] = 'package_money', ['label'] = 'package_money', ['weight'] = 0, ['type'] = 'item', ['image'] = 'package_money.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'No have'},
@@ -852,13 +838,8 @@ bobby_pin = { name = 'bobby_pin', label = 'Bobby Pin', weight = 2500, type = 'it
-- Materials | T1GER Mechanic System
['scrap_metal'] = {['name'] = 'scrap_metal', ['label'] = 'Scrap Metal', ['weight'] = 1, ['type'] = 'item', ['image'] = 'scrap_metal.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Scrap Metal'},
['steel'] = {['name'] = 'steel', ['label'] = 'Steel', ['weight'] = 1, ['type'] = 'item', ['image'] = 'steel.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Steel'},
['aluminium'] = {['name'] = 'aluminium', ['label'] = 'Aluminium', ['weight'] = 1, ['type'] = 'item', ['image'] = 'aluminium.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Aluminium'},
['plastic'] = {['name'] = 'plastic', ['label'] = 'Plastic', ['weight'] = 1, ['type'] = 'item', ['image'] = 'plastic.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Plastic'},
['rubber'] = {['name'] = 'rubber', ['label'] = 'Rubber', ['weight'] = 1, ['type'] = 'item', ['image'] = 'rubber.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Rubber'},
['electric_scrap'] = {['name'] = 'electric_scrap', ['label'] = 'Electric Scrap', ['weight'] = 1, ['type'] = 'item', ['image'] = 'electric_scrap.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Electric Scrap'},
['glass'] = {['name'] = 'glass', ['label'] = 'Glass', ['weight'] = 1, ['type'] = 'item', ['image'] = 'glass.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Glass'},
['copper'] = {['name'] = 'copper', ['label'] = 'Copper', ['weight'] = 1, ['type'] = 'item', ['image'] = 'copper.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Copper'},
['carbon_fiber'] = {['name'] = 'carbon_fiber', ['label'] = 'Carbon Fiber', ['weight'] = 1, ['type'] = 'item', ['image'] = 'carbon_fiber.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Carbon Fiber'},
['brass'] = {['name'] = 'brass', ['label'] = 'Brass', ['weight'] = 1, ['type'] = 'item', ['image'] = 'brass.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Brass'},
['synthetic_oil'] = {['name'] = 'synthetic_oil', ['label'] = 'Synthetic Oil', ['weight'] = 1, ['type'] = 'item', ['image'] = 'synthetic_oil.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Synthetic Oil'},
@@ -924,18 +905,6 @@ bobby_pin = { name = 'bobby_pin', label = 'Bobby Pin', weight = 2500, type = 'it
['mod_drifttires'] = {['name'] = 'mod_drifttires', ['label'] = 'Drift Tires', ['weight'] = 1, ['type'] = 'item', ['image'] = 'mod_drifttires.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'T1GER Tuning - Drift Tires Mod'},
['mod_stocktires'] = {['name'] = 'mod_stocktires', ['label'] = 'Stock Tires', ['weight'] = 1, ['type'] = 'item', ['image'] = 'mod_stocktires.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'T1GER Tuning - Stock Tires Mod'},
-- Materials | T1GER Tuning System
['scrap_metal'] = {['name'] = 'scrap_metal', ['label'] = 'Scrap Metal', ['weight'] = 1, ['type'] = 'item', ['image'] = 'scrap_metal.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Scrap Metal'},
['steel'] = {['name'] = 'steel', ['label'] = 'Steel', ['weight'] = 1, ['type'] = 'item', ['image'] = 'steel.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Steel'},
['aluminium'] = {['name'] = 'aluminium', ['label'] = 'Aluminium', ['weight'] = 1, ['type'] = 'item', ['image'] = 'aluminium.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Aluminium'},
['plastic'] = {['name'] = 'plastic', ['label'] = 'Plastic', ['weight'] = 1, ['type'] = 'item', ['image'] = 'plastic.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Plastic'},
['rubber'] = {['name'] = 'rubber', ['label'] = 'Rubber', ['weight'] = 1, ['type'] = 'item', ['image'] = 'rubber.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Rubber'},
['electric_scrap'] = {['name'] = 'electric_scrap', ['label'] = 'Electric Scrap', ['weight'] = 1, ['type'] = 'item', ['image'] = 'electric_scrap.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Electric Scrap'},
['glass'] = {['name'] = 'glass', ['label'] = 'Glass', ['weight'] = 1, ['type'] = 'item', ['image'] = 'glass.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Glass'},
['copper'] = {['name'] = 'copper', ['label'] = 'Copper', ['weight'] = 1, ['type'] = 'item', ['image'] = 'copper.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Copper'},
['carbon_fiber'] = {['name'] = 'carbon_fiber', ['label'] = 'Carbon Fiber', ['weight'] = 1, ['type'] = 'item', ['image'] = 'carbon_fiber.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Carbon Fiber'},
['brass'] = {['name'] = 'brass', ['label'] = 'Brass', ['weight'] = 1, ['type'] = 'item', ['image'] = 'brass.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Brass'},
['synthetic_oil'] = {['name'] = 'synthetic_oil', ['label'] = 'Synthetic Oil', ['weight'] = 1, ['type'] = 'item', ['image'] = 'synthetic_oil.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Synthetic Oil'},
['acid'] = {['name'] = 'acid', ['label'] = 'Synthetic Acid', ['weight'] = 1, ['type'] = 'item', ['image'] = 'acid.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Material - Synthetic Acid'},
--fisherman
alabamasturgeon = { name = 'alabamasturgeon', label = 'Alabama Sturgeon', weight = 100, type = 'item', image = 'alabamasturgeon.png', unique = false, useable = false, shouldClose = false, description = 'Fish' },