🔴QBCore Installation
1. Add this to your qb-core/shared/jobs.lua
['brewery'] = {
label = 'The Brewery Co',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'Brewer',
payment = 10
},
['1'] = {
name = 'Brewmaster',
payment = 10,
isboss = true
},
},
},
2. Add this to your qb-core/shared/items.lua
------ Brewery
['grain'] = {['name'] = 'grain', ['label'] = 'Grain', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'grain.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['yeast'] = {['name'] = 'yeast', ['label'] = 'Yeast', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'yeast.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['apple'] = {['name'] = 'apple', ['label'] = 'Apple', ['weight'] = 150, ['type'] = 'item', ['image'] = 'apple.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['honey'] = {['name'] = 'honey', ['label'] = 'Honey', ['weight'] = 150, ['type'] = 'item', ['image'] = 'honey.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['pear'] = {['name'] = 'pear', ['label'] = 'Pear', ['weight'] = 150, ['type'] = 'item', ['image'] = 'pear.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['banana'] = {['name'] = 'banana', ['label'] = 'Banana', ['weight'] = 150, ['type'] = 'item', ['image'] = 'banana.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['citrus'] = {['name'] = 'citrus', ['label'] = 'Citrus', ['weight'] = 150, ['type'] = 'item', ['image'] = 'citrus.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['empty_beer_bottle'] = {['name'] = 'empty_beer_bottle', ['label'] = 'Empty Beer Bottle', ['weight'] = 150, ['type'] = 'item', ['image'] = 'empty_beer_bottle.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Useful for making brews...'},
['neineken_beer'] = {['name'] = 'neineken_beer', ['label'] = 'Neineken Beer', ['weight'] = 150, ['type'] = 'item', ['image'] = 'neineken_beer.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Tasty beer made with love...'},
['apple_lager_beer'] = {['name'] = 'apple_lager_beer', ['label'] = 'Apple Lager Beer', ['weight'] = 150, ['type'] = 'item', ['image'] = 'apple_lager_beer.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Tasty beer made with love...'},
['fruity_porter_beer'] = {['name'] = 'fruity_porter_beer', ['label'] = 'Fruity Porter Beer', ['weight'] = 150, ['type'] = 'item', ['image'] = 'fruity_porter_beer.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Tasty beer made with love...'},
3. Insert the qb.sql
4. You're all good to go! Enjoy and have fun!!
Last updated