🛠️Installation

❗️Installation without ox_inventory

qb-core/shared/items.lua

-- Drinks
["cocacola"]        = {["name"] = "cocacola",       ["label"] = "Coca-Cola",        ["weight"] = 25,        ["type"] = "item",      ["image"] = "cocacola.png",     ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["fanta"]           = {["name"] = "fanta",          ["label"] = "Fanta",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "fanta.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["pepsi"]           = {["name"] = "pepsi",          ["label"] = "Pepsi",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "pepsi.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["sprunk"]          = {["name"] = "sprunk",         ["label"] = "Sprunk",           ["weight"] = 25,        ["type"] = "item",      ["image"] = "sprunk.png",       ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["amarone"]         = {["name"] = "amarone",        ["label"] = "Amarone",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "amarone.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["beer"]            = {["name"] = "beer",           ["label"] = "Beer",             ["weight"] = 25,        ["type"] = "item",      ["image"] = "beer.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["housered"]        = {["name"] = "housered",       ["label"] = "House Red",        ["weight"] = 25,        ["type"] = "item",      ["image"] = "housered.png",     ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["housewhite"]      = {["name"] = "housewhite",     ["label"] = "House White",      ["weight"] = 25,        ["type"] = "item",      ["image"] = "housewhite.png",   ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["rosso"]           = {["name"] = "rosso",          ["label"] = "Rosso",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "rosso.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

-- Ingredients
["eggs"]            = {["name"] = "eggs",           ["label"] = "Eggs",             ["weight"] = 25,        ["type"] = "item",      ["image"] = "eggs.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["lettuce"]         = {["name"] = "lettuce",        ["label"] = "Lettuce",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "lettuce.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["mushrooms"]       = {["name"] = "mushrooms",      ["label"] = "Mushrooms",        ["weight"] = 25,        ["type"] = "item",      ["image"] = "mushrooms.png",    ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["onion"]           = {["name"] = "onion",          ["label"] = "Onion",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "onion.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["tomato"]          = {["name"] = "tomato",         ["label"] = "Tomato",           ["weight"] = 25,        ["type"] = "item",      ["image"] = "tomato.png",       ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["salad"]           = {["name"] = "salad",          ["label"] = "Salad",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "salad.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["ice"]             = {["name"] = "ice",            ["label"] = "Ice",              ["weight"] = 25,        ["type"] = "item",      ["image"] = "ice.png",          ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["lemon"]           = {["name"] = "lemon",          ["label"] = "Lemon",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "lemon.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["fries"]           = {["name"] = "fries",          ["label"] = "Fries",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "fries.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["basket_fries"]    = {["name"] = "basket_fries",   ["label"] = "Fries",            ["weight"] = 25,        ["type"] = "item",      ["image"] = "basket_fries.png", ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

-- Normal Fish
["catfish"]     = {["name"] = "catfish",    ["label"] = "Catfish",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "catfish.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["fish"]        = {["name"] = "fish",       ["label"] = "Fish",             ["weight"] = 25,        ["type"] = "item",      ["image"] = "fish.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["lobster"]     = {["name"] = "lobster",    ["label"] = "Lobster",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "lobster.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["salmon"]      = {["name"] = "salmon",     ["label"] = "Salmon",           ["weight"] = 25,        ["type"] = "item",      ["image"] = "salmon.png",       ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["sardine"]     = {["name"] = "sardine",    ["label"] = "Sardine",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "sardine.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["seabass"]     = {["name"] = "seabass",    ["label"] = "Seabass",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "seabass.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["tuna"]        = {["name"] = "tuna",       ["label"] = "Tuna",             ["weight"] = 25,        ["type"] = "item",      ["image"] = "tuna.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["clam"]        = {["name"] = "clam",       ["label"] = "Clam",             ["weight"] = 25,        ["type"] = "item",      ["image"] = "clam.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

-- Cooked Fish
["cooked_catfish"]      = {["name"] = "cooked_catfish",     ["label"] = "Cooked Catfish",       ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_catfish.png",   ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_clam"]         = {["name"] = "cooked_clam",        ["label"] = "Cooked Clam",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_clam.png",      ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_fish"]         = {["name"] = "cooked_fish",        ["label"] = "Cooked Fish",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_fish.png",      ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_lobster"]      = {["name"] = "cooked_lobster",     ["label"] = "Cooked Lobster",       ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_lobster.png",   ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_oyster"]       = {["name"] = "cooked_oyster",      ["label"] = "Cooked Oyster",        ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_oystero.png",   ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_salmon"]       = {["name"] = "cooked_salmon",      ["label"] = "Cooked Salmon",        ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_salmon.png",    ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_sardine"]      = {["name"] = "cooked_sardine",     ["label"] = "Cooked Sardine",       ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_sardine.png",   ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_seabass"]      = {["name"] = "cooked_seabass",     ["label"] = "Cooked Seabass",       ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_seabass.png",   ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["cooked_tuna"]         = {["name"] = "cooked_tuna",        ["label"] = "Cooked Tuna",          ["weight"] = 25,        ["type"] = "item",      ["image"] = "cooked_tuna.png",      ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

-- Fishingrod
["fishingrod"]      = {["name"] = "fishingrod",         ["label"] = "Fishingrod",           ["weight"] = 25,        ["type"] = "item",      ["image"] = "fishingrod.png",       ["unique"] = false,     ["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},

qb-core/shared/jobs.lua

['pearls'] = {
    label = 'Pearls Restaurant',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Recruit',
            payment = 50
        },
        ['1'] = {
            name = 'Employee',
            payment = 75
        },
        ['2'] = {
            name = 'Manager',
            payment = 100
        },
        ['3'] = {
            name = 'Chief',
            isboss = true,
            payment = 150
        },
    },
},

❗️Installation with ox_inventory

ox_inventory/data/shops.lua

PearlsShop = {
    name = 'Pearls Shop',
    groups = {
        ['pearls'] = 0
    },
    blip = {
        --id = 110, colour = 84, scale = 0.8
    }, inventory = {
        { name = 'eggs', price = 5, },
        { name = 'lettuce', price = 5, },
        { name = 'mushrooms', price = 200 },
        { name = 'salad', price = 100 },
        { name = 'onion', price = 500 },
        { name = 'tomato', price = 1000 },
        { name = 'lemon', price = 500 },
        { name = 'fries', price = 500 }
    }, locations = {
        vec3(-1843.84, -1198.06, 14.31)
    }, targets = {
        { loc = vec3(-1843.84, -1198.06, 14.31), length = 1.5, width = 3.0, heading = 270.0, minZ = 13.31, maxZ = 16.31, distance = 6 }
    }
},

PearlsWineShop = {
	name = 'Pearls Wine Shop',
	groups = {
		['pearls'] = 0
	},
	blip = {
		--id = 110, colour = 84, scale = 0.8
	}, inventory = {
		{ name = 'amarone', price = 15, },
		{ name = 'beer', price = 15, },
		{ name = 'housered', price = 15 },
		{ name = 'housewhite', price = 15 },
		{ name = 'rosso', price = 15 },
                { name = 'cocacola', price = 15 },
                { name = 'pepsi', price = 15 },
                { name = 'fanta', price = 15 },
                { name = 'sprunk', price = 15 },
	}, locations = {
		vec3(-1833.56, -1185.11, 14.31)
	}, targets = {
		{ loc = vec3(-1833.56, -1185.11, 14.31), length = 1.5, width = 3.0, heading = 270.0, minZ = 13.31, maxZ = 16.31, distance = 6 }
	}
},

ox_inventory/data/items.lua

["cocacola"] = { label = "Coca Cola", weight = 0, stack = false, close = false, description = "", client = { image = "cocacola.png", },},
["fanta"] = { label = "Fanta", weight = 0, stack = false, close = false, description = "", client = { image = "fanta.png", },},
["pepsi"] = { label = "Pepsi", weight = 0, stack = false, close = false, description = "", client = { image = "pepsi.png", },},
["sprunk"] = { label = "Sprunk", weight = 0, stack = false, close = false, description = "", client = { image = "sprunk.png", },},
["amarone"] = { label = "Amarone", weight = 0, stack = false, close = false, description = "", client = { image = "amarone.png", },},
["beer"] = { label = "Beer", weight = 0, stack = false, close = false, description = "", client = { image = "beer.png", },},
["housered"] = { label = "House Red", weight = 0, stack = false, close = false, description = "", client = { image = "housered.png", },},
["housewhite"] = { label = "House White", weight = 0, stack = false, close = false, description = "", client = { image = "housewhite.png", },},
["rosso"] = { label = "Rosso", weight = 0, stack = false, close = false, description = "", client = { image = "rosso.png", },},
["catfish"] = { label = "Catfish", weight = 0, stack = false, close = false, description = "", client = { image = "catfish.png", },},
["fish"] = { label = "Fish", weight = 0, stack = false, close = false, description = "", client = { image = "fish.png", },},
["lobster"] = { label = "lobster", weight = 0, stack = false, close = false, description = "", client = { image = "lobster.png", },},
["salmon"] = { label = "salmon", weight = 0, stack = false, close = false, description = "", client = { image = "salmon.png", },},
["sardine"] = { label = "sardine", weight = 0, stack = false, close = false, description = "", client = { image = "sardine.png", },},
["seabass"] = { label = "seabass", weight = 0, stack = false, close = false, description = "", client = { image = "seabass.png", },},
["tuna"] = { label = "tuna", weight = 0, stack = false, close = false, description = "", client = { image = "tuna.png", },},
["clam"] = { label = "clam", weight = 0, stack = false, close = false, description = "", client = { image = "clam.png", },},
["cooked_catfish"] = { label = "cooked_catfish", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_catfish.png", },},
["cooked_clam"] = { label = "cooked_clam", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_clam.png", },},
["cooked_fish"] = { label = "cooked_fish", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_fish.png", },},
["cooked_lobster"] = { label = "cooked_lobster", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_lobster.png", },},
["cooked_oyster"] = { label = "cooked_oyster", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_oyster.png", },},
["cooked_salmon"] = { label = "cooked_salmon", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_salmon.png", },},
["cooked_sardine"] = { label = "cooked_sardine", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_sardine.png", },},
["cooked_seabass"] = { label = "cooked_seabass", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_seabass.png", },},
["cooked_tuna"] = { label = "cooked_tuna", weight = 0, stack = false, close = false, description = "", client = { image = "cooked_tuna.png", }, },
["eggs"] = { label = "Eggs", weight = 25, stack = true, close = false, description = "", client = { image = "eggs.png", } },
["ice"] = { label = "Ice", weight = 25, stack = true, close = false, description = "", client = { image = "ice.png", } },
["lettuce"] = { label = "Lettuce", weight = 25, stack = true, close = false, description = "", client = { image = "lettuce.png", } },
["mushrooms"] = { label = "Mushrooms", weight = 25, stack = true, close = false, description = "", client = { image = "mushrooms.png", } },
["lemon"] = { label = "Lemon", weight = 25, stack = true, close = false, description = "", client = { image = "lemon.png", } },
["salad"] = { label = "Salad", weight = 25, stack = true, close = false, description = "", client = { image = "salad.png", } },
["tomato"] = { label = "Tomato", weight = 25, stack = true, close = false, description = "", client = { image = "tomato.png", } },
["onion"] = { label = "Onion", weight = 25, stack = true, close = false, description = "", client = { image = "onion.png", } },
["fishingrod"] = { label = "Fishingrod", weight = 25, stack = true, close = true, description = "", client = { image = "fishingrod.png", } },
["fries"] = { label = "fries", weight = 0, stack = false, close = false, description = "", client = { image = "fries.png", }, },
["basket_fries"] = { label = "basket_fries", weight = 0, stack = false, close = false, description = "", client = { image = "basket_fries.png", }, },

Last updated