Install Instructions
Follow the steps below to install this resource to your server.
1
2
Add items
Open the [install]
folder and add the items
& their images
to your inventory
--[FOOD INGREDIENTS]--
["sugar"] = { ["name"] = "sugar", ["label"] = "Sugar", ["weight"] = 10, ["type"] = "item", ["image"] = "sugar.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["cocoapowder"] = { ["name"] = "cocoapowder", ["label"] = "Cocoa Powder", ["weight"] = 10, ["type"] = "item", ["image"] = "cocoapowder.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["milk"] = { ["name"] = "milk", ["label"] = "Milk", ["weight"] = 10, ["type"] = "item", ["image"] = "soda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["butter"] = { ["name"] = "butter", ["label"] = "Butter", ["weight"] = 10, ["type"] = "item", ["image"] = "butter.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["flour"] = { ["name"] = "flour", ["label"] = "Flour", ["weight"] = 10, ["type"] = "item", ["image"] = "flour.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["egg"] = { ["name"] = "egg", ["label"] = "Egg", ["weight"] = 10, ["type"] = "item", ["image"] = "eggs.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["bakingsoda"] = { ["name"] = "bakingsoda", ["label"] = "Baking Soda", ["weight"] = 10, ["type"] = "item", ["image"] = "bakingsoda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
--[FOOD]--
["donut"] = { ["name"] = "donut", ["label"] = "Donut", ["weight"] = 30, ["type"] = "item", ["image"] = "donut.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Donut" },
--[DRINKS]--
["brewedcoffee"] = { ["name"] = "brewedcoffee", ["label"] = "Brewed Coffee", ["weight"] = 10, ["type"] = "item", ["image"] = "brewedcoffee.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Brewed Coffee Drink" },
["hotchocolade"] = { ["name"] = "hotchocolade", ["label"] = "Hot Chocolate", ["weight"] = 30, ["type"] = "item", ["image"] = "hotchocolade.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Hot Chocolate Drink" },
["latte"] = { ["name"] = "latte", ["label"] = "Latte", ["weight"] = 30, ["type"] = "item", ["image"] = "latte.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Latte Drink" },
["matchatea"] = { ["name"] = "matchatea", ["label"] = "Matcha Tea", ["weight"] = 30, ["type"] = "item", ["image"] = "matchatea.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Matcha Tea Drink" },
["bubbletea"] = { ["name"] = "bubbletea", ["label"] = "Bubble Tea", ["weight"] = 30, ["type"] = "item", ["image"] = "bubbletea.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Bubble Tea Drink" },
3
Add jobs
Open the [install]
folder and add the jobs
to your core resource
-- [Install into: qb-core/shared/jobs.lua] --
rexdiner = {
label = 'Rex Diner',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Helper', payment = 30 },
['1'] = { name = 'Cook', payment = 45 },
['2'] = { name = 'Deliver', payment = 55 },
['3'] = { name = 'Manager', isboss = true, payment = 60 },
},
},
Upon completion, do not delete the [install]
folder or any .sql
files or you will experience errors.
Last updated