🛠️Installation

Items Installation

-- 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"] = ""},

Job Installation

['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
        },
    },
},

S️hop Installation ox_inventory

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 }
	}
},

Last updated